AWS AWSCloudFormation documentation change
Summary
Fixed JSON syntax in a template example by adding missing quotation marks around string values for Description, Type, and Default parameters.
Security assessment
This is a documentation syntax correction. The change ensures the example is valid JSON but does not address any security issue or add security documentation. There is no mention of security vulnerabilities, weaknesses, or incidents in the diff.
Diff
diff --git a/AWSCloudFormation/latest/UserGuide/cloudformation-supplied-parameter-types.md b/AWSCloudFormation/latest/UserGuide/cloudformation-supplied-parameter-types.md index aec40e9a2..2229bf143 100644 --- a//AWSCloudFormation/latest/UserGuide/cloudformation-supplied-parameter-types.md +++ b//AWSCloudFormation/latest/UserGuide/cloudformation-supplied-parameter-types.md @@ -74,2 +74,2 @@ To create a stack from this template, you must specify an existing VPC ID, subne - "Description": ID of an existing Virtual Private Cloud (VPC)., - "Type": AWS::EC2::VPC::Id + "Description": "ID of an existing Virtual Private Cloud (VPC).", + "Type": "AWS::EC2::VPC::Id" @@ -78,2 +78,2 @@ To create a stack from this template, you must specify an existing VPC ID, subne - "Description": ID of an existing public subnet within the specified VPC., - "Type": AWS::EC2::Subnet::Id + "Description": "ID of an existing public subnet within the specified VPC.", + "Type": "AWS::EC2::Subnet::Id" @@ -82,2 +82,2 @@ To create a stack from this template, you must specify an existing VPC ID, subne - "Description": Name of an existing EC2 key pair to enable SSH access to the instance., - "Type": AWS::EC2::KeyPair::KeyName + "Description": "Name of an existing EC2 key pair to enable SSH access to the instance.", + "Type": "AWS::EC2::KeyPair::KeyName" @@ -86,3 +86,3 @@ To create a stack from this template, you must specify an existing VPC ID, subne - "Description": Name of a Parameter Store parameter that stores the ID of the Amazon Machine Image (AMI)., - "Type": AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>, - "Default": /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2 + "Description": "Name of a Parameter Store parameter that stores the ID of the Amazon Machine Image (AMI).", + "Type": "AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>", + "Default": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2"