Enum ParameterValueType
- All Implemented Interfaces:
Serializable
,Comparable<ParameterValueType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-10T01:10:16.719Z")
@Stability(Stable)
public enum ParameterValueType
extends Enum<ParameterValueType>
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:
StringParameter.valueForTypedStringParameterV2(this, "/My/Public/Parameter", ParameterValueType.AWS_EC2_IMAGE_ID);
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn Availability Zone, such as us-west-2a.An Amazon EC2 image ID, such as ami-0ff8a91507f77f867.An Amazon EC2 instance ID, such as i-1e731a32.An Amazon EC2 key pair name.An EC2-Classic or default VPC security group name, such as my-sg-abc.A security group ID, such as sg-a123fd85.A subnet ID, such as subnet-123a351e.An Amazon EBS volume ID, such as vol-3cdd3f56.A VPC ID, such as vpc-a123baa3.An Amazon Route 53 hosted zone ID, such as Z23YXV4OVPL04A.String. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterValueType
Returns the enum constant of this type with the specified name.static ParameterValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STRING
String. -
AWS_EC2_AVAILABILITYZONE_NAME
An Availability Zone, such as us-west-2a. -
AWS_EC2_IMAGE_ID
An Amazon EC2 image ID, such as ami-0ff8a91507f77f867. -
AWS_EC2_INSTANCE_ID
An Amazon EC2 instance ID, such as i-1e731a32. -
AWS_EC2_KEYPAIR_KEYNAME
An Amazon EC2 key pair name. -
AWS_EC2_SECURITYGROUP_GROUPNAME
An EC2-Classic or default VPC security group name, such as my-sg-abc. -
AWS_EC2_SECURITYGROUP_ID
A security group ID, such as sg-a123fd85. -
AWS_EC2_SUBNET_ID
A subnet ID, such as subnet-123a351e. -
AWS_EC2_VOLUME_ID
An Amazon EBS volume ID, such as vol-3cdd3f56. -
AWS_EC2_VPC_ID
A VPC ID, such as vpc-a123baa3. -
AWS_ROUTE53_HOSTEDZONE_ID
An Amazon Route 53 hosted zone ID, such as Z23YXV4OVPL04A.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-