AWS::ApiGateway::DomainNameAccessAssociationThe `AWS::ApiGateway::DomainNameAccessAssociation` resource creates a domain name access association between an access association source and a private custom domain name. Use a domain name access association to invoke a private custom domain name while isolated from the public internet. You can only create or delete a DomainNameAccessAssociation using CloudFormation. To reject a domain name access association, use the AWS CLI.
import { CfnDomainNameAccessAssociation } from 'aws-cdk-lib/aws-apigateway';Or use the module namespace:
import * as apigateway from 'aws-cdk-lib/aws-apigateway';
// apigateway.CfnDomainNameAccessAssociationConfiguration passed to the constructor as CfnDomainNameAccessAssociationProps.
accessAssociationSourceRequiredstringThe identifier of the domain name access association source. For a `VPCE` , the value is the VPC endpoint ID.
accessAssociationSourceTypeRequiredstringThe type of the domain name access association source. Only `VPCE` is currently supported.
domainNameArnRequiredstringThe ARN of the domain name.
tagsOptionalCfnTag[]The collection of tags. Each tag element is associated with a given resource.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon API Gateway on one page. HD quality, print-friendly.
Download Free Infographicaws-apigatewayAWS::ApiGateway::DomainNameAccessAssociation