Skip to content

AWS::Serverless::HttpApi does not support DisableExecuteApiEndpoint #1750

@kmkale

Description

@kmkale

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:

  1. Add DisableExecuteApiEndpoint: true to properties of a Type: AWS::Serverless::HttpApi resource in template.yaml
  2. 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions