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

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

profile picture
EXPERTE
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen