aws-cloudformation / cloudformation-cli

The CloudFormation Provider Development Toolkit allows you to author your own resource providers and modules that can be used by CloudFormation.
Apache License 2.0
318 stars 163 forks source link

Inconsistency in aws doc and the actual return response for AWS::ApiGateway::RestApi #1095

Open pancaoms opened 1 month ago

pancaoms commented 1 month ago

Hi there,

We found there is one inconsistency between the official aws doc and the actual api response for AWS::ApiGateway::RestApi.

Per the doc, the type of policy is a json object(https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-body): image

But the actual return result is a string: image

I am wondering which one we should follow. Please take a look and have a right fix.

Thanks

pancaoms commented 1 month ago

It may happen to the body property as well. Please double check.