-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Description:
CloudFormation resource AWS::ApiGatewayV2::Api supports the DisableExecuteApiEndpoint property. But the AWS::Serverless::HttpApi resource does not.
This property is useful when using custom domain with the api. Especially when using the new MTLS feature.
Steps to reproduce the issue:
- Add
DisableExecuteApiEndpoint: true
to properties of a Type: AWS::Serverless::HttpApi resource in template.yaml - Run
sam validate
Observed result:
$sam validate
Template provided at '/path/to/template.yaml' was invalid SAM Template.
Error: [InvalidResourceException('HttpApi', 'property DisableExecuteApiEndpoint not defined for resource of type AWS::Serverless::HttpApi')] ('HttpApi', 'property DisableExecuteApiEndpoint not defined for resource of type AWS::Serverless::HttpApi')
Expected result:
AWS::Serverless::HttpApi resource supports the DisableExecuteApiEndpoint property, validation and deploy succeeds.