AWS::ApiGateway::BasePathMappingThe AWS::ApiGateway::BasePathMapping resource creates a base path that clients who call your API must use in the invocation URL. Supported only for public custom domain names.
4 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DomainName | string | RequiredCreate-only |
BasePath | string | Create-only |
RestApiId | string | |
Stage | string |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGateway::BasePathMapping
Resources:
MyResource:
Type: AWS::ApiGateway::BasePathMapping
Properties:
DomainName: "my-domainname"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 InfographicDomainNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DomainNameBasePath