describe_change_set¶
Operation¶
describe_change_set
async
¶
describe_change_set(input: DescribeChangeSetInput, plugins: list[Plugin] | None = None) -> DescribeChangeSetOutput
Returns the inputs for the change set and a list of changes that CloudFormation will make if you execute the change set. For more information, see Update CloudFormation stacks using change sets in the CloudFormation User Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DescribeChangeSetInput
|
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 |
|---|---|
DescribeChangeSetOutput
|
An instance of |
Input¶
DescribeChangeSetInput
dataclass
¶
Bases: _SerdeShape
The input for the DescribeChangeSet action.
Attributes¶
change_set_name
class-attribute
instance-attribute
¶
change_set_name: str | None = ...
The name or Amazon Resource Name (ARN) of the change set that you want to describe.
include_property_values
class-attribute
instance-attribute
¶
include_property_values: bool | None = ...
If true, the returned changes include detailed changes in the property
values.
Output¶
DescribeChangeSetOutput
dataclass
¶
Bases: _SerdeShape
The output for the DescribeChangeSet action.
Attributes¶
capabilities
class-attribute
instance-attribute
¶
If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
change_set_id
class-attribute
instance-attribute
¶
change_set_id: str | None = ...
The Amazon Resource Name (ARN) of the change set.
change_set_name
class-attribute
instance-attribute
¶
change_set_name: str | None = ...
The name of the change set.
changes
class-attribute
instance-attribute
¶
changes: list[Change] | None = ...
A list of Change structures that describes the resources
CloudFormation changes if you execute the change set.
creation_time
class-attribute
instance-attribute
¶
creation_time: datetime | None = ...
The start time when the change set was created, in UTC.
deployment_config
class-attribute
instance-attribute
¶
The deployment configuration specified when the change set was created.
deployment_mode
class-attribute
instance-attribute
¶
deployment_mode: str | None = ...
The deployment mode specified when the change set was created. Valid
value is REVERT_DRIFT. Only present for drift-aware change sets.
description
class-attribute
instance-attribute
¶
description: str | None = ...
Information about the change set.
execution_status
class-attribute
instance-attribute
¶
execution_status: str | None = ...
If the change set execution status is AVAILABLE, you can execute the
change set. If you can't execute the change set, the status indicates
why. For example, a change set might be in an UNAVAILABLE state
because CloudFormation is still creating it or in an OBSOLETE state
because the stack was already updated.
import_existing_resources
class-attribute
instance-attribute
¶
import_existing_resources: bool | None = ...
Indicates if the change set imports resources that already exist.
Note
This parameter can only import resources that have custom names in templates. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead.
include_nested_stacks
class-attribute
instance-attribute
¶
include_nested_stacks: bool | None = ...
Verifies if IncludeNestedStacks is set to True.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null.
notification_ar_ns
class-attribute
instance-attribute
¶
The ARNs of the Amazon SNS topics that will be associated with the stack if you execute the change set.
on_stack_failure
class-attribute
instance-attribute
¶
on_stack_failure: str | None = ...
Determines what action will be taken if stack creation fails. When this
parameter is specified, the DisableRollback parameter to the
ExecuteChangeSet
API operation must not be specified. This must be one of these values:
-
DELETE- Deletes the change set if the stack creation fails. This is only valid when theChangeSetTypeparameter is set toCREATE. If the deletion of the stack fails, the status of the stack isDELETE_FAILED. -
DO_NOTHING- if the stack creation fails, do nothing. This is equivalent to specifyingtruefor theDisableRollbackparameter to the ExecuteChangeSet API operation. -
ROLLBACK- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalsefor theDisableRollbackparameter to the ExecuteChangeSet API operation.
parameters
class-attribute
instance-attribute
¶
parameters: list[Parameter] | None = ...
A list of Parameter structures that describes the input parameters and
their values used to create the change set. For more information, see
the
Parameter
data type.
parent_change_set_id
class-attribute
instance-attribute
¶
parent_change_set_id: str | None = ...
Specifies the change set ID of the parent change set in the current nested change set hierarchy.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
rollback_configuration
class-attribute
instance-attribute
¶
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
root_change_set_id
class-attribute
instance-attribute
¶
root_change_set_id: str | None = ...
Specifies the change set ID of the root change set in the current nested change set hierarchy.
stack_drift_status
class-attribute
instance-attribute
¶
stack_drift_status: str | None = ...
The drift status of the stack when the change set was created. Valid values:
-
DRIFTED-- The stack has drifted from its last deployment. -
IN_SYNC-- The stack is in sync with its last deployment. -
NOT_CHECKED-- CloudFormation doesn't currently return this value. -
UNKNOWN-- The drift status could not be determined.
Only present for drift-aware change sets.
stack_id
class-attribute
instance-attribute
¶
stack_id: str | None = ...
The Amazon Resource Name (ARN) of the stack that's associated with the change set.
stack_name
class-attribute
instance-attribute
¶
stack_name: str | None = ...
The name of the stack that's associated with the change set.
status
class-attribute
instance-attribute
¶
status: str | None = ...
The current status of the change set, such as CREATE_PENDING,
CREATE_COMPLETE, or FAILED.