@Stability(value=Stable) public static final class CfnAutoScalingGroup.LaunchTemplateProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAutoScalingGroup.LaunchTemplateProperty>
CfnAutoScalingGroup.LaunchTemplateProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAutoScalingGroup.LaunchTemplateProperty |
build()
Builds the configured instance.
|
CfnAutoScalingGroup.LaunchTemplateProperty.Builder |
launchTemplateSpecification(CfnAutoScalingGroup.LaunchTemplateSpecificationProperty launchTemplateSpecification)
|
CfnAutoScalingGroup.LaunchTemplateProperty.Builder |
launchTemplateSpecification(IResolvable launchTemplateSpecification)
|
CfnAutoScalingGroup.LaunchTemplateProperty.Builder |
overrides(IResolvable overrides)
Sets the value of
CfnAutoScalingGroup.LaunchTemplateProperty.getOverrides() |
CfnAutoScalingGroup.LaunchTemplateProperty.Builder |
overrides(List<? extends Object> overrides)
Sets the value of
CfnAutoScalingGroup.LaunchTemplateProperty.getOverrides() |
@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateProperty.Builder launchTemplateSpecification(CfnAutoScalingGroup.LaunchTemplateSpecificationProperty launchTemplateSpecification)
launchTemplateSpecification - The launch template to use. This parameter is required.this@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateProperty.Builder launchTemplateSpecification(IResolvable launchTemplateSpecification)
launchTemplateSpecification - The launch template to use. This parameter is required.this@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateProperty.Builder overrides(IResolvable overrides)
CfnAutoScalingGroup.LaunchTemplateProperty.getOverrides()overrides - Any properties that you specify override the same properties in the launch template.
If not provided, Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified in the launch template when it launches an instance.
The overrides can include either one or more instance types or a set of instance requirements, but not both.
this@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateProperty.Builder overrides(List<? extends Object> overrides)
CfnAutoScalingGroup.LaunchTemplateProperty.getOverrides()overrides - Any properties that you specify override the same properties in the launch template.
If not provided, Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified in the launch template when it launches an instance.
The overrides can include either one or more instance types or a set of instance requirements, but not both.
this@Stability(value=Stable) public CfnAutoScalingGroup.LaunchTemplateProperty build()
build in interface software.amazon.jsii.Builder<CfnAutoScalingGroup.LaunchTemplateProperty>CfnAutoScalingGroup.LaunchTemplatePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.