"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 Answer
0

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

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions