"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 文档没有显示如何传递它的示例。

profile picture
专家
已提问 5 个月前16 查看次数
1 回答
0

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

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则