get_replication_configuration
(**kwargs)¶Gets a ReplicationConfiguration, filtered by Source Server ID.
See also: AWS API Documentation
Request Syntax
response = client.get_replication_configuration(
sourceServerID='string'
)
[REQUIRED]
The ID of the Source Serve for this Replication Configuration.r
{
'associateDefaultSecurityGroup': True|False,
'bandwidthThrottling': 123,
'createPublicIP': True|False,
'dataPlaneRouting': 'PRIVATE_IP'|'PUBLIC_IP',
'defaultLargeStagingDiskType': 'GP2'|'GP3'|'ST1'|'AUTO',
'ebsEncryption': 'DEFAULT'|'CUSTOM',
'ebsEncryptionKeyArn': 'string',
'name': 'string',
'pitPolicy': [
{
'enabled': True|False,
'interval': 123,
'retentionDuration': 123,
'ruleID': 123,
'units': 'MINUTE'|'HOUR'|'DAY'
},
],
'replicatedDisks': [
{
'deviceName': 'string',
'iops': 123,
'isBootDisk': True|False,
'optimizedStagingDiskType': 'AUTO'|'GP2'|'GP3'|'IO1'|'SC1'|'ST1'|'STANDARD',
'stagingDiskType': 'AUTO'|'GP2'|'GP3'|'IO1'|'SC1'|'ST1'|'STANDARD',
'throughput': 123
},
],
'replicationServerInstanceType': 'string',
'replicationServersSecurityGroupsIDs': [
'string',
],
'sourceServerID': 'string',
'stagingAreaSubnetId': 'string',
'stagingAreaTags': {
'string': 'string'
},
'useDedicatedReplicationServer': True|False
}
Response Structure
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.
Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
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.
The name of the Replication Configuration.
The Point in time (PIT) policy to manage snapshots taken during replication.
A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.
Whether this rule is enabled or not.
How often, in the chosen units, a snapshot should be taken.
The duration to retain a snapshot for, in the chosen units.
The ID of the rule.
The units used to measure the interval and retentionDuration.
The configuration of the disks of the Source Server to be replicated.
The configuration of a disk of the Source Server to be replicated.
The name of the device.
The requested number of I/O operations per second (IOPS).
Whether to boot from this disk or not.
The Staging Disk EBS volume type to be used during replication when stagingDiskType
is set to Auto. This is a read-only field.
The Staging Disk EBS volume type to be used during replication.
The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.
The instance type to be used for the replication server.
The security group IDs that will be used by the replication server.
The ID of the Source Server for this Replication Configuration.
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.
Whether to use a dedicated Replication Server in the replication staging area.
Exceptions
drs.Client.exceptions.ResourceNotFoundException
drs.Client.exceptions.InternalServerException
drs.Client.exceptions.ThrottlingException
drs.Client.exceptions.AccessDeniedException
drs.Client.exceptions.UninitializedAccountException