create_replication_configuration_template
async
¶
create_replication_configuration_template(
staging_area_subnet_id: SubnetID,
replication_servers_security_groups_i_ds: ReplicationServersSecurityGroupsIDs,
ebs_encryption: ReplicationConfigurationEbsEncryption,
bandwidth_throttling: PositiveInteger,
staging_area_tags: TagsMap,
pit_policy: PITPolicy,
*,
config_overrides: Optional[AsyncdrsClientConfig] = None,
associate_default_security_group: Optional[bool] = None,
replication_server_instance_type: Optional[EC2InstanceType] = None,
use_dedicated_replication_server: Optional[bool] = None,
default_large_staging_disk_type: Optional[
ReplicationConfigurationDefaultLargeStagingDiskType
] = None,
ebs_encryption_key_arn: Optional[ARN] = None,
data_plane_routing: Optional[ReplicationConfigurationDataPlaneRouting] = None,
create_public_ip: Optional[bool] = None,
tags: Optional[TagsMap] = None,
auto_replicate_new_disks: Optional[bool] = None,
internet_protocol: Optional[InternetProtocol] = None,
) -> ReplicationConfigurationTemplate
Creates a new ReplicationConfigurationTemplate.
Parameters:
-
staging_area_subnet_id(SubnetID) –The subnet to be used by the replication staging area.
-
associate_default_security_group(Optional[bool], default:None) –Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
-
replication_servers_security_groups_i_ds(ReplicationServersSecurityGroupsIDs) –The security group IDs that will be used by the replication server.
-
replication_server_instance_type(Optional[EC2InstanceType], default:None) –The instance type to be used for the replication server.
-
use_dedicated_replication_server(Optional[bool], default:None) –Whether to use a dedicated Replication Server in the replication staging area.
-
default_large_staging_disk_type(Optional[ReplicationConfigurationDefaultLargeStagingDiskType], default:None) –The Staging Disk EBS volume type to be used during replication.
-
ebs_encryption(ReplicationConfigurationEbsEncryption) –The type of EBS encryption to be used during replication.
-
ebs_encryption_key_arn(Optional[ARN], default:None) –The ARN of the EBS encryption key to be used during replication.
-
bandwidth_throttling(PositiveInteger) –Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
-
data_plane_routing(Optional[ReplicationConfigurationDataPlaneRouting], default:None) –The data plane routing mechanism that will be used for replication.
-
create_public_ip(Optional[bool], default:None) –Whether to create a Public IP for the Recovery Instance by default.
-
staging_area_tags(TagsMap) –A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
-
pit_policy(PITPolicy) –The Point in time (PIT) policy to manage snapshots taken during replication.
-
tags(Optional[TagsMap], default:None) –A set of tags to be associated with the Replication Configuration Template resource.
-
auto_replicate_new_disks(Optional[bool], default:None) –Whether to allow the AWS replication agent to automatically replicate newly added disks.
-
internet_protocol(Optional[InternetProtocol], default:None) –Which version of the Internet Protocol to use for replication of data. (IPv4 or IPv6)
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ServiceQuotaExceededException–The request could not be completed because its exceeded the service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
UninitializedAccountException–The account performing the request has not been initialized.
-
ValidationException–The input fails to satisfy the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_drs/_services/async_drs.py
3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 | |