DocumentationPart Property Cloudformation example

0

I am having hard time understanding how to pass Property in TypeAWS::ApiGateway::DocumentationPart.

Here is the sample CF template:-

  DocumentationPart:
    Type: AWS::ApiGateway::DocumentationPart
    Properties:
      Location:
        Type: "RESOURCE"
        Path: "/path"
      RestApiId: !Ref RestApiGateway
      Property: "{\"description\":\"Testing\"}"

The Property is wrong and errors out. Any idea how do i pass it in my CF template? AWS docs have no example showing how to pass it.

1 個回答
0
已接受的答案

Hi! Good question, this is slightly confusing. There's no "Property" under Properties for AWS::ApiGateway::DocumentationPart. Try it with "Properties": https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationpart.html

jsonc
已回答 2 年前
  • They should correct the documentation. @AWS guys, if you are reading this please correct the example mentioned in above linked doc!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南