@Generated(value="software.amazon.awssdk:codegen") public final class DescribeStacksRequest extends CloudFormationRequest implements ToCopyableBuilder<DescribeStacksRequest.Builder,DescribeStacksRequest>
The input for DescribeStacks action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeStacksRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeStacksRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
nextToken()
A string that identifies the next page of stacks that you want to retrieve.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeStacksRequest.Builder> |
serializableBuilderClass() |
String |
stackName()
|
DescribeStacksRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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 final String nextToken()
A string that identifies the next page of stacks that you want to retrieve.
public DescribeStacksRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeStacksRequest.Builder,DescribeStacksRequest>toBuilder in class CloudFormationRequestpublic static DescribeStacksRequest.Builder builder()
public static Class<? extends DescribeStacksRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.