CloudFormation.ServiceResource.
stacks
¶A collection of Stack resources.A Stack Collection will include all resources by default, and extreme caution should be taken when performing actions on all resources.
all
()¶Creates an iterable of all Stack resources in the collection.
See also: AWS API Documentation
Request Syntax
stack_iterator = cloudformation.stacks.all()
cloudformation.Stack
)filter
(**kwargs)¶Creates an iterable of all Stack resources in the collection filtered by kwargs passed to method. A Stack collection will include all resources by default if no filters are provided, and extreme caution should be taken when performing actions on all resources.
See also: AWS API Documentation
Request Syntax
stack_iterator = cloudformation.stacks.filter(
StackName='string',
NextToken='string'
)
The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:
Default: There is no default value.
list(cloudformation.Stack
)
A list of Stack resources
limit
(**kwargs)¶Creates an iterable up to a specified amount of Stack resources in the collection.
See also: AWS API Documentation
Request Syntax
stack_iterator = cloudformation.stacks.limit(
count=123
)
cloudformation.Stack
)page_size
(**kwargs)¶Creates an iterable of all Stack resources in the collection, but limits the number of items returned by each service call by the specified amount.
See also: AWS API Documentation
Request Syntax
stack_iterator = cloudformation.stacks.page_size(
count=123
)
cloudformation.Stack
)