DomainAccessAssociation - Amazon Serverless Application Model
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

DomainAccessAssociation

在访问关联源和私有自定义域名之间配置域访问关联。唯一支持的访问关联源是 VPC 终端节点 ID。有关更多信息,请参阅 API Gateway APIs 中的私有自定义域名

语法

要在 Amazon Serverless Application Model (Amazon SAM) 模板中声明此实体,请使用以下语法。

YAML

VpcEndpointId: String

属性

VpcEndpointId

与 API Gateway VPC 服务关联的 VPC 接口终端节点的终端节点 ID。

类型:字符串

必需:是

Amazon CloudFormation 兼容性:此属性直接传递给AWS::ApiGateway::DomainNameAccessAssociation资源的 AccessAssociationSource属性。