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 Resposta
0
Resposta aceita

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
respondido há 2 anos
  • They should correct the documentation. @AWS guys, if you are reading this please correct the example mentioned in above linked doc!

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas