create_launch_configuration_template
¶
create_launch_configuration_template(
*,
config_overrides: Optional[drsClientConfig] = None,
tags: Optional[TagsMap] = None,
launch_disposition: Optional[LaunchDisposition] = None,
target_instance_type_right_sizing_method: Optional[
TargetInstanceTypeRightSizingMethod
] = None,
copy_private_ip: Optional[bool] = None,
copy_tags: Optional[bool] = None,
licensing: Optional[Licensing] = None,
export_bucket_arn: Optional[ARN] = None,
post_launch_enabled: Optional[bool] = None,
launch_into_source_instance: Optional[bool] = None,
recovery_mode: Optional[RecoveryMode] = None,
) -> CreateLaunchConfigurationTemplateResponse
Creates a new Launch Configuration Template.
Parameters:
-
tags(Optional[TagsMap], default:None) –Request to associate tags during creation of a Launch Configuration Template.
-
launch_disposition(Optional[LaunchDisposition], default:None) –Launch disposition.
-
target_instance_type_right_sizing_method(Optional[TargetInstanceTypeRightSizingMethod], default:None) –Target instance type right-sizing method.
-
copy_private_ip(Optional[bool], default:None) –Copy private IP.
-
copy_tags(Optional[bool], default:None) –Copy tags.
-
licensing(Optional[Licensing], default:None) –Licensing.
-
export_bucket_arn(Optional[ARN], default:None) –S3 bucket ARN to export Source Network templates.
-
post_launch_enabled(Optional[bool], default:None) –Whether we want to activate post-launch actions.
-
launch_into_source_instance(Optional[bool], default:None) –DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
-
recovery_mode(Optional[RecoveryMode], default:None) –Recovery mode.
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/drs.py
2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 | |