StackRefactorAction
¶
Source code in docs_src/capo_cloudformation/types/stack_refactor_action.py
action
instance-attribute
¶
action: NotRequired[StackRefactorActionType]
The action that CloudFormation takes on the stack.
description
instance-attribute
¶
description: NotRequired[Description]
A description to help you identify the refactor.
detection
instance-attribute
¶
detection: NotRequired[StackRefactorDetection]
The detection type is one of the following:
-
Auto: CloudFormation figured out the mapping on its own.
-
Manual: The customer provided the mapping in the
ResourceMappingparameter.
detection_reason
instance-attribute
¶
detection_reason: NotRequired[DetectionReason]
The description of the detection type.
entity
instance-attribute
¶
entity: NotRequired[StackRefactorActionEntity]
The type that will be evaluated in the StackRefactorAction. The following are potential Entity types:
-
Stack -
Resource
physical_resource_id
instance-attribute
¶
physical_resource_id: NotRequired[PhysicalResourceId]
The name or unique identifier associated with the physical instance of the resource.
resource_identifier
instance-attribute
¶
resource_identifier: NotRequired[StackRefactorResourceIdentifier]
A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).
resource_mapping
instance-attribute
¶
resource_mapping: NotRequired[ResourceMapping]
The mapping for the stack resource Source and stack resource Destination.
tag_resources
instance-attribute
¶
tag_resources: NotRequired[StackRefactorTagResources]
Assigns one or more tags to specified resources.
untag_resources
instance-attribute
¶
untag_resources: NotRequired[StackRefactorUntagResources]
Removes one or more tags to specified resources.