"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개 답변
0

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

profile picture
전문가
답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인