import_stacks_to_stack_set
async
¶
import_stacks_to_stack_set(
*,
config_overrides: Optional[AsyncCloudFormationClientConfig] = None,
stack_set_name: Optional[StackSetNameOrId] = None,
stack_ids: Optional[StackIdList] = None,
stack_ids_url: Optional[StackIdsUrl] = None,
organizational_unit_ids: Optional[OrganizationalUnitIdList] = None,
operation_preferences: Optional[StackSetOperationPreferences] = None,
operation_id: Optional[ClientRequestToken] = None,
call_as: Optional[CallAs] = None,
) -> ImportStacksToStackSetOutput
Import existing stacks into a new StackSets. Use the stack import operation to import up to 10 stacks into a new StackSet in the same account as the source stack or in a different administrator account and Region, by specifying the stack ID of the stack you intend to import.
Parameters:
-
stack_set_name(Optional[StackSetNameOrId], default:None) –The name of the StackSet. The name must be unique in the Region where you create your StackSet.
-
stack_ids(Optional[StackIdList], default:None) –The IDs of the stacks you are importing into a StackSet. You import up to 10 stacks per StackSet at a time.
Specify either
StackIdsorStackIdsUrl. -
stack_ids_url(Optional[StackIdsUrl], default:None) –The Amazon S3 URL which contains list of stack ids to be inputted.
Specify either
StackIdsorStackIdsUrl. -
organizational_unit_ids(Optional[OrganizationalUnitIdList], default:None) –The list of OU ID's to which the imported stacks must be mapped as deployment targets.
-
operation_preferences(Optional[StackSetOperationPreferences], default:None) –The user-specified preferences for how CloudFormation performs a StackSet operation.
For more information about maximum concurrent accounts and failure tolerance, see StackSet operation options.
-
operation_id(Optional[ClientRequestToken], default:None) –A unique, user defined, identifier for the StackSet operation.
-
call_as(Optional[CallAs], default:None) –By default,
SELFis specified. UseSELFfor StackSets with self-managed permissions.-
If you are signed in to the management account, specify
SELF. -
For service managed StackSets, specify
DELEGATED_ADMIN.
-
Raises:
-
InvalidOperationException–The specified operation isn't valid.
-
LimitExceededException–The quota for the resource has already been reached.
For information about resource and stack limitations, see CloudFormation quotas in the CloudFormation User Guide.
-
OperationIdAlreadyExistsException–The specified operation ID already exists.
-
OperationInProgressException–Another operation is currently in progress for this StackSet. Only one operation can be performed for a stack set at a given time.
-
StackNotFoundException–The specified stack ARN doesn't exist or stack doesn't exist corresponding to the ARN in input.
-
StackSetNotFoundException–The specified StackSet doesn't exist.
-
StaleRequestException–Another operation has been performed on this StackSet since the specified operation was performed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudformation/_services/async_cloud_formation.py
3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 | |