create_stack_refactor¶
Operation¶
create_stack_refactor
async
¶
create_stack_refactor(input: CreateStackRefactorInput, plugins: list[Plugin] | None = None) -> CreateStackRefactorOutput
Creates a refactor across multiple stacks, with the list of stacks and resources that are affected.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateStackRefactorInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreateStackRefactorOutput
|
An instance of |
Input¶
CreateStackRefactorInput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateStackRefactorInput structure.
Attributes¶
description
class-attribute
instance-attribute
¶
description: str | None = ...
A description to help you identify the stack refactor.
enable_stack_creation
class-attribute
instance-attribute
¶
enable_stack_creation: bool | None = ...
Determines if a new stack is created with the refactor.
resource_mappings
class-attribute
instance-attribute
¶
resource_mappings: list[ResourceMapping] | None = ...
The mappings for the stack resource Source and stack resource
Destination.
stack_definitions
class-attribute
instance-attribute
¶
stack_definitions: list[StackDefinition] | None = ...
The stacks being refactored.
Output¶
CreateStackRefactorOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateStackRefactorOutput structure.