Skip to content

Commit 6570b51

Browse files
author
AWS
committed
AWS CloudFormation Update: Adding support for the new parameter "IncludePropertyValues" in the CloudFormation DescribeChangeSet API. When this parameter is included, the DescribeChangeSet response will include more detailed information such as before and after values for the resource properties that will change.
1 parent 6760803 commit 6570b51

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS CloudFormation",
4+
"contributor": "",
5+
"description": "Adding support for the new parameter \"IncludePropertyValues\" in the CloudFormation DescribeChangeSet API. When this parameter is included, the DescribeChangeSet response will include more detailed information such as before and after values for the resource properties that will change."
6+
}

services/cloudformation/src/main/resources/codegen-resources/service-2.json

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,8 @@
14471447
}
14481448
}
14491449
},
1450+
"AfterContext":{"type":"string"},
1451+
"AfterValue":{"type":"string"},
14501452
"AllowedValue":{"type":"string"},
14511453
"AllowedValues":{
14521454
"type":"list",
@@ -1465,6 +1467,14 @@
14651467
"exception":true
14661468
},
14671469
"Arn":{"type":"string"},
1470+
"AttributeChangeType":{
1471+
"type":"string",
1472+
"enum":[
1473+
"Add",
1474+
"Remove",
1475+
"Modify"
1476+
]
1477+
},
14681478
"AutoDeployment":{
14691479
"type":"structure",
14701480
"members":{
@@ -1530,6 +1540,8 @@
15301540
}
15311541
}
15321542
},
1543+
"BeforeContext":{"type":"string"},
1544+
"BeforeValue":{"type":"string"},
15331545
"BoxedInteger":{
15341546
"type":"integer",
15351547
"box":true
@@ -1606,7 +1618,7 @@
16061618
"members":{
16071619
"Type":{
16081620
"shape":"ChangeType",
1609-
"documentation":"<p>The type of entity that CloudFormation changes. Currently, the only entity type is <code>Resource</code>.</p>"
1621+
"documentation":"<p>The type of entity that CloudFormation changes.</p> <ul> <li> <p> <code>Resource</code> This change is for a resource.</p> </li> </ul>"
16101622
},
16111623
"HookInvocationCount":{
16121624
"shape":"HookInvocationCount",
@@ -2572,6 +2584,10 @@
25722584
"NextToken":{
25732585
"shape":"NextToken",
25742586
"documentation":"<p>A string (provided by the <a>DescribeChangeSet</a> response output) that identifies the next page of information that you want to retrieve.</p>"
2587+
},
2588+
"IncludePropertyValues":{
2589+
"shape":"IncludePropertyValues",
2590+
"documentation":"<p>If <code>true</code>, the returned changes include detailed changes in the property values.</p>"
25752591
}
25762592
},
25772593
"documentation":"<p>The input for the <a>DescribeChangeSet</a> action.</p>"
@@ -3890,6 +3906,7 @@
38903906
"min":0
38913907
},
38923908
"IncludeNestedStacks":{"type":"boolean"},
3909+
"IncludePropertyValues":{"type":"boolean"},
38933910
"InsufficientCapabilitiesException":{
38943911
"type":"structure",
38953912
"members":{
@@ -5371,6 +5388,14 @@
53715388
"ModuleInfo":{
53725389
"shape":"ModuleInfo",
53735390
"documentation":"<p>Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.</p>"
5391+
},
5392+
"BeforeContext":{
5393+
"shape":"BeforeContext",
5394+
"documentation":"<p>An encoded JSON string containing the context of the resource before the change is executed.</p>"
5395+
},
5396+
"AfterContext":{
5397+
"shape":"AfterContext",
5398+
"documentation":"<p>An encoded JSON string containing the context of the resource after the change is executed.</p>"
53745399
}
53755400
},
53765401
"documentation":"<p>The <code>ResourceChange</code> structure describes the resource and the action that CloudFormation will perform on it if you execute this change set.</p>"
@@ -5515,6 +5540,7 @@
55155540
"min":1
55165541
},
55175542
"ResourceProperties":{"type":"string"},
5543+
"ResourcePropertyPath":{"type":"string"},
55185544
"ResourceScanId":{"type":"string"},
55195545
"ResourceScanInProgressException":{
55205546
"type":"structure",
@@ -5654,6 +5680,22 @@
56545680
"RequiresRecreation":{
56555681
"shape":"RequiresRecreation",
56565682
"documentation":"<p>If the <code>Attribute</code> value is <code>Properties</code>, indicates whether a change to this property causes the resource to be recreated. The value can be <code>Never</code>, <code>Always</code>, or <code>Conditionally</code>. To determine the conditions for a <code>Conditionally</code> recreation, see the update behavior for that <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html\">property</a> in the <i>CloudFormation User Guide</i>.</p>"
5683+
},
5684+
"Path":{
5685+
"shape":"ResourcePropertyPath",
5686+
"documentation":"<p>The property path of the property.</p>"
5687+
},
5688+
"BeforeValue":{
5689+
"shape":"BeforeValue",
5690+
"documentation":"<p>The value of the property before the change is executed. Large values can be truncated.</p>"
5691+
},
5692+
"AfterValue":{
5693+
"shape":"AfterValue",
5694+
"documentation":"<p>The value of the property after the change is executed. Large values can be truncated.</p>"
5695+
},
5696+
"AttributeChangeType":{
5697+
"shape":"AttributeChangeType",
5698+
"documentation":"<p>The type of change to be made to the property if the change is executed.</p> <ul> <li> <p> <code>Add</code> The item will be added.</p> </li> <li> <p> <code>Remove</code> The item will be removed.</p> </li> <li> <p> <code>Modify</code> The item will be modified.</p> </li> </ul>"
56575699
}
56585700
},
56595701
"documentation":"<p>The field that CloudFormation will change, such as the name of a resource's property, and whether the resource will be recreated.</p>"

0 commit comments

Comments
 (0)