Class CfnLaunchTemplatePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLaunchTemplatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin>
- Enclosing class:
CfnLaunchTemplatePropsMixin
@Stability(Stable)
public static final class CfnLaunchTemplatePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin>
A fluent builder for
CfnLaunchTemplatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) launchTemplateData(CfnLaunchTemplatePropsMixin.LaunchTemplateDataProperty launchTemplateData) The information for the launch template.launchTemplateData(IResolvable launchTemplateData) The information for the launch template.launchTemplateName(String launchTemplateName) A name for the launch template.tagSpecifications(List<? extends Object> tagSpecifications) The tags to apply to the launch template on creation.tagSpecifications(IResolvable tagSpecifications) The tags to apply to the launch template on creation.versionDescription(String versionDescription) A description for the first version of the launch template.
-
Method Details
-
create
@Stability(Stable) public static CfnLaunchTemplatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLaunchTemplatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLaunchTemplatePropsMixin.Builder.
-
launchTemplateData
@Stability(Stable) public CfnLaunchTemplatePropsMixin.Builder launchTemplateData(IResolvable launchTemplateData) The information for the launch template.- Parameters:
launchTemplateData- The information for the launch template. This parameter is required.- Returns:
this- See Also:
-
launchTemplateData
@Stability(Stable) public CfnLaunchTemplatePropsMixin.Builder launchTemplateData(CfnLaunchTemplatePropsMixin.LaunchTemplateDataProperty launchTemplateData) The information for the launch template.- Parameters:
launchTemplateData- The information for the launch template. This parameter is required.- Returns:
this- See Also:
-
launchTemplateName
@Stability(Stable) public CfnLaunchTemplatePropsMixin.Builder launchTemplateName(String launchTemplateName) A name for the launch template.- Parameters:
launchTemplateName- A name for the launch template. This parameter is required.- Returns:
this- See Also:
-
tagSpecifications
@Stability(Stable) public CfnLaunchTemplatePropsMixin.Builder tagSpecifications(IResolvable tagSpecifications) The tags to apply to the launch template on creation.To tag the launch template, the resource type must be
launch-template.To specify the tags for resources that are created during instance launch, use TagSpecifications .
- Parameters:
tagSpecifications- The tags to apply to the launch template on creation. This parameter is required.- Returns:
this- See Also:
-
tagSpecifications
@Stability(Stable) public CfnLaunchTemplatePropsMixin.Builder tagSpecifications(List<? extends Object> tagSpecifications) The tags to apply to the launch template on creation.To tag the launch template, the resource type must be
launch-template.To specify the tags for resources that are created during instance launch, use TagSpecifications .
- Parameters:
tagSpecifications- The tags to apply to the launch template on creation. This parameter is required.- Returns:
this- See Also:
-
versionDescription
@Stability(Stable) public CfnLaunchTemplatePropsMixin.Builder versionDescription(String versionDescription) A description for the first version of the launch template.- Parameters:
versionDescription- A description for the first version of the launch template. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin>- Returns:
- a newly built instance of
CfnLaunchTemplatePropsMixin.
-