Skip to content

Commit b9fd9f7

Browse files
Added support for UNKNOWN drift status.
1 parent 5a66a86 commit b9fd9f7

File tree

49 files changed

+1403
-288
lines changed

Some content is hidden

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

49 files changed

+1403
-288
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>
@@ -321,17 +321,18 @@ internal bool IsSetDescription()
321321
/// <summary>
322322
/// Gets and sets the property ImportExistingResources.
323323
/// <para>
324-
/// Indicates if the change set imports resources that already exist.
324+
/// Indicates if the change set auto-imports resources that already exist. For more information,
325+
/// see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/import-resources-automatically.html">Import
326+
/// Amazon Web Services resources into a CloudFormation stack automatically</a> in the
327+
/// <i>CloudFormation User Guide</i>.
325328
/// </para>
326329
/// <note>
327330
/// <para>
328331
/// This parameter can only import resources that have custom names in templates. For
329-
/// more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html">name
332+
/// more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html">name
330333
/// type</a> in the <i>CloudFormation User Guide</i>. To import resources that do not
331-
/// accept custom names, such as EC2 instances, use the resource import feature instead.
332-
/// For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html">Import
333-
/// Amazon Web Services resources into a CloudFormation stack with a resource import</a>
334-
/// in the <i>CloudFormation User Guide</i>.
334+
/// accept custom names, such as EC2 instances, use the <c>ResourcesToImport</c> parameter
335+
/// instead.
335336
/// </para>
336337
/// </note>
337338
/// </summary>
@@ -622,6 +623,7 @@ internal bool IsSetTemplateBody()
622623
/// (max size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document.
623624
/// CloudFormation generates the change set by comparing this template with the stack
624625
/// that you specified. The location for an Amazon S3 bucket must start with <c>https://</c>.
626+
/// URLs from S3 static websites are not supported.
625627
/// </para>
626628
///
627629
/// <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>
@@ -494,7 +494,7 @@ internal bool IsSetStackName()
494494
/// <summary>
495495
/// Gets and sets the property StackPolicyBody.
496496
/// <para>
497-
/// 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
497+
/// 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
498498
/// updates to stack resources</a> in the <i>CloudFormation User Guide</i>. You can specify
499499
/// either the <c>StackPolicyBody</c> or the <c>StackPolicyURL</c> parameter, but not
500500
/// both.
@@ -516,10 +516,15 @@ internal bool IsSetStackPolicyBody()
516516
/// <summary>
517517
/// Gets and sets the property StackPolicyURL.
518518
/// <para>
519-
/// Location of a file containing the stack policy. The URL must point to a policy (maximum
520-
/// size: 16 KB) located in an S3 bucket in the same Region as the stack. The location
521-
/// for an Amazon S3 bucket must start with <c>https://</c>. You can specify either the
522-
/// <c>StackPolicyBody</c> or the <c>StackPolicyURL</c> parameter, but not both.
519+
/// Location of a file that contains the stack policy. The URL must point to a policy
520+
/// (maximum size: 16 KB) located in an S3 bucket in the same Region as the stack. The
521+
/// location for an Amazon S3 bucket must start with <c>https://</c>. URLs from S3 static
522+
/// websites are not supported.
523+
/// </para>
524+
///
525+
/// <para>
526+
/// You can specify either the <c>StackPolicyBody</c> or the <c>StackPolicyURL</c> parameter,
527+
/// but not both.
523528
/// </para>
524529
/// </summary>
525530
[AWSProperty(Min=1, Max=5120)]
@@ -558,13 +563,13 @@ internal bool IsSetTags()
558563
/// <summary>
559564
/// Gets and sets the property TemplateBody.
560565
/// <para>
561-
/// Structure containing the template body with a minimum length of 1 byte and a maximum
566+
/// Structure that contains the template body with a minimum length of 1 byte and a maximum
562567
/// length of 51,200 bytes.
563568
/// </para>
564569
///
565570
/// <para>
566-
/// Conditional: You must specify either the <c>TemplateBody</c> or the <c>TemplateURL</c>
567-
/// parameter, but not both.
571+
/// Conditional: You must specify either <c>TemplateBody</c> or <c>TemplateURL</c>, but
572+
/// not both.
568573
/// </para>
569574
/// </summary>
570575
[AWSProperty(Min=1)]
@@ -583,9 +588,10 @@ internal bool IsSetTemplateBody()
583588
/// <summary>
584589
/// Gets and sets the property TemplateURL.
585590
/// <para>
586-
/// The URL of a file containing the template body. The URL must point to a template (max
587-
/// size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document. The
588-
/// location for an Amazon S3 bucket must start with <c>https://</c>.
591+
/// The URL of a file that contains the template body. The URL must point to a template
592+
/// (max size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document.
593+
/// The location for an Amazon S3 bucket must start with <c>https://</c>. URLs from S3
594+
/// static websites are not supported.
589595
/// </para>
590596
///
591597
/// <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>
@@ -499,8 +499,8 @@ internal bool IsSetTags()
499499
/// </para>
500500
///
501501
/// <para>
502-
/// Conditional: You must specify either the TemplateBody or the TemplateURL parameter,
503-
/// but not both.
502+
/// Conditional: You must specify either the <c>TemplateBody</c> or the <c>TemplateURL</c>
503+
/// parameter, but not both.
504504
/// </para>
505505
/// </summary>
506506
[AWSProperty(Min=1)]
@@ -521,12 +521,13 @@ internal bool IsSetTemplateBody()
521521
/// <para>
522522
/// The URL of a file that contains the template body. The URL must point to a template
523523
/// (maximum size: 1 MB) that's located in an Amazon S3 bucket or a Systems Manager document.
524-
/// The location for an Amazon S3 bucket must start with <c>https://</c>.
524+
/// The location for an Amazon S3 bucket must start with <c>https://</c>. S3 static website
525+
/// URLs are not supported.
525526
/// </para>
526527
///
527528
/// <para>
528-
/// Conditional: You must specify either the TemplateBody or the TemplateURL parameter,
529-
/// but not both.
529+
/// Conditional: You must specify either the <c>TemplateBody</c> or the <c>TemplateURL</c>
530+
/// parameter, but not both.
530531
/// </para>
531532
/// </summary>
532533
[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
@@ -197,7 +197,7 @@ internal bool IsSetExecutionStatus()
197197
/// </para>
198198
/// <note>
199199
/// <para>
200-
/// This parameter can only import resources that have <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html">custom
200+
/// This parameter can only import resources that have <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html">custom
201201
/// names</a> in templates. To import resources that do not accept custom names, such
202202
/// as EC2 instances, use the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html">resource
203203
/// 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)