"DocumentationPart" 属性 CloudFormation 示例

0

【以下的问题经过翻译处理】 我很难理解如何在TypeAWS::ApiGateway::DocumentationPart中传递Property

以下是示例CF模板:

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

属性设置错误并出错。你知道如何在我的 CF 模板中传递它吗?AWS 文档没有显示如何传递它的示例。

1 Resposta
0

【以下的回答经过翻译处理】 好问题,这有点令人困惑。AWS::ApiGateway::DocumentationPart没有“属性”选项。尝试使用 "Properties":https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationpart.html

profile picture
ESPECIALISTA
respondido há 6 meses

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