Skip to main content

domain_name_access_associations

Creates, updates, deletes or gets a domain_name_access_association resource or lists domain_name_access_associations in a region

Overview

Namedomain_name_access_associations
TypeResource
DescriptionResource Type definition for AWS::ApiGateway::DomainNameAccessAssociation.
Idaws.apigateway.domain_name_access_associations

Fields

NameDatatypeDescription
domain_name_access_association_arnstringThe amazon resource name (ARN) of the domain name access association resource.
domain_name_arnstringThe amazon resource name (ARN) of the domain name resource.
access_association_sourcestringThe source of the domain name access association resource.
access_association_source_typestringThe source type of the domain name access association resource.
tagsarrayAn array of arbitrary tags (key-value pairs) to associate with the domainname access association.
regionstringAWS region.

For more information, see AWS::ApiGateway::DomainNameAccessAssociation.

Methods

NameAccessible byRequired Params
create_resourceINSERTDomainNameArn, AccessAssociationSource, AccessAssociationSourceType, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all domain_name_access_associations in a region.

SELECT
region,
domain_name_access_association_arn,
domain_name_arn,
access_association_source,
access_association_source_type,
tags
FROM aws.apigateway.domain_name_access_associations
WHERE region = 'us-east-1';

Gets all properties from an individual domain_name_access_association.

SELECT
region,
domain_name_access_association_arn,
domain_name_arn,
access_association_source,
access_association_source_type,
tags
FROM aws.apigateway.domain_name_access_associations
WHERE region = 'us-east-1' AND data__Identifier = '<DomainNameAccessAssociationArn>';

INSERT example

Use the following StackQL query and manifest file to create a new domain_name_access_association resource, using stack-deploy.

/*+ create */
INSERT INTO aws.apigateway.domain_name_access_associations (
DomainNameArn,
AccessAssociationSource,
AccessAssociationSourceType,
region
)
SELECT
'{{ DomainNameArn }}',
'{{ AccessAssociationSource }}',
'{{ AccessAssociationSourceType }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.apigateway.domain_name_access_associations
WHERE data__Identifier = '<DomainNameAccessAssociationArn>'
AND region = 'us-east-1';

Permissions

To operate on the domain_name_access_associations resource, the following permissions are required:

Create

apigateway:POST,
apigateway:GET

Read

apigateway:GET

Delete

apigateway:DELETE,
apigateway:GET

List

apigateway:GET