aws.drs.ReplicationConfigurationTemplate
Explore with Pulumi AI
Provides an Elastic Disaster Recovery replication configuration template resource. Before using DRS, your account must be initialized.
NOTE: Your configuration must use the PIT policy shown in the basic configuration due to AWS rules. The only value that you can change is the
retention_duration
ofrule_id
3.
Example Usage
Create ReplicationConfigurationTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReplicationConfigurationTemplate(name: string, args: ReplicationConfigurationTemplateArgs, opts?: CustomResourceOptions);
@overload
def ReplicationConfigurationTemplate(resource_name: str,
args: ReplicationConfigurationTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReplicationConfigurationTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
staging_area_tags: Optional[Mapping[str, str]] = None,
replication_servers_security_groups_ids: Optional[Sequence[str]] = None,
bandwidth_throttling: Optional[int] = None,
create_public_ip: Optional[bool] = None,
use_dedicated_replication_server: Optional[bool] = None,
default_large_staging_disk_type: Optional[str] = None,
associate_default_security_group: Optional[bool] = None,
ebs_encryption: Optional[str] = None,
data_plane_routing: Optional[str] = None,
replication_server_instance_type: Optional[str] = None,
staging_area_subnet_id: Optional[str] = None,
ebs_encryption_key_arn: Optional[str] = None,
auto_replicate_new_disks: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ReplicationConfigurationTemplateTimeoutsArgs] = None,
pit_policies: Optional[Sequence[ReplicationConfigurationTemplatePitPolicyArgs]] = None)
func NewReplicationConfigurationTemplate(ctx *Context, name string, args ReplicationConfigurationTemplateArgs, opts ...ResourceOption) (*ReplicationConfigurationTemplate, error)
public ReplicationConfigurationTemplate(string name, ReplicationConfigurationTemplateArgs args, CustomResourceOptions? opts = null)
public ReplicationConfigurationTemplate(String name, ReplicationConfigurationTemplateArgs args)
public ReplicationConfigurationTemplate(String name, ReplicationConfigurationTemplateArgs args, CustomResourceOptions options)
type: aws:drs:ReplicationConfigurationTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ReplicationConfigurationTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReplicationConfigurationTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReplicationConfigurationTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReplicationConfigurationTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReplicationConfigurationTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var replicationConfigurationTemplateResource = new Aws.Drs.ReplicationConfigurationTemplate("replicationConfigurationTemplateResource", new()
{
StagingAreaTags =
{
{ "string", "string" },
},
ReplicationServersSecurityGroupsIds = new[]
{
"string",
},
BandwidthThrottling = 0,
CreatePublicIp = false,
UseDedicatedReplicationServer = false,
DefaultLargeStagingDiskType = "string",
AssociateDefaultSecurityGroup = false,
EbsEncryption = "string",
DataPlaneRouting = "string",
ReplicationServerInstanceType = "string",
StagingAreaSubnetId = "string",
EbsEncryptionKeyArn = "string",
AutoReplicateNewDisks = false,
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Drs.Inputs.ReplicationConfigurationTemplateTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
PitPolicies = new[]
{
new Aws.Drs.Inputs.ReplicationConfigurationTemplatePitPolicyArgs
{
Interval = 0,
RetentionDuration = 0,
Units = "string",
Enabled = false,
RuleId = 0,
},
},
});
example, err := drs.NewReplicationConfigurationTemplate(ctx, "replicationConfigurationTemplateResource", &drs.ReplicationConfigurationTemplateArgs{
StagingAreaTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ReplicationServersSecurityGroupsIds: pulumi.StringArray{
pulumi.String("string"),
},
BandwidthThrottling: pulumi.Int(0),
CreatePublicIp: pulumi.Bool(false),
UseDedicatedReplicationServer: pulumi.Bool(false),
DefaultLargeStagingDiskType: pulumi.String("string"),
AssociateDefaultSecurityGroup: pulumi.Bool(false),
EbsEncryption: pulumi.String("string"),
DataPlaneRouting: pulumi.String("string"),
ReplicationServerInstanceType: pulumi.String("string"),
StagingAreaSubnetId: pulumi.String("string"),
EbsEncryptionKeyArn: pulumi.String("string"),
AutoReplicateNewDisks: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &drs.ReplicationConfigurationTemplateTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
PitPolicies: drs.ReplicationConfigurationTemplatePitPolicyArray{
&drs.ReplicationConfigurationTemplatePitPolicyArgs{
Interval: pulumi.Int(0),
RetentionDuration: pulumi.Int(0),
Units: pulumi.String("string"),
Enabled: pulumi.Bool(false),
RuleId: pulumi.Int(0),
},
},
})
var replicationConfigurationTemplateResource = new ReplicationConfigurationTemplate("replicationConfigurationTemplateResource", ReplicationConfigurationTemplateArgs.builder()
.stagingAreaTags(Map.of("string", "string"))
.replicationServersSecurityGroupsIds("string")
.bandwidthThrottling(0)
.createPublicIp(false)
.useDedicatedReplicationServer(false)
.defaultLargeStagingDiskType("string")
.associateDefaultSecurityGroup(false)
.ebsEncryption("string")
.dataPlaneRouting("string")
.replicationServerInstanceType("string")
.stagingAreaSubnetId("string")
.ebsEncryptionKeyArn("string")
.autoReplicateNewDisks(false)
.tags(Map.of("string", "string"))
.timeouts(ReplicationConfigurationTemplateTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.pitPolicies(ReplicationConfigurationTemplatePitPolicyArgs.builder()
.interval(0)
.retentionDuration(0)
.units("string")
.enabled(false)
.ruleId(0)
.build())
.build());
replication_configuration_template_resource = aws.drs.ReplicationConfigurationTemplate("replicationConfigurationTemplateResource",
staging_area_tags={
"string": "string",
},
replication_servers_security_groups_ids=["string"],
bandwidth_throttling=0,
create_public_ip=False,
use_dedicated_replication_server=False,
default_large_staging_disk_type="string",
associate_default_security_group=False,
ebs_encryption="string",
data_plane_routing="string",
replication_server_instance_type="string",
staging_area_subnet_id="string",
ebs_encryption_key_arn="string",
auto_replicate_new_disks=False,
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
pit_policies=[{
"interval": 0,
"retention_duration": 0,
"units": "string",
"enabled": False,
"rule_id": 0,
}])
const replicationConfigurationTemplateResource = new aws.drs.ReplicationConfigurationTemplate("replicationConfigurationTemplateResource", {
stagingAreaTags: {
string: "string",
},
replicationServersSecurityGroupsIds: ["string"],
bandwidthThrottling: 0,
createPublicIp: false,
useDedicatedReplicationServer: false,
defaultLargeStagingDiskType: "string",
associateDefaultSecurityGroup: false,
ebsEncryption: "string",
dataPlaneRouting: "string",
replicationServerInstanceType: "string",
stagingAreaSubnetId: "string",
ebsEncryptionKeyArn: "string",
autoReplicateNewDisks: false,
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
pitPolicies: [{
interval: 0,
retentionDuration: 0,
units: "string",
enabled: false,
ruleId: 0,
}],
});
type: aws:drs:ReplicationConfigurationTemplate
properties:
associateDefaultSecurityGroup: false
autoReplicateNewDisks: false
bandwidthThrottling: 0
createPublicIp: false
dataPlaneRouting: string
defaultLargeStagingDiskType: string
ebsEncryption: string
ebsEncryptionKeyArn: string
pitPolicies:
- enabled: false
interval: 0
retentionDuration: 0
ruleId: 0
units: string
replicationServerInstanceType: string
replicationServersSecurityGroupsIds:
- string
stagingAreaSubnetId: string
stagingAreaTags:
string: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
useDedicatedReplicationServer: false
ReplicationConfigurationTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ReplicationConfigurationTemplate resource accepts the following input properties:
- Associate
Default boolSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- Bandwidth
Throttling int - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- Create
Public boolIp - Whether to create a Public IP for the Recovery Instance by default.
- Data
Plane stringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - Default
Large stringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - Ebs
Encryption string - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - Replication
Server stringInstance Type - Instance type to be used for the replication server.
- Replication
Servers List<string>Security Groups Ids - Security group IDs that will be used by the replication server.
- Staging
Area stringSubnet Id - Subnet to be used by the replication staging area.
- Dictionary<string, string>
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- Use
Dedicated boolReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- Auto
Replicate boolNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- Ebs
Encryption stringKey Arn - ARN of the EBS encryption key to be used during replication.
- Pit
Policies List<ReplicationConfiguration Template Pit Policy> - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- Dictionary<string, string>
- Set of tags to be associated with the Replication Configuration Template resource.
- Timeouts
Replication
Configuration Template Timeouts
- Associate
Default boolSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- Bandwidth
Throttling int - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- Create
Public boolIp - Whether to create a Public IP for the Recovery Instance by default.
- Data
Plane stringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - Default
Large stringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - Ebs
Encryption string - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - Replication
Server stringInstance Type - Instance type to be used for the replication server.
- Replication
Servers []stringSecurity Groups Ids - Security group IDs that will be used by the replication server.
- Staging
Area stringSubnet Id - Subnet to be used by the replication staging area.
- map[string]string
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- Use
Dedicated boolReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- Auto
Replicate boolNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- Ebs
Encryption stringKey Arn - ARN of the EBS encryption key to be used during replication.
- Pit
Policies []ReplicationConfiguration Template Pit Policy Args - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- map[string]string
- Set of tags to be associated with the Replication Configuration Template resource.
- Timeouts
Replication
Configuration Template Timeouts Args
- associate
Default BooleanSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- bandwidth
Throttling Integer - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- create
Public BooleanIp - Whether to create a Public IP for the Recovery Instance by default.
- data
Plane StringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - default
Large StringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - ebs
Encryption String - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - replication
Server StringInstance Type - Instance type to be used for the replication server.
- replication
Servers List<String>Security Groups Ids - Security group IDs that will be used by the replication server.
- staging
Area StringSubnet Id - Subnet to be used by the replication staging area.
- Map<String,String>
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- use
Dedicated BooleanReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- auto
Replicate BooleanNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- ebs
Encryption StringKey Arn - ARN of the EBS encryption key to be used during replication.
- pit
Policies List<ReplicationConfiguration Template Pit Policy> - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- Map<String,String>
- Set of tags to be associated with the Replication Configuration Template resource.
- timeouts
Replication
Configuration Template Timeouts
- associate
Default booleanSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- bandwidth
Throttling number - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- create
Public booleanIp - Whether to create a Public IP for the Recovery Instance by default.
- data
Plane stringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - default
Large stringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - ebs
Encryption string - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - replication
Server stringInstance Type - Instance type to be used for the replication server.
- replication
Servers string[]Security Groups Ids - Security group IDs that will be used by the replication server.
- staging
Area stringSubnet Id - Subnet to be used by the replication staging area.
- {[key: string]: string}
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- use
Dedicated booleanReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- auto
Replicate booleanNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- ebs
Encryption stringKey Arn - ARN of the EBS encryption key to be used during replication.
- pit
Policies ReplicationConfiguration Template Pit Policy[] - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- {[key: string]: string}
- Set of tags to be associated with the Replication Configuration Template resource.
- timeouts
Replication
Configuration Template Timeouts
- associate_
default_ boolsecurity_ group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- bandwidth_
throttling int - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- create_
public_ boolip - Whether to create a Public IP for the Recovery Instance by default.
- data_
plane_ strrouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - default_
large_ strstaging_ disk_ type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - ebs_
encryption str - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - replication_
server_ strinstance_ type - Instance type to be used for the replication server.
- replication_
servers_ Sequence[str]security_ groups_ ids - Security group IDs that will be used by the replication server.
- staging_
area_ strsubnet_ id - Subnet to be used by the replication staging area.
- Mapping[str, str]
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- use_
dedicated_ boolreplication_ server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- auto_
replicate_ boolnew_ disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- ebs_
encryption_ strkey_ arn - ARN of the EBS encryption key to be used during replication.
- pit_
policies Sequence[ReplicationConfiguration Template Pit Policy Args] - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- Mapping[str, str]
- Set of tags to be associated with the Replication Configuration Template resource.
- timeouts
Replication
Configuration Template Timeouts Args
- associate
Default BooleanSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- bandwidth
Throttling Number - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- create
Public BooleanIp - Whether to create a Public IP for the Recovery Instance by default.
- data
Plane StringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - default
Large StringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - ebs
Encryption String - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - replication
Server StringInstance Type - Instance type to be used for the replication server.
- replication
Servers List<String>Security Groups Ids - Security group IDs that will be used by the replication server.
- staging
Area StringSubnet Id - Subnet to be used by the replication staging area.
- Map<String>
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- use
Dedicated BooleanReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- auto
Replicate BooleanNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- ebs
Encryption StringKey Arn - ARN of the EBS encryption key to be used during replication.
- pit
Policies List<Property Map> - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- Map<String>
- Set of tags to be associated with the Replication Configuration Template resource.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ReplicationConfigurationTemplate resource produces the following output properties:
Look up Existing ReplicationConfigurationTemplate Resource
Get an existing ReplicationConfigurationTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ReplicationConfigurationTemplateState, opts?: CustomResourceOptions): ReplicationConfigurationTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
associate_default_security_group: Optional[bool] = None,
auto_replicate_new_disks: Optional[bool] = None,
bandwidth_throttling: Optional[int] = None,
create_public_ip: Optional[bool] = None,
data_plane_routing: Optional[str] = None,
default_large_staging_disk_type: Optional[str] = None,
ebs_encryption: Optional[str] = None,
ebs_encryption_key_arn: Optional[str] = None,
pit_policies: Optional[Sequence[ReplicationConfigurationTemplatePitPolicyArgs]] = None,
replication_server_instance_type: Optional[str] = None,
replication_servers_security_groups_ids: Optional[Sequence[str]] = None,
staging_area_subnet_id: Optional[str] = None,
staging_area_tags: Optional[Mapping[str, str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[ReplicationConfigurationTemplateTimeoutsArgs] = None,
use_dedicated_replication_server: Optional[bool] = None) -> ReplicationConfigurationTemplate
func GetReplicationConfigurationTemplate(ctx *Context, name string, id IDInput, state *ReplicationConfigurationTemplateState, opts ...ResourceOption) (*ReplicationConfigurationTemplate, error)
public static ReplicationConfigurationTemplate Get(string name, Input<string> id, ReplicationConfigurationTemplateState? state, CustomResourceOptions? opts = null)
public static ReplicationConfigurationTemplate get(String name, Output<String> id, ReplicationConfigurationTemplateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- Replication configuration template ARN.
- Associate
Default boolSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- Auto
Replicate boolNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- Bandwidth
Throttling int - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- Create
Public boolIp - Whether to create a Public IP for the Recovery Instance by default.
- Data
Plane stringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - Default
Large stringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - Ebs
Encryption string - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - Ebs
Encryption stringKey Arn - ARN of the EBS encryption key to be used during replication.
- Pit
Policies List<ReplicationConfiguration Template Pit Policy> - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- Replication
Server stringInstance Type - Instance type to be used for the replication server.
- Replication
Servers List<string>Security Groups Ids - Security group IDs that will be used by the replication server.
- Staging
Area stringSubnet Id - Subnet to be used by the replication staging area.
- Dictionary<string, string>
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- Dictionary<string, string>
- Set of tags to be associated with the Replication Configuration Template resource.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Replication
Configuration Template Timeouts - Use
Dedicated boolReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- Arn string
- Replication configuration template ARN.
- Associate
Default boolSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- Auto
Replicate boolNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- Bandwidth
Throttling int - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- Create
Public boolIp - Whether to create a Public IP for the Recovery Instance by default.
- Data
Plane stringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - Default
Large stringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - Ebs
Encryption string - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - Ebs
Encryption stringKey Arn - ARN of the EBS encryption key to be used during replication.
- Pit
Policies []ReplicationConfiguration Template Pit Policy Args - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- Replication
Server stringInstance Type - Instance type to be used for the replication server.
- Replication
Servers []stringSecurity Groups Ids - Security group IDs that will be used by the replication server.
- Staging
Area stringSubnet Id - Subnet to be used by the replication staging area.
- map[string]string
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- map[string]string
- Set of tags to be associated with the Replication Configuration Template resource.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Replication
Configuration Template Timeouts Args - Use
Dedicated boolReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- arn String
- Replication configuration template ARN.
- associate
Default BooleanSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- auto
Replicate BooleanNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- bandwidth
Throttling Integer - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- create
Public BooleanIp - Whether to create a Public IP for the Recovery Instance by default.
- data
Plane StringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - default
Large StringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - ebs
Encryption String - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - ebs
Encryption StringKey Arn - ARN of the EBS encryption key to be used during replication.
- pit
Policies List<ReplicationConfiguration Template Pit Policy> - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- replication
Server StringInstance Type - Instance type to be used for the replication server.
- replication
Servers List<String>Security Groups Ids - Security group IDs that will be used by the replication server.
- staging
Area StringSubnet Id - Subnet to be used by the replication staging area.
- Map<String,String>
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- Map<String,String>
- Set of tags to be associated with the Replication Configuration Template resource.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Replication
Configuration Template Timeouts - use
Dedicated BooleanReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- arn string
- Replication configuration template ARN.
- associate
Default booleanSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- auto
Replicate booleanNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- bandwidth
Throttling number - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- create
Public booleanIp - Whether to create a Public IP for the Recovery Instance by default.
- data
Plane stringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - default
Large stringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - ebs
Encryption string - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - ebs
Encryption stringKey Arn - ARN of the EBS encryption key to be used during replication.
- pit
Policies ReplicationConfiguration Template Pit Policy[] - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- replication
Server stringInstance Type - Instance type to be used for the replication server.
- replication
Servers string[]Security Groups Ids - Security group IDs that will be used by the replication server.
- staging
Area stringSubnet Id - Subnet to be used by the replication staging area.
- {[key: string]: string}
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- {[key: string]: string}
- Set of tags to be associated with the Replication Configuration Template resource.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Replication
Configuration Template Timeouts - use
Dedicated booleanReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- arn str
- Replication configuration template ARN.
- associate_
default_ boolsecurity_ group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- auto_
replicate_ boolnew_ disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- bandwidth_
throttling int - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- create_
public_ boolip - Whether to create a Public IP for the Recovery Instance by default.
- data_
plane_ strrouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - default_
large_ strstaging_ disk_ type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - ebs_
encryption str - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - ebs_
encryption_ strkey_ arn - ARN of the EBS encryption key to be used during replication.
- pit_
policies Sequence[ReplicationConfiguration Template Pit Policy Args] - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- replication_
server_ strinstance_ type - Instance type to be used for the replication server.
- replication_
servers_ Sequence[str]security_ groups_ ids - Security group IDs that will be used by the replication server.
- staging_
area_ strsubnet_ id - Subnet to be used by the replication staging area.
- Mapping[str, str]
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- Mapping[str, str]
- Set of tags to be associated with the Replication Configuration Template resource.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Replication
Configuration Template Timeouts Args - use_
dedicated_ boolreplication_ server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
- arn String
- Replication configuration template ARN.
- associate
Default BooleanSecurity Group - Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
- auto
Replicate BooleanNew Disks - Whether to allow the AWS replication agent to automatically replicate newly added disks.
- bandwidth
Throttling Number - Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
- create
Public BooleanIp - Whether to create a Public IP for the Recovery Instance by default.
- data
Plane StringRouting - Data plane routing mechanism that will be used for replication. Valid values are
PUBLIC_IP
andPRIVATE_IP
. - default
Large StringStaging Disk Type - Staging Disk EBS volume type to be used during replication. Valid values are
GP2
,GP3
,ST1
, orAUTO
. - ebs
Encryption String - Type of EBS encryption to be used during replication. Valid values are
DEFAULT
andCUSTOM
. - ebs
Encryption StringKey Arn - ARN of the EBS encryption key to be used during replication.
- pit
Policies List<Property Map> - Configuration block for Point in time (PIT) policy to manage snapshots taken during replication. See below.
- replication
Server StringInstance Type - Instance type to be used for the replication server.
- replication
Servers List<String>Security Groups Ids - Security group IDs that will be used by the replication server.
- staging
Area StringSubnet Id - Subnet to be used by the replication staging area.
- Map<String>
- Set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
- Map<String>
- Set of tags to be associated with the Replication Configuration Template resource.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
- use
Dedicated BooleanReplication Server Whether to use a dedicated Replication Server in the replication staging area.
The following arguments are optional:
Supporting Types
ReplicationConfigurationTemplatePitPolicy, ReplicationConfigurationTemplatePitPolicyArgs
- Interval int
- How often, in the chosen units, a snapshot should be taken.
- Retention
Duration int - Duration to retain a snapshot for, in the chosen
units
. - Units string
- Units used to measure the
interval
andretention_duration
. Valid values areMINUTE
,HOUR
, andDAY
. - Enabled bool
- Whether this rule is enabled or not.
- Rule
Id int - ID of the rule. Valid values are integers.
- Interval int
- How often, in the chosen units, a snapshot should be taken.
- Retention
Duration int - Duration to retain a snapshot for, in the chosen
units
. - Units string
- Units used to measure the
interval
andretention_duration
. Valid values areMINUTE
,HOUR
, andDAY
. - Enabled bool
- Whether this rule is enabled or not.
- Rule
Id int - ID of the rule. Valid values are integers.
- interval Integer
- How often, in the chosen units, a snapshot should be taken.
- retention
Duration Integer - Duration to retain a snapshot for, in the chosen
units
. - units String
- Units used to measure the
interval
andretention_duration
. Valid values areMINUTE
,HOUR
, andDAY
. - enabled Boolean
- Whether this rule is enabled or not.
- rule
Id Integer - ID of the rule. Valid values are integers.
- interval number
- How often, in the chosen units, a snapshot should be taken.
- retention
Duration number - Duration to retain a snapshot for, in the chosen
units
. - units string
- Units used to measure the
interval
andretention_duration
. Valid values areMINUTE
,HOUR
, andDAY
. - enabled boolean
- Whether this rule is enabled or not.
- rule
Id number - ID of the rule. Valid values are integers.
- interval int
- How often, in the chosen units, a snapshot should be taken.
- retention_
duration int - Duration to retain a snapshot for, in the chosen
units
. - units str
- Units used to measure the
interval
andretention_duration
. Valid values areMINUTE
,HOUR
, andDAY
. - enabled bool
- Whether this rule is enabled or not.
- rule_
id int - ID of the rule. Valid values are integers.
- interval Number
- How often, in the chosen units, a snapshot should be taken.
- retention
Duration Number - Duration to retain a snapshot for, in the chosen
units
. - units String
- Units used to measure the
interval
andretention_duration
. Valid values areMINUTE
,HOUR
, andDAY
. - enabled Boolean
- Whether this rule is enabled or not.
- rule
Id Number - ID of the rule. Valid values are integers.
ReplicationConfigurationTemplateTimeouts, ReplicationConfigurationTemplateTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import
, import DRS Replication Configuration Template using the id
. For example:
$ pulumi import aws:drs/replicationConfigurationTemplate:ReplicationConfigurationTemplate example templateid
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.