OpsWorks.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 = opsworks.stacks.all()
opsworks.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 = opsworks.stacks.filter(
StackIds=[
'string',
]
)
An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks
returns a description of every stack.
opsworks.Stack
)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 = opsworks.stacks.limit(
count=123
)
opsworks.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 = opsworks.stacks.page_size(
count=123
)
opsworks.Stack
)