AWS::ApiGateway::BasePathMappingV2Resource Type definition for AWS::ApiGateway::BasePathMappingV2
4 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DomainNameArn | string | RequiredCreate-only |
RestApiId | string | Required |
BasePath | string | Create-only |
Stage | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
BasePathMappingArn | string | Amazon Resource Name (ARN) of the resource. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGateway::BasePathMappingV2
Resources:
MyResource:
Type: AWS::ApiGateway::BasePathMappingV2
Properties:
DomainNameArn: "arn:aws:service:region:account:resource"
RestApiId: "my-restapiid"Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:POSTapigateway:GETapigateway:GETapigateway:GETapigateway:DELETEapigateway:PATCHapigateway:DELETEapigateway:GETEverything you need to know about ApiGateway on one page. HD quality, print-friendly.
Download Free InfographicBasePathMappingArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DomainNameArnBasePath