EndpointConfiguration
REST API 的端点类型。
语法
要在您的 AWS Serverless Application Model (AWS SAM) 模板中声明此实体,请使用以下语法。
YAML
Type:StringVPCEndpointIds:List
属性
-
Type -
REST API 的端点类型。
有效值:
EDGE或REGIONAL或PRIVATE类型:字符串
必需:否
CloudFormation 兼容性:此属性直接传递给
AWS::ApiGateway::RestApiEndpointConfiguration数据类型的Types属性。 -
VPCEndpointIds -
要创建 Route53 别名的 REST API 的 VPC 端点 ID 列表。
类型:列表
必需:否
CloudFormation 兼容性:此属性直接传递给
AWS::ApiGateway::RestApiEndpointConfiguration数据类型的VpcEndpointIds属性。
示例
EndpointConfiguration
端点配置示例
YAML
EndpointConfiguration: Type: PRIVATE VPCEndpointIds: - vpce-123a123a - vpce-321a321a