Skip to content

Commit c9b2052

Browse files
Added support for UNKNOWN drift status.
1 parent 07f488d commit c9b2052

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1171
-286
lines changed

generator/ServiceModels/cloudformation/cloudformation-2010-05-15.api.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4763,7 +4763,8 @@
47634763
"PropertyDifferences":{"shape":"PropertyDifferences"},
47644764
"StackResourceDriftStatus":{"shape":"StackResourceDriftStatus"},
47654765
"Timestamp":{"shape":"Timestamp"},
4766-
"ModuleInfo":{"shape":"ModuleInfo"}
4766+
"ModuleInfo":{"shape":"ModuleInfo"},
4767+
"DriftStatusReason":{"shape":"StackResourceDriftStatusReason"}
47674768
}
47684769
},
47694770
"StackResourceDriftInformation":{
@@ -4788,7 +4789,8 @@
47884789
"IN_SYNC",
47894790
"MODIFIED",
47904791
"DELETED",
4791-
"NOT_CHECKED"
4792+
"NOT_CHECKED",
4793+
"UNKNOWN"
47924794
]
47934795
},
47944796
"StackResourceDriftStatusFilters":{
@@ -4797,6 +4799,7 @@
47974799
"max":4,
47984800
"min":1
47994801
},
4802+
"StackResourceDriftStatusReason":{"type":"string"},
48004803
"StackResourceDrifts":{
48014804
"type":"list",
48024805
"member":{"shape":"StackResourceDrift"}

generator/ServiceModels/cloudformation/cloudformation-2010-05-15.docs.json

Lines changed: 73 additions & 67 deletions
Large diffs are not rendered by default.

generator/ServiceModels/cloudformation/cloudformation-2010-05-15.normal.json

Lines changed: 74 additions & 68 deletions
Large diffs are not rendered by default.

sdk/src/Services/CloudFormation/Generated/Model/CreateChangeSetRequest.cs

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -126,42 +126,42 @@ public partial class CreateChangeSetRequest : AmazonCloudFormationRequest
126126
/// </para>
127127
/// <ul> <li>
128128
/// <para>
129-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html">
129+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html">
130130
/// AWS::IAM::AccessKey</a>
131131
/// </para>
132132
/// </li> <li>
133133
/// <para>
134-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html">
134+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html">
135135
/// AWS::IAM::Group</a>
136136
/// </para>
137137
/// </li> <li>
138138
/// <para>
139-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>
139+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>
140140
///
141141
/// </para>
142142
/// </li> <li>
143143
/// <para>
144-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html">
144+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html">
145145
/// AWS::IAM::ManagedPolicy</a>
146146
/// </para>
147147
/// </li> <li>
148148
/// <para>
149-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html">
149+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html">
150150
/// AWS::IAM::Policy</a>
151151
/// </para>
152152
/// </li> <li>
153153
/// <para>
154-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html">
154+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html">
155155
/// AWS::IAM::Role</a>
156156
/// </para>
157157
/// </li> <li>
158158
/// <para>
159-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html">
159+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html">
160160
/// AWS::IAM::User</a>
161161
/// </para>
162162
/// </li> <li>
163163
/// <para>
164-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html">AWS::IAM::UserToGroupAddition</a>
164+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html">AWS::IAM::UserToGroupAddition</a>
165165
///
166166
/// </para>
167167
/// </li> </ul>
@@ -326,17 +326,18 @@ internal bool IsSetDescription()
326326
/// <summary>
327327
/// Gets and sets the property ImportExistingResources.
328328
/// <para>
329-
/// Indicates if the change set imports resources that already exist.
329+
/// Indicates if the change set auto-imports resources that already exist. For more information,
330+
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/import-resources-automatically.html">Import
331+
/// Amazon Web Services resources into a CloudFormation stack automatically</a> in the
332+
/// <i>CloudFormation User Guide</i>.
330333
/// </para>
331334
/// <note>
332335
/// <para>
333336
/// This parameter can only import resources that have custom names in templates. For
334-
/// more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html">name
337+
/// more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html">name
335338
/// type</a> in the <i>CloudFormation User Guide</i>. To import resources that do not
336-
/// accept custom names, such as EC2 instances, use the resource import feature instead.
337-
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html">Import
338-
/// Amazon Web Services resources into a CloudFormation stack with a resource import</a>
339-
/// in the <i>CloudFormation User Guide</i>.
339+
/// accept custom names, such as EC2 instances, use the <c>ResourcesToImport</c> parameter
340+
/// instead.
340341
/// </para>
341342
/// </note>
342343
/// </summary>
@@ -652,6 +653,7 @@ internal bool IsSetTemplateBody()
652653
/// (max size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document.
653654
/// CloudFormation generates the change set by comparing this template with the stack
654655
/// that you specified. The location for an Amazon S3 bucket must start with <c>https://</c>.
656+
/// URLs from S3 static websites are not supported.
655657
/// </para>
656658
///
657659
/// <para>

sdk/src/Services/CloudFormation/Generated/Model/CreateStackInstancesRequest.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,27 @@ namespace Amazon.CloudFormation.Model
3535
/// Services Regions. A stack instance refers to a stack in a specific account and Region.
3636
/// You must specify at least one value for either <c>Accounts</c> or <c>DeploymentTargets</c>,
3737
/// and you must specify at least one value for <c>Regions</c>.
38+
///
39+
/// <note>
40+
/// <para>
41+
/// The maximum number of organizational unit (OUs) supported by a <c>CreateStackInstances</c>
42+
/// operation is 50.
43+
/// </para>
44+
///
45+
/// <para>
46+
/// If you need more than 50, consider the following options:
47+
/// </para>
48+
/// <ul> <li>
49+
/// <para>
50+
/// <i>Batch processing:</i> If you don't want to expose your OU hierarchy, split up
51+
/// the operations into multiple calls with less than 50 OUs each.
52+
/// </para>
53+
/// </li> <li>
54+
/// <para>
55+
/// <i>Parent OU strategy:</i> If you don't mind exposing the OU hierarchy, target a
56+
/// parent OU that contains all desired child OUs.
57+
/// </para>
58+
/// </li> </ul> </note>
3859
/// </summary>
3960
public partial class CreateStackInstancesRequest : AmazonCloudFormationRequest
4061
{

sdk/src/Services/CloudFormation/Generated/Model/CreateStackRequest.cs

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -105,42 +105,42 @@ public partial class CreateStackRequest : AmazonCloudFormationRequest
105105
/// </para>
106106
/// <ul> <li>
107107
/// <para>
108-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html">AWS::IAM::AccessKey</a>
108+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html">AWS::IAM::AccessKey</a>
109109
///
110110
/// </para>
111111
/// </li> <li>
112112
/// <para>
113-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html">AWS::IAM::Group</a>
113+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html">AWS::IAM::Group</a>
114114
///
115115
/// </para>
116116
/// </li> <li>
117117
/// <para>
118-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>
118+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>
119119
///
120120
/// </para>
121121
/// </li> <li>
122122
/// <para>
123-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html">
123+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html">
124124
/// AWS::IAM::ManagedPolicy</a>
125125
/// </para>
126126
/// </li> <li>
127127
/// <para>
128-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html">AWS::IAM::Policy</a>
128+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html">AWS::IAM::Policy</a>
129129
///
130130
/// </para>
131131
/// </li> <li>
132132
/// <para>
133-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html">AWS::IAM::Role</a>
133+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html">AWS::IAM::Role</a>
134134
///
135135
/// </para>
136136
/// </li> <li>
137137
/// <para>
138-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html">AWS::IAM::User</a>
138+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html">AWS::IAM::User</a>
139139
///
140140
/// </para>
141141
/// </li> <li>
142142
/// <para>
143-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html">AWS::IAM::UserToGroupAddition</a>
143+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html">AWS::IAM::UserToGroupAddition</a>
144144
///
145145
/// </para>
146146
/// </li> </ul>
@@ -514,7 +514,7 @@ internal bool IsSetStackName()
514514
/// <summary>
515515
/// Gets and sets the property StackPolicyBody.
516516
/// <para>
517-
/// Structure containing the stack policy body. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html">Prevent
517+
/// Structure that contains the stack policy body. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html">Prevent
518518
/// updates to stack resources</a> in the <i>CloudFormation User Guide</i>. You can specify
519519
/// either the <c>StackPolicyBody</c> or the <c>StackPolicyURL</c> parameter, but not
520520
/// both.
@@ -536,10 +536,15 @@ internal bool IsSetStackPolicyBody()
536536
/// <summary>
537537
/// Gets and sets the property StackPolicyURL.
538538
/// <para>
539-
/// Location of a file containing the stack policy. The URL must point to a policy (maximum
540-
/// size: 16 KB) located in an S3 bucket in the same Region as the stack. The location
541-
/// for an Amazon S3 bucket must start with <c>https://</c>. You can specify either the
542-
/// <c>StackPolicyBody</c> or the <c>StackPolicyURL</c> parameter, but not both.
539+
/// Location of a file that contains the stack policy. The URL must point to a policy
540+
/// (maximum size: 16 KB) located in an S3 bucket in the same Region as the stack. The
541+
/// location for an Amazon S3 bucket must start with <c>https://</c>. URLs from S3 static
542+
/// websites are not supported.
543+
/// </para>
544+
///
545+
/// <para>
546+
/// You can specify either the <c>StackPolicyBody</c> or the <c>StackPolicyURL</c> parameter,
547+
/// but not both.
543548
/// </para>
544549
/// </summary>
545550
[AWSProperty(Min=1, Max=5120)]
@@ -583,13 +588,13 @@ internal bool IsSetTags()
583588
/// <summary>
584589
/// Gets and sets the property TemplateBody.
585590
/// <para>
586-
/// Structure containing the template body with a minimum length of 1 byte and a maximum
591+
/// Structure that contains the template body with a minimum length of 1 byte and a maximum
587592
/// length of 51,200 bytes.
588593
/// </para>
589594
///
590595
/// <para>
591-
/// Conditional: You must specify either the <c>TemplateBody</c> or the <c>TemplateURL</c>
592-
/// parameter, but not both.
596+
/// Conditional: You must specify either <c>TemplateBody</c> or <c>TemplateURL</c>, but
597+
/// not both.
593598
/// </para>
594599
/// </summary>
595600
[AWSProperty(Min=1)]
@@ -608,9 +613,10 @@ internal bool IsSetTemplateBody()
608613
/// <summary>
609614
/// Gets and sets the property TemplateURL.
610615
/// <para>
611-
/// The URL of a file containing the template body. The URL must point to a template (max
612-
/// size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document. The
613-
/// location for an Amazon S3 bucket must start with <c>https://</c>.
616+
/// The URL of a file that contains the template body. The URL must point to a template
617+
/// (max size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document.
618+
/// The location for an Amazon S3 bucket must start with <c>https://</c>. URLs from S3
619+
/// static websites are not supported.
614620
/// </para>
615621
///
616622
/// <para>

sdk/src/Services/CloudFormation/Generated/Model/CreateStackSetRequest.cs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -199,37 +199,37 @@ internal bool IsSetCallAs()
199199
/// </para>
200200
/// <ul> <li>
201201
/// <para>
202-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html">AWS::IAM::AccessKey</a>
202+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html">AWS::IAM::AccessKey</a>
203203
///
204204
/// </para>
205205
/// </li> <li>
206206
/// <para>
207-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html">AWS::IAM::Group</a>
207+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html">AWS::IAM::Group</a>
208208
///
209209
/// </para>
210210
/// </li> <li>
211211
/// <para>
212-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>
212+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html">AWS::IAM::InstanceProfile</a>
213213
///
214214
/// </para>
215215
/// </li> <li>
216216
/// <para>
217-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html">AWS::IAM::Policy</a>
217+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html">AWS::IAM::Policy</a>
218218
///
219219
/// </para>
220220
/// </li> <li>
221221
/// <para>
222-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html">AWS::IAM::Role</a>
222+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html">AWS::IAM::Role</a>
223223
///
224224
/// </para>
225225
/// </li> <li>
226226
/// <para>
227-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html">AWS::IAM::User</a>
227+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html">AWS::IAM::User</a>
228228
///
229229
/// </para>
230230
/// </li> <li>
231231
/// <para>
232-
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html">AWS::IAM::UserToGroupAddition</a>
232+
/// <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html">AWS::IAM::UserToGroupAddition</a>
233233
///
234234
/// </para>
235235
/// </li> </ul>
@@ -514,8 +514,8 @@ internal bool IsSetTags()
514514
/// </para>
515515
///
516516
/// <para>
517-
/// Conditional: You must specify either the TemplateBody or the TemplateURL parameter,
518-
/// but not both.
517+
/// Conditional: You must specify either the <c>TemplateBody</c> or the <c>TemplateURL</c>
518+
/// parameter, but not both.
519519
/// </para>
520520
/// </summary>
521521
[AWSProperty(Min=1)]
@@ -536,12 +536,13 @@ internal bool IsSetTemplateBody()
536536
/// <para>
537537
/// The URL of a file that contains the template body. The URL must point to a template
538538
/// (maximum size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document.
539-
/// The location for an Amazon S3 bucket must start with <c>https://</c>.
539+
/// The location for an Amazon S3 bucket must start with <c>https://</c>. S3 static website
540+
/// URLs are not supported.
540541
/// </para>
541542
///
542543
/// <para>
543-
/// Conditional: You must specify either the TemplateBody or the TemplateURL parameter,
544-
/// but not both.
544+
/// Conditional: You must specify either the <c>TemplateBody</c> or the <c>TemplateURL</c>
545+
/// parameter, but not both.
545546
/// </para>
546547
/// </summary>
547548
[AWSProperty(Min=1, Max=5120)]

sdk/src/Services/CloudFormation/Generated/Model/DeleteStackInstancesRequest.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,27 @@ namespace Amazon.CloudFormation.Model
3333
/// Container for the parameters to the DeleteStackInstances operation.
3434
/// Deletes stack instances for the specified accounts, in the specified Amazon Web Services
3535
/// Regions.
36+
///
37+
/// <note>
38+
/// <para>
39+
/// The maximum number of organizational unit (OUs) supported by a <c>DeleteStackInstances</c>
40+
/// operation is 50.
41+
/// </para>
42+
///
43+
/// <para>
44+
/// If you need more than 50, consider the following options:
45+
/// </para>
46+
/// <ul> <li>
47+
/// <para>
48+
/// <i>Batch processing:</i> If you don't want to expose your OU hierarchy, split up
49+
/// the operations into multiple calls with less than 50 OUs each.
50+
/// </para>
51+
/// </li> <li>
52+
/// <para>
53+
/// <i>Parent OU strategy:</i> If you don't mind exposing the OU hierarchy, target a
54+
/// parent OU that contains all desired child OUs.
55+
/// </para>
56+
/// </li> </ul> </note>
3657
/// </summary>
3758
public partial class DeleteStackInstancesRequest : AmazonCloudFormationRequest
3859
{

sdk/src/Services/CloudFormation/Generated/Model/DescribeChangeSetResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ internal bool IsSetExecutionStatus()
207207
/// </para>
208208
/// <note>
209209
/// <para>
210-
/// This parameter can only import resources that have <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html">custom
210+
/// This parameter can only import resources that have <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html">custom
211211
/// names</a> in templates. To import resources that do not accept custom names, such
212212
/// as EC2 instances, use the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html">resource
213213
/// import</a> feature instead.

sdk/src/Services/CloudFormation/Generated/Model/DescribeStackDriftDetectionStatusResponse.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ internal bool IsSetStackDriftDetectionId()
169169
/// </para>
170170
/// </li> <li>
171171
/// <para>
172-
/// <c>UNKNOWN</c>: This value is reserved for future use.
172+
/// <c>UNKNOWN</c>: CloudFormation could not run drift detection for a resource in the
173+
/// stack. See the <c>DetectionStatusReason</c> for details.
173174
/// </para>
174175
/// </li> </ul>
175176
/// </summary>

0 commit comments

Comments
 (0)