Class CfnLaunchConfigurationTemplatePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mgn.CfnLaunchConfigurationTemplatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchConfigurationTemplatePropsMixin>
- Enclosing class:
CfnLaunchConfigurationTemplatePropsMixin
@Stability(Stable)
public static final class CfnLaunchConfigurationTemplatePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchConfigurationTemplatePropsMixin>
A fluent builder for
CfnLaunchConfigurationTemplatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionassociatePublicIpAddress(Boolean associatePublicIpAddress) Whether to associate a public IP address with the launched instance.associatePublicIpAddress(IResolvable associatePublicIpAddress) Whether to associate a public IP address with the launched instance.Launch configuration template boot mode.build()copyPrivateIp(Boolean copyPrivateIp) Whether to copy the private IP of the source server.copyPrivateIp(IResolvable copyPrivateIp) Whether to copy the private IP of the source server.Whether to copy the tags of the source server.copyTags(IResolvable copyTags) Whether to copy the tags of the source server.create()create(CfnPropertyMixinOptions options) enableMapAutoTagging(Boolean enableMapAutoTagging) Whether to enable map auto tagging.enableMapAutoTagging(IResolvable enableMapAutoTagging) Whether to enable map auto tagging.enableParametersEncryption(Boolean enableParametersEncryption) Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions.enableParametersEncryption(IResolvable enableParametersEncryption) Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions.largeVolumeConf(CfnLaunchConfigurationTemplatePropsMixin.LaunchTemplateDiskConfProperty largeVolumeConf) Launch template disk configuration.largeVolumeConf(IResolvable largeVolumeConf) Launch template disk configuration.launchDisposition(String launchDisposition) Launch disposition.Configuration of a machine's license.licensing(IResolvable licensing) Configuration of a machine's license.mapAutoTaggingMpeId(String mapAutoTaggingMpeId) Launch configuration template map auto tagging MPE ID.parametersEncryptionKey(String parametersEncryptionKey) ARN of the KMS key used to encrypt the AWS Systems Manager parameters used by post launch actions.postLaunchActions(CfnLaunchConfigurationTemplatePropsMixin.PostLaunchActionsProperty postLaunchActions) Post launch actions to execute on the Test or Cutover instance.postLaunchActions(IResolvable postLaunchActions) Post launch actions to execute on the Test or Cutover instance.smallVolumeConf(CfnLaunchConfigurationTemplatePropsMixin.LaunchTemplateDiskConfProperty smallVolumeConf) Launch template disk configuration.smallVolumeConf(IResolvable smallVolumeConf) Launch template disk configuration.smallVolumeMaxSize(Number smallVolumeMaxSize) Small volume maximum size, in GiB.A set of tags to be associated with the Launch Configuration Template.targetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod) Target instance type right-sizing method.
-
Method Details
-
create
@Stability(Stable) public static CfnLaunchConfigurationTemplatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLaunchConfigurationTemplatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLaunchConfigurationTemplatePropsMixin.Builder.
-
associatePublicIpAddress
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder associatePublicIpAddress(Boolean associatePublicIpAddress) Whether to associate a public IP address with the launched instance.- Parameters:
associatePublicIpAddress- Whether to associate a public IP address with the launched instance. This parameter is required.- Returns:
this- See Also:
-
associatePublicIpAddress
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder associatePublicIpAddress(IResolvable associatePublicIpAddress) Whether to associate a public IP address with the launched instance.- Parameters:
associatePublicIpAddress- Whether to associate a public IP address with the launched instance. This parameter is required.- Returns:
this- See Also:
-
bootMode
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder bootMode(String bootMode) Launch configuration template boot mode.- Parameters:
bootMode- Launch configuration template boot mode. This parameter is required.- Returns:
this- See Also:
-
copyPrivateIp
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder copyPrivateIp(Boolean copyPrivateIp) Whether to copy the private IP of the source server.- Parameters:
copyPrivateIp- Whether to copy the private IP of the source server. This parameter is required.- Returns:
this- See Also:
-
copyPrivateIp
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder copyPrivateIp(IResolvable copyPrivateIp) Whether to copy the private IP of the source server.- Parameters:
copyPrivateIp- Whether to copy the private IP of the source server. This parameter is required.- Returns:
this- See Also:
-
copyTags
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder copyTags(Boolean copyTags) Whether to copy the tags of the source server.- Parameters:
copyTags- Whether to copy the tags of the source server. This parameter is required.- Returns:
this- See Also:
-
copyTags
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder copyTags(IResolvable copyTags) Whether to copy the tags of the source server.- Parameters:
copyTags- Whether to copy the tags of the source server. This parameter is required.- Returns:
this- See Also:
-
enableMapAutoTagging
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder enableMapAutoTagging(Boolean enableMapAutoTagging) Whether to enable map auto tagging.- Parameters:
enableMapAutoTagging- Whether to enable map auto tagging. This parameter is required.- Returns:
this- See Also:
-
enableMapAutoTagging
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder enableMapAutoTagging(IResolvable enableMapAutoTagging) Whether to enable map auto tagging.- Parameters:
enableMapAutoTagging- Whether to enable map auto tagging. This parameter is required.- Returns:
this- See Also:
-
enableParametersEncryption
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder enableParametersEncryption(Boolean enableParametersEncryption) Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions.- Parameters:
enableParametersEncryption- Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions. This parameter is required.- Returns:
this- See Also:
-
enableParametersEncryption
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder enableParametersEncryption(IResolvable enableParametersEncryption) Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions.- Parameters:
enableParametersEncryption- Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions. This parameter is required.- Returns:
this- See Also:
-
largeVolumeConf
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder largeVolumeConf(IResolvable largeVolumeConf) Launch template disk configuration.- Parameters:
largeVolumeConf- Launch template disk configuration. This parameter is required.- Returns:
this- See Also:
-
largeVolumeConf
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder largeVolumeConf(CfnLaunchConfigurationTemplatePropsMixin.LaunchTemplateDiskConfProperty largeVolumeConf) Launch template disk configuration.- Parameters:
largeVolumeConf- Launch template disk configuration. This parameter is required.- Returns:
this- See Also:
-
launchDisposition
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder launchDisposition(String launchDisposition) Launch disposition.- Parameters:
launchDisposition- Launch disposition. This parameter is required.- Returns:
this- See Also:
-
licensing
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder licensing(IResolvable licensing) Configuration of a machine's license.- Parameters:
licensing- Configuration of a machine's license. This parameter is required.- Returns:
this- See Also:
-
licensing
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder licensing(CfnLaunchConfigurationTemplatePropsMixin.LicensingProperty licensing) Configuration of a machine's license.- Parameters:
licensing- Configuration of a machine's license. This parameter is required.- Returns:
this- See Also:
-
mapAutoTaggingMpeId
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder mapAutoTaggingMpeId(String mapAutoTaggingMpeId) Launch configuration template map auto tagging MPE ID.- Parameters:
mapAutoTaggingMpeId- Launch configuration template map auto tagging MPE ID. This parameter is required.- Returns:
this- See Also:
-
parametersEncryptionKey
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder parametersEncryptionKey(String parametersEncryptionKey) ARN of the KMS key used to encrypt the AWS Systems Manager parameters used by post launch actions.- Parameters:
parametersEncryptionKey- ARN of the KMS key used to encrypt the AWS Systems Manager parameters used by post launch actions. This parameter is required.- Returns:
this- See Also:
-
postLaunchActions
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder postLaunchActions(IResolvable postLaunchActions) Post launch actions to execute on the Test or Cutover instance.- Parameters:
postLaunchActions- Post launch actions to execute on the Test or Cutover instance. This parameter is required.- Returns:
this- See Also:
-
postLaunchActions
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder postLaunchActions(CfnLaunchConfigurationTemplatePropsMixin.PostLaunchActionsProperty postLaunchActions) Post launch actions to execute on the Test or Cutover instance.- Parameters:
postLaunchActions- Post launch actions to execute on the Test or Cutover instance. This parameter is required.- Returns:
this- See Also:
-
smallVolumeConf
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder smallVolumeConf(IResolvable smallVolumeConf) Launch template disk configuration.- Parameters:
smallVolumeConf- Launch template disk configuration. This parameter is required.- Returns:
this- See Also:
-
smallVolumeConf
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder smallVolumeConf(CfnLaunchConfigurationTemplatePropsMixin.LaunchTemplateDiskConfProperty smallVolumeConf) Launch template disk configuration.- Parameters:
smallVolumeConf- Launch template disk configuration. This parameter is required.- Returns:
this- See Also:
-
smallVolumeMaxSize
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder smallVolumeMaxSize(Number smallVolumeMaxSize) Small volume maximum size, in GiB.- Parameters:
smallVolumeMaxSize- Small volume maximum size, in GiB. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder tags(List<? extends CfnTag> tags) A set of tags to be associated with the Launch Configuration Template.- Parameters:
tags- A set of tags to be associated with the Launch Configuration Template. This parameter is required.- Returns:
this- See Also:
-
targetInstanceTypeRightSizingMethod
@Stability(Stable) public CfnLaunchConfigurationTemplatePropsMixin.Builder targetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod) Target instance type right-sizing method.- Parameters:
targetInstanceTypeRightSizingMethod- Target instance type right-sizing method. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchConfigurationTemplatePropsMixin>- Returns:
- a newly built instance of
CfnLaunchConfigurationTemplatePropsMixin.
-