aws-cloudformation / cloudformation-template-schema

Inline syntax validation, documentation links and autocompletion for your CloudFormation templates.
Apache License 2.0
141 stars 24 forks source link

CreationPolicy and UpdatePolicy #52

Closed PatMyron closed 3 years ago

PatMyron commented 3 years ago

https://github.com/aws-cloudformation/aws-cloudformation-template-schema/issues/31 CreationPolicy UpdatePolicy


JSON schema snippet generated for each resource type:

      "CreationPolicy" : {
        "description" : "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-creationpolicy.html",
        "type" : "object"
      },
      "UpdatePolicy" : {
        "description" : "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html",
        "type" : "object"
      },

Screen Shot 2020-10-23 at 1 41 47 PM

Screen Shot 2020-10-23 at 1 43 40 PM

Screen Shot 2020-10-23 at 1 43 22 PM


only specific configurations supported for a few resource types

cfn-lint already contains UpdatePolicy validation, so not going to replicate that here