CloudFormation / Paginator / ListStackRefactorActions
ListStackRefactorActions#
- class CloudFormation.Paginator.ListStackRefactorActions#
paginator = client.get_paginator('list_stack_refactor_actions')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
CloudFormation.Client.list_stack_refactor_actions()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( StackRefactorId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
StackRefactorId (string) –
[REQUIRED]
The ID associated with the stack refactor created from the CreateStackRefactor action.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'StackRefactorActions': [ { 'Action': 'MOVE'|'CREATE', 'Entity': 'RESOURCE'|'STACK', 'PhysicalResourceId': 'string', 'ResourceIdentifier': 'string', 'Description': 'string', 'Detection': 'AUTO'|'MANUAL', 'DetectionReason': 'string', 'TagResources': [ { 'Key': 'string', 'Value': 'string' }, ], 'UntagResources': [ 'string', ], 'ResourceMapping': { 'Source': { 'StackName': 'string', 'LogicalResourceId': 'string' }, 'Destination': { 'StackName': 'string', 'LogicalResourceId': 'string' } } }, ], }
Response Structure
(dict) –
StackRefactorActions (list) –
The stack refactor actions.
(dict) –
Describes the stack and the action that CloudFormation will perform on it if you execute the stack refactor.
Action (string) –
The action that CloudFormation takes on the stack.
Entity (string) –
The type that will be evaluated in the
StackRefactorAction
. The following are potentialEntity
types:Stack
Resource
PhysicalResourceId (string) –
The name or unique identifier associated with the physical instance of the resource.
ResourceIdentifier (string) –
A key-value pair that identifies the target resource. The key is an identifier property (for example,
BucketName
forAWS::S3::Bucket
resources) and the value is the actual property value (for example,MyS3Bucket
).Description (string) –
A description to help you identify the refactor.
Detection (string) –
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
ResourceMapping
parameter.
DetectionReason (string) –
The description of the detection type.
TagResources (list) –
Assigns one or more tags to specified resources.
(dict) –
The Tag type enables you to specify a key-value pair that can be used to store information about an CloudFormation stack.
Key (string) –
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix:
aws:
.Value (string) –
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
UntagResources (list) –
Removes one or more tags to specified resources.
(string) –
ResourceMapping (dict) –
The mapping for the stack resource
Source
and stack resourceDestination
.Source (dict) –
The source stack
StackName
andLogicalResourceId
for the resource being refactored.StackName (string) –
The name associated with the stack.
LogicalResourceId (string) –
The logical name of the resource specified in the template.
Destination (dict) –
The destination stack
StackName
andLogicalResourceId
for the resource being refactored.StackName (string) –
The name associated with the stack.
LogicalResourceId (string) –
The logical name of the resource specified in the template.