update_replication_configuration
¶
update_replication_configuration(
source_server_id: SourceServerID,
*,
config_overrides: Optional[drsClientConfig] = None,
name: Optional[SmallBoundedString] = None,
staging_area_subnet_id: Optional[SubnetID] = None,
associate_default_security_group: Optional[bool] = None,
replication_servers_security_groups_i_ds: Optional[
ReplicationServersSecurityGroupsIDs
] = None,
replication_server_instance_type: Optional[EC2InstanceType] = None,
use_dedicated_replication_server: Optional[bool] = None,
default_large_staging_disk_type: Optional[
ReplicationConfigurationDefaultLargeStagingDiskType
] = None,
replicated_disks: Optional[ReplicationConfigurationReplicatedDisks] = None,
ebs_encryption: Optional[ReplicationConfigurationEbsEncryption] = None,
ebs_encryption_key_arn: Optional[ARN] = None,
bandwidth_throttling: Optional[PositiveInteger] = None,
data_plane_routing: Optional[ReplicationConfigurationDataPlaneRouting] = None,
create_public_ip: Optional[bool] = None,
staging_area_tags: Optional[TagsMap] = None,
pit_policy: Optional[PITPolicy] = None,
auto_replicate_new_disks: Optional[bool] = None,
internet_protocol: Optional[InternetProtocol] = None,
) -> ReplicationConfiguration
Allows you to update a ReplicationConfiguration by Source Server ID.
Parameters:
-
source_server_id(SourceServerID) –The ID of the Source Server for this Replication Configuration.
-
name(Optional[SmallBoundedString], default:None) –The name of the Replication Configuration.
-
staging_area_subnet_id(Optional[SubnetID], default:None) –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.
-
replication_servers_security_groups_i_ds(Optional[ReplicationServersSecurityGroupsIDs], default:None) –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.
-
replicated_disks(Optional[ReplicationConfigurationReplicatedDisks], default:None) –The configuration of the disks of the Source Server to be replicated.
-
ebs_encryption(Optional[ReplicationConfigurationEbsEncryption], default:None) –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(Optional[PositiveInteger], default:None) –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(Optional[TagsMap], default:None) –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(Optional[PITPolicy], default:None) –The Point in time (PIT) policy to manage snapshots taken during replication.
-
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.
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource for this operation was not found.
-
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/drs.py
5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 | |