Skip to content

Commit

Permalink
CreationPolicy and UpdatePolicy (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatMyron authored Oct 23, 2020
1 parent 4b54e52 commit 48533fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/aws/cfn/codegen/json/Codegen.java
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ private void handleType(ObjectNode typeDefn,
policyArray.add("Delete").add("Retain").add("Snapshot");
}

for (String attributeName: new String[]{"Metadata"}) {
for (String attributeName: new String[]{"Metadata", "CreationPolicy", "UpdatePolicy"}) {
ObjectNode attribute = resProps.putObject(attributeName);
attribute.put("description", "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-" + attributeName.toLowerCase() + ".html");
attribute.put("type", "object");
Expand Down

0 comments on commit 48533fb

Please sign in to comment.