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 Respuesta
0
Respuesta aceptada

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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas