@Stability(value=Stable) public static final class CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAutoScalingGroup.LaunchTemplateSpecificationProperty>
CfnAutoScalingGroup.LaunchTemplateSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAutoScalingGroup.LaunchTemplateSpecificationProperty |
build()
Builds the configured instance.
|
CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.Builder |
launchTemplateId(String launchTemplateId)
|
CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.Builder |
launchTemplateName(String launchTemplateName)
|
CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.Builder |
version(String version)
Sets the value of
CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.getVersion() |
@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.Builder version(String version)
CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.getVersion()version - The version number. This parameter is required.
CloudFormation does not support specifying $Latest, or $Default for the template version number. However, you can specify LatestVersionNumber or DefaultVersionNumber using the Fn::GetAtt function.
For an example of using the
Fn::GetAttfunction, see the Examples section of theAWS::AutoScaling::AutoScalingGroupreference.
this@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.Builder launchTemplateId(String launchTemplateId)
launchTemplateId - The ID of the [AWS::EC2::LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) . You must specify either a `LaunchTemplateName` or a `LaunchTemplateId` .this@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.Builder launchTemplateName(String launchTemplateName)
launchTemplateName - The name of the [AWS::EC2::LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) . You must specify either a `LaunchTemplateName` or a `LaunchTemplateId` .this@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnAutoScalingGroup.LaunchTemplateSpecificationProperty>CfnAutoScalingGroup.LaunchTemplateSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.