Skip to content

AWS::Serverless::HttpApi does not support Name attribute #1617

@jkrebs

Description

@jkrebs

AWS::Serverless::HttpApi transforms into AWS::ApiGatewayV2::Api but it is not possible to specify the Name attribute for the resulting API resource.

InvalidResourceException('HelloWorldApi', 'property Name not defined for resource of type AWS::Serverless::HttpApi')]

SAM CLI, version 0.52.0

https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-httpapi.html

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions