mgn / Client / create_replication_configuration_template
create_replication_configuration_template#
- mgn.Client.create_replication_configuration_template(**kwargs)#
Creates a new ReplicationConfigurationTemplate.
See also: AWS API Documentation
Request Syntax
response = client.create_replication_configuration_template( associateDefaultSecurityGroup=True|False, bandwidthThrottling=123, createPublicIP=True|False, dataPlaneRouting='PRIVATE_IP'|'PUBLIC_IP', defaultLargeStagingDiskType='GP2'|'ST1'|'GP3', ebsEncryption='DEFAULT'|'CUSTOM', ebsEncryptionKeyArn='string', replicationServerInstanceType='string', replicationServersSecurityGroupsIDs=[ 'string', ], stagingAreaSubnetId='string', stagingAreaTags={ 'string': 'string' }, tags={ 'string': 'string' }, useDedicatedReplicationServer=True|False, useFipsEndpoint=True|False )
- Parameters:
associateDefaultSecurityGroup (boolean) –
[REQUIRED]
Request to associate the default Application Migration Service Security group with the Replication Settings template.
bandwidthThrottling (integer) –
[REQUIRED]
Request to configure bandwidth throttling during Replication Settings template creation.
createPublicIP (boolean) –
[REQUIRED]
Request to create Public IP during Replication Settings template creation.
dataPlaneRouting (string) –
[REQUIRED]
Request to configure data plane routing during Replication Settings template creation.
defaultLargeStagingDiskType (string) –
[REQUIRED]
Request to configure the default large staging disk EBS volume type during Replication Settings template creation.
ebsEncryption (string) –
[REQUIRED]
Request to configure EBS encryption during Replication Settings template creation.
ebsEncryptionKeyArn (string) – Request to configure an EBS encryption key during Replication Settings template creation.
replicationServerInstanceType (string) –
[REQUIRED]
Request to configure the Replication Server instance type during Replication Settings template creation.
replicationServersSecurityGroupsIDs (list) –
[REQUIRED]
Request to configure the Replication Server Security group ID during Replication Settings template creation.
(string) –
stagingAreaSubnetId (string) –
[REQUIRED]
Request to configure the Staging Area subnet ID during Replication Settings template creation.
stagingAreaTags (dict) –
[REQUIRED]
Request to configure Staging Area tags during Replication Settings template creation.
(string) –
(string) –
tags (dict) –
Request to configure tags during Replication Settings template creation.
(string) –
(string) –
useDedicatedReplicationServer (boolean) –
[REQUIRED]
Request to use Dedicated Replication Servers during Replication Settings template creation.
useFipsEndpoint (boolean) – Request to use Fips Endpoint during Replication Settings template creation.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'associateDefaultSecurityGroup': True|False, 'bandwidthThrottling': 123, 'createPublicIP': True|False, 'dataPlaneRouting': 'PRIVATE_IP'|'PUBLIC_IP', 'defaultLargeStagingDiskType': 'GP2'|'ST1'|'GP3', 'ebsEncryption': 'DEFAULT'|'CUSTOM', 'ebsEncryptionKeyArn': 'string', 'replicationConfigurationTemplateID': 'string', 'replicationServerInstanceType': 'string', 'replicationServersSecurityGroupsIDs': [ 'string', ], 'stagingAreaSubnetId': 'string', 'stagingAreaTags': { 'string': 'string' }, 'tags': { 'string': 'string' }, 'useDedicatedReplicationServer': True|False, 'useFipsEndpoint': True|False }
Response Structure
(dict) –
arn (string) –
Replication Configuration template ARN.
associateDefaultSecurityGroup (boolean) –
Replication Configuration template associate default Application Migration Service Security group.
bandwidthThrottling (integer) –
Replication Configuration template bandwidth throttling.
createPublicIP (boolean) –
Replication Configuration template create Public IP.
dataPlaneRouting (string) –
Replication Configuration template data plane routing.
defaultLargeStagingDiskType (string) –
Replication Configuration template use default large Staging Disk type.
ebsEncryption (string) –
Replication Configuration template EBS encryption.
ebsEncryptionKeyArn (string) –
Replication Configuration template EBS encryption key ARN.
replicationConfigurationTemplateID (string) –
Replication Configuration template ID.
replicationServerInstanceType (string) –
Replication Configuration template server instance type.
replicationServersSecurityGroupsIDs (list) –
Replication Configuration template server Security Groups IDs.
(string) –
stagingAreaSubnetId (string) –
Replication Configuration template Staging Area subnet ID.
stagingAreaTags (dict) –
Replication Configuration template Staging Area Tags.
(string) –
(string) –
tags (dict) –
Replication Configuration template Tags.
(string) –
(string) –
useDedicatedReplicationServer (boolean) –
Replication Configuration template use Dedicated Replication Server.
useFipsEndpoint (boolean) –
Replication Configuration template use Fips Endpoint.
Exceptions
mgn.Client.exceptions.UninitializedAccountException
mgn.Client.exceptions.ValidationException
mgn.Client.exceptions.AccessDeniedException