AWS AWSCloudFormation documentation change
Summary
Updated instance type examples from m1.large/m1.small to t3.large/t3.small, restructured documentation flow, and updated parameter type reference link
Security assessment
Changes involve updating deprecated instance types in examples and improving documentation structure. No evidence of addressing security vulnerabilities or weaknesses. Instance type updates reflect AWS service evolution rather than security fixes.
Diff
diff --git a/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-rules.md b/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-rules.md index 8e5c20519..09a472dec 100644 --- a//AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-rules.md +++ b//AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-rules.md @@ -13,2 +12,0 @@ Rules are useful when standard parameter constraints are insufficient. For examp -For more information about using rules in your template, see [CloudFormation template Rules syntax](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/rules-section-structure.html) in the _AWS CloudFormation User Guide_. - @@ -17 +15,3 @@ In the condition or assertions of a rule, you can use intrinsic functions, such -###### Functions +If you're new to using rules in your templates, we recommend you first review the [CloudFormation template Rules syntax](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/rules-section-structure.html) topic in the _AWS CloudFormation User Guide_. + +###### Topics @@ -64 +64 @@ A rule-specific intrinsic function that evaluates to `true` or `false`. -The following example evaluates to `true` if the referenced security group name is equal to `sg-mysggroup` and if the `InstanceType` parameter value is either `m1.large` or `m1.small`: +The following example evaluates to `true` if the referenced security group name is equal to `sg-mysggroup` and if the `InstanceType` parameter value is either `t3.large` or `t3.small`: @@ -77,2 +77,2 @@ The following example evaluates to `true` if the referenced security group name - "m1.large", - "m1.small" + "t3.large", + "t3.small" @@ -109 +109 @@ A string, such as `"A"`, that you want to compare against a list of strings. -The following function evaluates to `true` if the `InstanceType` parameter value is contained in the list (`m1.large` or `m1.small`): +The following function evaluates to `true` if the `InstanceType` parameter value is contained in the list (`t3.large` or `t3.small`): @@ -113 +113 @@ The following function evaluates to `true` if the `InstanceType` parameter value - ["m1.large", "m1.small"], {"Ref" : "InstanceType"} + ["t3.large", "t3.small"], {"Ref" : "InstanceType"} @@ -240 +240 @@ A rule-specific intrinsic function that evaluates to `true` or `false`. -The following example evaluates to `true` if the referenced security group name is equal to `sg-mysggroup` or if the `InstanceType` parameter value is either `m1.large` or `m1.small`: +The following example evaluates to `true` if the referenced security group name is equal to `sg-mysggroup` or if the `InstanceType` parameter value is either `t3.large` or `t3.small`: @@ -245 +245 @@ The following example evaluates to `true` if the referenced security group name - {"Fn::Contains" : [["m1.large", "m1.small"], {"Ref" : "InstanceType"}]} + {"Fn::Contains" : [["t3.large", "t3.small"], {"Ref" : "InstanceType"}]} @@ -323 +323 @@ _parameter_type_ -An AWS-specific parameter type, such as `AWS::EC2::SecurityGroup::Id` or `AWS::EC2::VPC::Id`. For more information, see [Parameters](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html) in the _AWS CloudFormation User Guide_. +An AWS-specific parameter type, such as `AWS::EC2::SecurityGroup::Id` or `AWS::EC2::VPC::Id`. For more information, see [Supported AWS-specific parameter types](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-supplied-parameter-types.html#aws-specific-parameter-types-supported) in the _AWS CloudFormation User Guide_.