Skip to content
v2.275.0

ParameterValueType Enum ​

The type of CFN SSM Parameter.

Using specific types can be helpful in catching invalid values at the start of creating or updating a stack. CloudFormation validates the values against existing values in the account.

Example ​

ts
ssm.StringParameter.valueForTypedStringParameterV2(this, '/My/Public/Parameter', ssm.ParameterValueType.AWS_EC2_IMAGE_ID);

Members ​

MemberDescription
STRINGString.
AWS_EC2_AVAILABILITYZONE_NAMEAn Availability Zone, such as us-west-2a.
AWS_EC2_IMAGE_IDAn Amazon EC2 image ID, such as ami-0ff8a91507f77f867.
AWS_EC2_INSTANCE_IDAn Amazon EC2 instance ID, such as i-1e731a32.
AWS_EC2_KEYPAIR_KEYNAMEAn Amazon EC2 key pair name.
AWS_EC2_SECURITYGROUP_GROUPNAMEAn EC2-Classic or default VPC security group name, such as my-sg-abc.
AWS_EC2_SECURITYGROUP_IDA security group ID, such as sg-a123fd85.
AWS_EC2_SUBNET_IDA subnet ID, such as subnet-123a351e.
AWS_EC2_VOLUME_IDAn Amazon EBS volume ID, such as vol-3cdd3f56.
AWS_EC2_VPC_IDA VPC ID, such as vpc-a123baa3.
AWS_ROUTE53_HOSTEDZONE_IDAn Amazon Route 53 hosted zone ID, such as Z23YXV4OVPL04A.

Referenced by ​