@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 of the launch template. This parameter is required.
Specifying $Latest or $Default for the template version number is not supported. However, you can specify LatestVersionNumber or DefaultVersionNumber using the Fn::GetAtt intrinsic function. For more information, see Fn::GetAtt .
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 launch template.
You must specify the LaunchTemplateID or the LaunchTemplateName , but not both.this@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.Builder launchTemplateName(String launchTemplateName)
launchTemplateName - The name of the launch template.
You must specify the LaunchTemplateName or the LaunchTemplateID , but not both.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.