class
Amazonite::CloudFormation::DescribeStacksInput
- Amazonite::CloudFormation::DescribeStacksInput
- Reference
- Object
Overview
The input for DescribeStacks action.
Defined in:
cloudformation/describe_stacks_input.crConstructors
- .from_xml(node : XML::Node) : self
- .new(stack_name : String | Nil = nil, next_token : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#next_token : String | Nil
The token for the next set of items to return.
-
#next_token=(next_token : String | Nil)
The token for the next set of items to return.
-
#stack_name : String | Nil
If you don't pass a parameter to
StackName, the API returns a response that describes all resources in the account, which can impact performance. -
#stack_name=(stack_name : String | Nil)
If you don't pass a parameter to
StackName, the API returns a response that describes all resources in the account, which can impact performance. - #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The token for the next set of items to return. (You received this token from a previous call.)
The token for the next set of items to return. (You received this token from a previous call.)
If you don't pass a parameter to StackName, the API returns a response that describes all
resources in the account, which can impact performance. This requires ListStacks and
DescribeStacks permissions.
Consider using the ListStacks API if you're not passing a parameter to StackName.
The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request:
{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:::stack//" }] }
The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
If you don't pass a parameter to StackName, the API returns a response that describes all
resources in the account, which can impact performance. This requires ListStacks and
DescribeStacks permissions.
Consider using the ListStacks API if you're not passing a parameter to StackName.
The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request:
{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:::stack//" }] }
The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.