This template creates a resource in an API. It creates a `stack` resource for the `MyApi` API. The `RestApiId` property is set to the `RestApi` reference. The `ParentId` property is set to the `RootResourceId` of the `RestApi` resource. The `PathPart` property is set to `stack`.

Stack
AWS::ApiGateway::Resource


RestApi
AWS::ApiGateway::RestApi


CloudFormation Template

Share Template