Class CfnLaunchConfigurationTemplate
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.drs.CfnLaunchConfigurationTemplate
- All Implemented Interfaces:
IInspectable,ILaunchConfigurationTemplateRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:49.581Z")
@Stability(Stable)
public class CfnLaunchConfigurationTemplate
extends CfnResource
implements IInspectable, ILaunchConfigurationTemplateRef, ITaggableV2
Account level Launch Configuration Template for AWS Elastic Disaster Recovery.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.drs.*;
CfnLaunchConfigurationTemplate cfnLaunchConfigurationTemplate = CfnLaunchConfigurationTemplate.Builder.create(this, "MyCfnLaunchConfigurationTemplate")
.copyPrivateIp(false)
.copyTags(false)
.exportBucketArn("exportBucketArn")
.launchDisposition("launchDisposition")
.launchIntoSourceInstance(false)
.licensing(LicensingProperty.builder()
.osByol(false)
.build())
.postLaunchEnabled(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetInstanceTypeRightSizingMethod("targetInstanceTypeRightSizingMethod")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnLaunchConfigurationTemplate.static interfaceConfiguration of a machine's license.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.drs.ILaunchConfigurationTemplateRef
ILaunchConfigurationTemplateRef.Jsii$Default, ILaunchConfigurationTemplateRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnLaunchConfigurationTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLaunchConfigurationTemplate(software.amazon.jsii.JsiiObjectRef objRef) CfnLaunchConfigurationTemplate(software.constructs.Construct scope, String id) Create a newAWS::DRS::LaunchConfigurationTemplate.CfnLaunchConfigurationTemplate(software.constructs.Construct scope, String id, CfnLaunchConfigurationTemplateProps props) Create a newAWS::DRS::LaunchConfigurationTemplate. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringARN of the Launch Configuration Template.ID of the Launch Configuration Template.Tag Manager which manages the tags for this resource.Copy private IP.Copy tags.S3 bucket ARN to export Source Network templates.A reference to a LaunchConfigurationTemplate resource.Launch disposition.DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.Configuration of a machine's license.Whether we want to activate post-launch actions.getTags()A set of tags associated with the Launch Configuration Template.Target instance type right-sizing method.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnLaunchConfigurationTemplate.renderProperties(Map<String, Object> props) voidsetCopyPrivateIp(Boolean value) Copy private IP.voidsetCopyPrivateIp(IResolvable value) Copy private IP.voidsetCopyTags(Boolean value) Copy tags.voidsetCopyTags(IResolvable value) Copy tags.voidsetExportBucketArn(String value) S3 bucket ARN to export Source Network templates.voidsetLaunchDisposition(String value) Launch disposition.voidDRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.voidDRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.voidsetLicensing(IResolvable value) Configuration of a machine's license.voidConfiguration of a machine's license.voidsetPostLaunchEnabled(Boolean value) Whether we want to activate post-launch actions.voidsetPostLaunchEnabled(IResolvable value) Whether we want to activate post-launch actions.voidA set of tags associated with the Launch Configuration Template.voidTarget instance type right-sizing method.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnLaunchConfigurationTemplate
protected CfnLaunchConfigurationTemplate(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLaunchConfigurationTemplate
protected CfnLaunchConfigurationTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLaunchConfigurationTemplate
@Stability(Stable) public CfnLaunchConfigurationTemplate(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnLaunchConfigurationTemplateProps props) Create a newAWS::DRS::LaunchConfigurationTemplate.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnLaunchConfigurationTemplate
@Stability(Stable) public CfnLaunchConfigurationTemplate(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::DRS::LaunchConfigurationTemplate.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
arnForLaunchConfigurationTemplate
@Stability(Stable) @NotNull public static String arnForLaunchConfigurationTemplate(@NotNull ILaunchConfigurationTemplateRef resource) - Parameters:
resource- This parameter is required.
-
isCfnLaunchConfigurationTemplate
@Stability(Stable) @NotNull public static Boolean isCfnLaunchConfigurationTemplate(@NotNull Object x) Checks whether the given object is a CfnLaunchConfigurationTemplate.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
ARN of the Launch Configuration Template. -
getAttrLaunchConfigurationTemplateId
ID of the Launch Configuration Template. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getLaunchConfigurationTemplateRef
@Stability(Stable) @NotNull public LaunchConfigurationTemplateReference getLaunchConfigurationTemplateRef()A reference to a LaunchConfigurationTemplate resource.- Specified by:
getLaunchConfigurationTemplateRefin interfaceILaunchConfigurationTemplateRef
-
getCopyPrivateIp
Copy private IP.Returns union: either
BooleanorIResolvable -
setCopyPrivateIp
Copy private IP. -
setCopyPrivateIp
Copy private IP. -
getCopyTags
Copy tags.Returns union: either
BooleanorIResolvable -
setCopyTags
Copy tags. -
setCopyTags
Copy tags. -
getExportBucketArn
S3 bucket ARN to export Source Network templates. -
setExportBucketArn
S3 bucket ARN to export Source Network templates. -
getLaunchDisposition
Launch disposition. -
setLaunchDisposition
Launch disposition. -
getLaunchIntoSourceInstance
DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.Returns union: either
BooleanorIResolvable -
setLaunchIntoSourceInstance
DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance. -
setLaunchIntoSourceInstance
DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance. -
getLicensing
Configuration of a machine's license.Returns union: either
IResolvableorCfnLaunchConfigurationTemplate.LicensingProperty -
setLicensing
Configuration of a machine's license. -
setLicensing
@Stability(Stable) public void setLicensing(@Nullable CfnLaunchConfigurationTemplate.LicensingProperty value) Configuration of a machine's license. -
getPostLaunchEnabled
Whether we want to activate post-launch actions.Returns union: either
BooleanorIResolvable -
setPostLaunchEnabled
Whether we want to activate post-launch actions. -
setPostLaunchEnabled
Whether we want to activate post-launch actions. -
getTags
A set of tags associated with the Launch Configuration Template. -
setTags
A set of tags associated with the Launch Configuration Template. -
getTargetInstanceTypeRightSizingMethod
Target instance type right-sizing method. -
setTargetInstanceTypeRightSizingMethod
Target instance type right-sizing method.
-