@Generated(value="software.amazon.awssdk:codegen") public final class StackSet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackSet.Builder,StackSet>
A structure that contains information about a stack set. A stack set enables you to provision stacks into AWS accounts and across regions by using a single CloudFormation template. In the stack set, you specify the template to use, as well as any parameters and capabilities that the template requires.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StackSet.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
administrationRoleARN()
The Amazon Resource Number (ARN) of the IAM role used to create or update the stack set.
|
AutoDeployment |
autoDeployment()
[
Service-managed permissions] Describes whether StackSets automatically deploys to AWS Organizations
accounts that are added to a target organization or organizational unit (OU). |
static StackSet.Builder |
builder() |
List<Capability> |
capabilities()
The capabilities that are allowed in the stack set.
|
List<String> |
capabilitiesAsStrings()
The capabilities that are allowed in the stack set.
|
String |
description()
A description of the stack set that you specify when the stack set is created or updated.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionRoleName()
The name of the IAM execution role used to create or update the stack set.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCapabilities()
Returns true if the Capabilities property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasOrganizationalUnitIds()
Returns true if the OrganizationalUnitIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasParameters()
Returns true if the Parameters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<String> |
organizationalUnitIds()
[
Service-managed permissions] The organization root ID or organizational unit (OUs) IDs to which
stacks in your stack set have been deployed. |
List<Parameter> |
parameters()
A list of input parameters for a stack set.
|
PermissionModels |
permissionModel()
Describes how the IAM roles required for stack set operations are created.
|
String |
permissionModelAsString()
Describes how the IAM roles required for stack set operations are created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StackSet.Builder> |
serializableBuilderClass() |
String |
stackSetARN()
The Amazon Resource Number (ARN) of the stack set.
|
StackSetDriftDetectionDetails |
stackSetDriftDetectionDetails()
Detailed information about the drift status of the stack set.
|
String |
stackSetId()
The ID of the stack set.
|
String |
stackSetName()
The name that's associated with the stack set.
|
StackSetStatus |
status()
The status of the stack set.
|
String |
statusAsString()
The status of the stack set.
|
List<Tag> |
tags()
A list of tags that specify information about the stack set.
|
String |
templateBody()
The structure that contains the body of the template that was used to create or update the stack set.
|
StackSet.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String stackSetName()
The name that's associated with the stack set.
public String stackSetId()
The ID of the stack set.
public String description()
A description of the stack set that you specify when the stack set is created or updated.
public StackSetStatus status()
The status of the stack set.
If the service returns an enum value that is not available in the current SDK version, status will
return StackSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StackSetStatuspublic String statusAsString()
The status of the stack set.
If the service returns an enum value that is not available in the current SDK version, status will
return StackSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StackSetStatuspublic String templateBody()
The structure that contains the body of the template that was used to create or update the stack set.
public boolean hasParameters()
public List<Parameter> parameters()
A list of input parameters for a stack set.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameters() to see if a value was sent in this field.
public List<Capability> capabilities()
The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account—for example, by creating new AWS Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCapabilities() to see if a value was sent in this field.
public boolean hasCapabilities()
public List<String> capabilitiesAsStrings()
The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account—for example, by creating new AWS Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCapabilities() to see if a value was sent in this field.
public boolean hasTags()
public List<Tag> tags()
A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public String stackSetARN()
The Amazon Resource Number (ARN) of the stack set.
public String administrationRoleARN()
The Amazon Resource Number (ARN) of the IAM role used to create or update the stack set.
Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the AWS CloudFormation User Guide.
Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the AWS CloudFormation User Guide.
public String executionRoleName()
The name of the IAM execution role used to create or update the stack set.
Use customized execution roles to control which stack resources users and groups can include in their stack sets.
Use customized execution roles to control which stack resources users and groups can include in their stack sets.
public StackSetDriftDetectionDetails stackSetDriftDetectionDetails()
Detailed information about the drift status of the stack set.
For stack sets, contains information about the last completed drift operation performed on the stack set. Information about drift operations currently in progress is not included.
For stack sets, contains information about the last completed drift operation performed on the stack set. Information about drift operations currently in progress is not included.
public AutoDeployment autoDeployment()
[Service-managed permissions] Describes whether StackSets automatically deploys to AWS Organizations
accounts that are added to a target organization or organizational unit (OU).
Service-managed permissions] Describes whether StackSets automatically deploys to AWS
Organizations accounts that are added to a target organization or organizational unit (OU).public PermissionModels permissionModel()
Describes how the IAM roles required for stack set operations are created.
With self-managed permissions, you must create the administrator and execution roles required to
deploy to target accounts. For more information, see Grant
Self-Managed Stack Set Permissions.
With service-managed permissions, StackSets automatically creates the IAM roles required to deploy
to accounts managed by AWS Organizations. For more information, see Grant Service-Managed Stack Set Permissions.
If the service returns an enum value that is not available in the current SDK version, permissionModel
will return PermissionModels.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from permissionModelAsString().
With self-managed permissions, you must create the administrator and execution roles
required to deploy to target accounts. For more information, see Grant Self-Managed Stack Set Permissions.
With service-managed permissions, StackSets automatically creates the IAM roles required to
deploy to accounts managed by AWS Organizations. For more information, see Grant Service-Managed Stack Set Permissions.
PermissionModelspublic String permissionModelAsString()
Describes how the IAM roles required for stack set operations are created.
With self-managed permissions, you must create the administrator and execution roles required to
deploy to target accounts. For more information, see Grant
Self-Managed Stack Set Permissions.
With service-managed permissions, StackSets automatically creates the IAM roles required to deploy
to accounts managed by AWS Organizations. For more information, see Grant Service-Managed Stack Set Permissions.
If the service returns an enum value that is not available in the current SDK version, permissionModel
will return PermissionModels.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from permissionModelAsString().
With self-managed permissions, you must create the administrator and execution roles
required to deploy to target accounts. For more information, see Grant Self-Managed Stack Set Permissions.
With service-managed permissions, StackSets automatically creates the IAM roles required to
deploy to accounts managed by AWS Organizations. For more information, see Grant Service-Managed Stack Set Permissions.
PermissionModelspublic boolean hasOrganizationalUnitIds()
public List<String> organizationalUnitIds()
[Service-managed permissions] The organization root ID or organizational unit (OUs) IDs to which
stacks in your stack set have been deployed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOrganizationalUnitIds() to see if a value was sent in this field.
Service-managed permissions] The organization root ID or organizational unit (OUs) IDs to
which stacks in your stack set have been deployed.public StackSet.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StackSet.Builder,StackSet>public static StackSet.Builder builder()
public static Class<? extends StackSet.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.