# CfnReplicationConfigurationTemplateProps

Properties for defining a `CfnReplicationConfigurationTemplate`.

Used as props by: [CfnReplicationConfigurationTemplate](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_drs.CfnReplicationConfigurationTemplate.html)

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_drs as drs } from 'aws-cdk-lib';
const cfnReplicationConfigurationTemplateProps: drs.CfnReplicationConfigurationTemplateProps = {
  bandwidthThrottling: 123,
  ebsEncryption: 'ebsEncryption',
  pitPolicy: [{
    interval: 123,
    retentionDuration: 123,
    units: 'units',

    // the properties below are optional
    enabled: false,
    ruleId: 123,
  }],
  replicationServersSecurityGroupsIDs: ['replicationServersSecurityGroupsIDs'],
  stagingAreaSubnetId: 'stagingAreaSubnetId',
  stagingAreaTags: {
    stagingAreaTagsKey: 'stagingAreaTags',
  },

  // the properties below are optional
  associateDefaultSecurityGroup: false,
  autoReplicateNewDisks: false,
  createPublicIp: false,
  dataPlaneRouting: 'dataPlaneRouting',
  defaultLargeStagingDiskType: 'defaultLargeStagingDiskType',
  ebsEncryptionKeyArn: 'ebsEncryptionKeyArn',
  internetProtocol: 'internetProtocol',
  replicationServerInstanceType: 'replicationServerInstanceType',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  useDedicatedReplicationServer: false,
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_drs as drs

cfn_replication_configuration_template_props = drs.CfnReplicationConfigurationTemplateProps(
    bandwidth_throttling=123,
    ebs_encryption="ebsEncryption",
    pit_policy=[drs.CfnReplicationConfigurationTemplate.PITPolicyRuleProperty(
        interval=123,
        retention_duration=123,
        units="units",

        # the properties below are optional
        enabled=False,
        rule_id=123
    )],
    replication_servers_security_groups_i_ds=["replicationServersSecurityGroupsIDs"],
    staging_area_subnet_id="stagingAreaSubnetId",
    staging_area_tags={
        "staging_area_tags_key": "stagingAreaTags"
    },

    # the properties below are optional
    associate_default_security_group=False,
    auto_replicate_new_disks=False,
    create_public_ip=False,
    data_plane_routing="dataPlaneRouting",
    default_large_staging_disk_type="defaultLargeStagingDiskType",
    ebs_encryption_key_arn="ebsEncryptionKeyArn",
    internet_protocol="internetProtocol",
    replication_server_instance_type="replicationServerInstanceType",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    use_dedicated_replication_server=False
)
```

Java:

```java
// 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.*;

CfnReplicationConfigurationTemplateProps cfnReplicationConfigurationTemplateProps = CfnReplicationConfigurationTemplateProps.builder()
        .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();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DRS;

var cfnReplicationConfigurationTemplateProps = new CfnReplicationConfigurationTemplateProps {
    BandwidthThrottling = 123,
    EbsEncryption = "ebsEncryption",
    PitPolicy = new [] { new PITPolicyRuleProperty {
        Interval = 123,
        RetentionDuration = 123,
        Units = "units",

        // the properties below are optional
        Enabled = false,
        RuleId = 123
    } },
    ReplicationServersSecurityGroupsIDs = new [] { "replicationServersSecurityGroupsIDs" },
    StagingAreaSubnetId = "stagingAreaSubnetId",
    StagingAreaTags = new Dictionary<string, string> {
        { "stagingAreaTagsKey", "stagingAreaTags" }
    },

    // the properties below are optional
    AssociateDefaultSecurityGroup = false,
    AutoReplicateNewDisks = false,
    CreatePublicIp = false,
    DataPlaneRouting = "dataPlaneRouting",
    DefaultLargeStagingDiskType = "defaultLargeStagingDiskType",
    EbsEncryptionKeyArn = "ebsEncryptionKeyArn",
    InternetProtocol = "internetProtocol",
    ReplicationServerInstanceType = "replicationServerInstanceType",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    UseDedicatedReplicationServer = false
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnReplicationConfigurationTemplateProps := &CfnReplicationConfigurationTemplateProps{
	BandwidthThrottling: jsii.Number(123),
	EbsEncryption: jsii.String("ebsEncryption"),
	PitPolicy: []interface{}{
		&PITPolicyRuleProperty{
			Interval: jsii.Number(123),
			RetentionDuration: jsii.Number(123),
			Units: jsii.String("units"),

			// the properties below are optional
			Enabled: jsii.Boolean(false),
			RuleId: jsii.Number(123),
		},
	},
	ReplicationServersSecurityGroupsIDs: []*string{
		jsii.String("replicationServersSecurityGroupsIDs"),
	},
	StagingAreaSubnetId: jsii.String("stagingAreaSubnetId"),
	StagingAreaTags: map[string]*string{
		"stagingAreaTagsKey": jsii.String("stagingAreaTags"),
	},

	// the properties below are optional
	AssociateDefaultSecurityGroup: jsii.Boolean(false),
	AutoReplicateNewDisks: jsii.Boolean(false),
	CreatePublicIp: jsii.Boolean(false),
	DataPlaneRouting: jsii.String("dataPlaneRouting"),
	DefaultLargeStagingDiskType: jsii.String("defaultLargeStagingDiskType"),
	EbsEncryptionKeyArn: jsii.String("ebsEncryptionKeyArn"),
	InternetProtocol: jsii.String("internetProtocol"),
	ReplicationServerInstanceType: jsii.String("replicationServerInstanceType"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	UseDedicatedReplicationServer: jsii.Boolean(false),
}
```

## Properties

- `associateDefaultSecurityGroup`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.

- `autoReplicateNewDisks`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to allow the AWS replication agent to automatically replicate newly added disks.

- `bandwidthThrottling`: number (required) — Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

- `createPublicIp`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to create a Public IP for the Recovery Instance by default.

- `dataPlaneRouting`: string — The data plane routing mechanism that will be used for replication.

- `defaultLargeStagingDiskType`: string — The Staging Disk EBS volume type to be used during replication.

- `ebsEncryption`: string (required) — The type of EBS encryption to be used during replication.

- `ebsEncryptionKeyArn`: string — The ARN of the EBS encryption key to be used during replication.

- `internetProtocol`: string — Which version of the Internet Protocol to use for replication of data.

- `pitPolicy`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnReplicationConfigurationTemplate.PITPolicyRuleProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_drs.CfnReplicationConfigurationTemplate.PITPolicyRuleProperty.html)[] (required) — The Point in time (PIT) policy to manage snapshots taken during replication.

- `replicationServerInstanceType`: string — The instance type to be used for the replication server.

- `replicationServersSecurityGroupsIDs`: string[] (required) — The security group IDs that will be used by the replication server.

- `stagingAreaSubnetId`: string (required) — The subnet to be used by the replication staging area.

- `stagingAreaTags`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } (required) — A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A set of tags to be associated with the Replication Configuration Template resource.

- `useDedicatedReplicationServer`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to use a dedicated Replication Server in the replication staging area.
