@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeStacksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for DescribeStacks action.
NOOP
Constructor and Description |
---|
DescribeStacksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeStacksRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getNextToken()
A string that identifies the next page of stacks that you want to retrieve.
|
String |
getStackName()
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A string that identifies the next page of stacks that you want to retrieve.
|
void |
setStackName(String stackName)
|
String |
toString()
Returns a string representation of this object.
|
DescribeStacksRequest |
withNextToken(String nextToken)
A string that identifies the next page of stacks that you want to retrieve.
|
DescribeStacksRequest |
withStackName(String stackName)
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStackName(String stackName)
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.
Default: There is no default value.
stackName
-
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.
Default: There is no default value.
public String getStackName()
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.
Default: There is no default value.
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.
Default: There is no default value.
public DescribeStacksRequest withStackName(String stackName)
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.
Default: There is no default value.
stackName
-
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.
Default: There is no default value.
public void setNextToken(String nextToken)
A string that identifies the next page of stacks that you want to retrieve.
nextToken
- A string that identifies the next page of stacks that you want to retrieve.public String getNextToken()
A string that identifies the next page of stacks that you want to retrieve.
public DescribeStacksRequest withNextToken(String nextToken)
A string that identifies the next page of stacks that you want to retrieve.
nextToken
- A string that identifies the next page of stacks that you want to retrieve.public String toString()
toString
in class Object
Object.toString()
public DescribeStacksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()