@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountGateResult extends Object implements Serializable, Cloneable
Structure that contains the results of the account gate function AWS CloudFormation StackSets invokes, if present, before proceeding with stack set operations in an account.
Account gating enables you to specify a Lamdba function for an account that encapsulates any requirements that must be met before AWS CloudFormation StackSets proceeds with stack set operations in that account. CloudFormation invokes the function each time stack set operations are initiated for that account, and only proceeds if the function returns a success code.
Constructor and Description |
---|
AccountGateResult() |
Modifier and Type | Method and Description |
---|---|
AccountGateResult |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of the account gate function.
|
String |
getStatusReason()
The reason for the account gate status assigned to this account.
|
int |
hashCode() |
void |
setStatus(AccountGateStatus status)
The status of the account gate function.
|
void |
setStatus(String status)
The status of the account gate function.
|
void |
setStatusReason(String statusReason)
The reason for the account gate status assigned to this account.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AccountGateResult |
withStatus(AccountGateStatus status)
The status of the account gate function.
|
AccountGateResult |
withStatus(String status)
The status of the account gate function.
|
AccountGateResult |
withStatusReason(String statusReason)
The reason for the account gate status assigned to this account.
|
public void setStatus(String status)
The status of the account gate function.
SUCCEEDED
: The account gate function has determined that the account passes any requirements for
stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the requirements for
stack set operations to occur. AWS CloudFormation cancels the stack set operations in that account, and the stack
set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke the
function. AWS CloudFormation proceeds with stack set operations in the account.
status
- The status of the account gate function.
SUCCEEDED
: The account gate function has determined that the account passes any requirements
for stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the
requirements for stack set operations to occur. AWS CloudFormation cancels the stack set operations in
that account, and the stack set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke
the function. AWS CloudFormation proceeds with stack set operations in the account.
AccountGateStatus
public String getStatus()
The status of the account gate function.
SUCCEEDED
: The account gate function has determined that the account passes any requirements for
stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the requirements for
stack set operations to occur. AWS CloudFormation cancels the stack set operations in that account, and the stack
set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke the
function. AWS CloudFormation proceeds with stack set operations in the account.
SUCCEEDED
: The account gate function has determined that the account passes any requirements
for stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the
requirements for stack set operations to occur. AWS CloudFormation cancels the stack set operations in
that account, and the stack set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke
the function. AWS CloudFormation proceeds with stack set operations in the account.
AccountGateStatus
public AccountGateResult withStatus(String status)
The status of the account gate function.
SUCCEEDED
: The account gate function has determined that the account passes any requirements for
stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the requirements for
stack set operations to occur. AWS CloudFormation cancels the stack set operations in that account, and the stack
set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke the
function. AWS CloudFormation proceeds with stack set operations in the account.
status
- The status of the account gate function.
SUCCEEDED
: The account gate function has determined that the account passes any requirements
for stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the
requirements for stack set operations to occur. AWS CloudFormation cancels the stack set operations in
that account, and the stack set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke
the function. AWS CloudFormation proceeds with stack set operations in the account.
AccountGateStatus
public void setStatus(AccountGateStatus status)
The status of the account gate function.
SUCCEEDED
: The account gate function has determined that the account passes any requirements for
stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the requirements for
stack set operations to occur. AWS CloudFormation cancels the stack set operations in that account, and the stack
set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke the
function. AWS CloudFormation proceeds with stack set operations in the account.
status
- The status of the account gate function.
SUCCEEDED
: The account gate function has determined that the account passes any requirements
for stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the
requirements for stack set operations to occur. AWS CloudFormation cancels the stack set operations in
that account, and the stack set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke
the function. AWS CloudFormation proceeds with stack set operations in the account.
AccountGateStatus
public AccountGateResult withStatus(AccountGateStatus status)
The status of the account gate function.
SUCCEEDED
: The account gate function has determined that the account passes any requirements for
stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the requirements for
stack set operations to occur. AWS CloudFormation cancels the stack set operations in that account, and the stack
set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke the
function. AWS CloudFormation proceeds with stack set operations in the account.
status
- The status of the account gate function.
SUCCEEDED
: The account gate function has determined that the account passes any requirements
for stack set operations to occur. AWS CloudFormation proceeds with stack operations in the account.
FAILED
: The account gate function has determined that the account does not meet the
requirements for stack set operations to occur. AWS CloudFormation cancels the stack set operations in
that account, and the stack set operation status is set to FAILED.
SKIPPED
: An account gate function has not been specified for the account, or the
AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke
the function. AWS CloudFormation proceeds with stack set operations in the account.
AccountGateStatus
public void setStatusReason(String statusReason)
The reason for the account gate status assigned to this account.
statusReason
- The reason for the account gate status assigned to this account.public String getStatusReason()
The reason for the account gate status assigned to this account.
public AccountGateResult withStatusReason(String statusReason)
The reason for the account gate status assigned to this account.
statusReason
- The reason for the account gate status assigned to this account.public String toString()
toString
in class Object
Object.toString()
public AccountGateResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.