Class CfnReplicationConfigurationTemplate
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.CfnReplicationConfigurationTemplate
- All Implemented Interfaces:
IInspectable,IReplicationConfigurationTemplateRef,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.584Z")
@Stability(Stable)
public class CfnReplicationConfigurationTemplate
extends CfnResource
implements IInspectable, IReplicationConfigurationTemplateRef, ITaggableV2
A replication configuration template for AWS Elastic Disaster Recovery Service.
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.*;
CfnReplicationConfigurationTemplate cfnReplicationConfigurationTemplate = CfnReplicationConfigurationTemplate.Builder.create(this, "MyCfnReplicationConfigurationTemplate")
.bandwidthThrottling(123)
.ebsEncryption("ebsEncryption")
.pitPolicy(List.of(PITPolicyRuleProperty.builder()
.interval(123)
.retentionDuration(123)
.units("units")
// the properties below are optional
.enabled(false)
.ruleId(123)
.build()))
.replicationServersSecurityGroupsIDs(List.of("replicationServersSecurityGroupsIDs"))
.stagingAreaSubnetId("stagingAreaSubnetId")
.stagingAreaTags(Map.of(
"stagingAreaTagsKey", "stagingAreaTags"))
// the properties below are optional
.associateDefaultSecurityGroup(false)
.autoReplicateNewDisks(false)
.createPublicIp(false)
.dataPlaneRouting("dataPlaneRouting")
.defaultLargeStagingDiskType("defaultLargeStagingDiskType")
.ebsEncryptionKeyArn("ebsEncryptionKeyArn")
.internetProtocol("internetProtocol")
.replicationServerInstanceType("replicationServerInstanceType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.useDedicatedReplicationServer(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnReplicationConfigurationTemplate.static interfaceExample: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.IReplicationConfigurationTemplateRef
IReplicationConfigurationTemplateRef.Jsii$Default, IReplicationConfigurationTemplateRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnReplicationConfigurationTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnReplicationConfigurationTemplate(software.amazon.jsii.JsiiObjectRef objRef) CfnReplicationConfigurationTemplate(software.constructs.Construct scope, String id, CfnReplicationConfigurationTemplateProps props) Create a newAWS::DRS::ReplicationConfigurationTemplate. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringWhether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.The Replication Configuration Template ARN.The Replication Configuration Template ID.Whether to allow the AWS replication agent to automatically replicate newly added disks.Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.Tag Manager which manages the tags for this resource.Whether to create a Public IP for the Recovery Instance by default.The data plane routing mechanism that will be used for replication.The Staging Disk EBS volume type to be used during replication.The type of EBS encryption to be used during replication.The ARN of the EBS encryption key to be used during replication.Which version of the Internet Protocol to use for replication of data.The Point in time (PIT) policy to manage snapshots taken during replication.A reference to a ReplicationConfigurationTemplate resource.The instance type to be used for the replication server.The security group IDs that will be used by the replication server.The subnet to be used by the replication staging area.A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.getTags()A set of tags to be associated with the Replication Configuration Template resource.Whether to use a dedicated Replication Server in the replication staging area.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnReplicationConfigurationTemplate.renderProperties(Map<String, Object> props) voidWhether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.voidWhether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.voidsetAutoReplicateNewDisks(Boolean value) Whether to allow the AWS replication agent to automatically replicate newly added disks.voidWhether to allow the AWS replication agent to automatically replicate newly added disks.voidsetBandwidthThrottling(Number value) Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.voidsetCreatePublicIp(Boolean value) Whether to create a Public IP for the Recovery Instance by default.voidsetCreatePublicIp(IResolvable value) Whether to create a Public IP for the Recovery Instance by default.voidsetDataPlaneRouting(String value) The data plane routing mechanism that will be used for replication.voidThe Staging Disk EBS volume type to be used during replication.voidsetEbsEncryption(String value) The type of EBS encryption to be used during replication.voidsetEbsEncryptionKeyArn(String value) The ARN of the EBS encryption key to be used during replication.voidsetInternetProtocol(String value) Which version of the Internet Protocol to use for replication of data.voidsetPitPolicy(List<Object> value) The Point in time (PIT) policy to manage snapshots taken during replication.voidsetPitPolicy(IResolvable value) The Point in time (PIT) policy to manage snapshots taken during replication.voidThe instance type to be used for the replication server.voidThe security group IDs that will be used by the replication server.voidsetStagingAreaSubnetId(String value) The subnet to be used by the replication staging area.voidsetStagingAreaTags(Map<String, String> value) A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.voidsetStagingAreaTags(IResolvable value) A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.voidA set of tags to be associated with the Replication Configuration Template resource.voidWhether to use a dedicated Replication Server in the replication staging area.voidWhether to use a dedicated Replication Server in the replication staging area.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
-
CfnReplicationConfigurationTemplate
protected CfnReplicationConfigurationTemplate(software.amazon.jsii.JsiiObjectRef objRef) -
CfnReplicationConfigurationTemplate
protected CfnReplicationConfigurationTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnReplicationConfigurationTemplate
@Stability(Stable) public CfnReplicationConfigurationTemplate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnReplicationConfigurationTemplateProps props) Create a newAWS::DRS::ReplicationConfigurationTemplate.- 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. This parameter is required.
-
-
Method Details
-
arnForReplicationConfigurationTemplate
@Stability(Stable) @NotNull public static String arnForReplicationConfigurationTemplate(@NotNull IReplicationConfigurationTemplateRef resource) - Parameters:
resource- This parameter is required.
-
isCfnReplicationConfigurationTemplate
@Stability(Stable) @NotNull public static Boolean isCfnReplicationConfigurationTemplate(@NotNull Object x) Checks whether the given object is a CfnReplicationConfigurationTemplate.- 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
The Replication Configuration Template ARN. -
getAttrReplicationConfigurationTemplateId
The Replication Configuration Template ID. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getReplicationConfigurationTemplateRef
@Stability(Stable) @NotNull public ReplicationConfigurationTemplateReference getReplicationConfigurationTemplateRef()A reference to a ReplicationConfigurationTemplate resource.- Specified by:
getReplicationConfigurationTemplateRefin interfaceIReplicationConfigurationTemplateRef
-
getBandwidthThrottling
Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps. -
setBandwidthThrottling
Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps. -
getEbsEncryption
The type of EBS encryption to be used during replication. -
setEbsEncryption
The type of EBS encryption to be used during replication. -
getPitPolicy
The Point in time (PIT) policy to manage snapshots taken during replication.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnReplicationConfigurationTemplate.PITPolicyRuleProperty> -
setPitPolicy
The Point in time (PIT) policy to manage snapshots taken during replication. -
setPitPolicy
The Point in time (PIT) policy to manage snapshots taken during replication. -
getReplicationServersSecurityGroupsIDs
The security group IDs that will be used by the replication server. -
setReplicationServersSecurityGroupsIDs
The security group IDs that will be used by the replication server. -
getStagingAreaSubnetId
The subnet to be used by the replication staging area. -
setStagingAreaSubnetId
The subnet to be used by the replication staging area. -
getStagingAreaTags
A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.Returns union: either
IResolvableor Mapinvalid input: '<'String,String> -
setStagingAreaTags
A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. -
setStagingAreaTags
A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. -
getAssociateDefaultSecurityGroup
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.Returns union: either
BooleanorIResolvable -
setAssociateDefaultSecurityGroup
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template. -
setAssociateDefaultSecurityGroup
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template. -
getAutoReplicateNewDisks
Whether to allow the AWS replication agent to automatically replicate newly added disks.Returns union: either
BooleanorIResolvable -
setAutoReplicateNewDisks
Whether to allow the AWS replication agent to automatically replicate newly added disks. -
setAutoReplicateNewDisks
Whether to allow the AWS replication agent to automatically replicate newly added disks. -
getCreatePublicIp
Whether to create a Public IP for the Recovery Instance by default.Returns union: either
BooleanorIResolvable -
setCreatePublicIp
Whether to create a Public IP for the Recovery Instance by default. -
setCreatePublicIp
Whether to create a Public IP for the Recovery Instance by default. -
getDataPlaneRouting
The data plane routing mechanism that will be used for replication. -
setDataPlaneRouting
The data plane routing mechanism that will be used for replication. -
getDefaultLargeStagingDiskType
The Staging Disk EBS volume type to be used during replication. -
setDefaultLargeStagingDiskType
The Staging Disk EBS volume type to be used during replication. -
getEbsEncryptionKeyArn
The ARN of the EBS encryption key to be used during replication. -
setEbsEncryptionKeyArn
The ARN of the EBS encryption key to be used during replication. -
getInternetProtocol
Which version of the Internet Protocol to use for replication of data. -
setInternetProtocol
Which version of the Internet Protocol to use for replication of data. -
getReplicationServerInstanceType
The instance type to be used for the replication server. -
setReplicationServerInstanceType
The instance type to be used for the replication server. -
getTags
A set of tags to be associated with the Replication Configuration Template resource. -
setTags
A set of tags to be associated with the Replication Configuration Template resource. -
getUseDedicatedReplicationServer
Whether to use a dedicated Replication Server in the replication staging area.Returns union: either
BooleanorIResolvable -
setUseDedicatedReplicationServer
Whether to use a dedicated Replication Server in the replication staging area. -
setUseDedicatedReplicationServer
Whether to use a dedicated Replication Server in the replication staging area.
-