public static interface StackInstance.Builder extends SdkPojo, CopyableBuilder<StackInstance.Builder,StackInstance>
| Modifier and Type | Method and Description |
|---|---|
StackInstance.Builder |
account(String account)
[Self-managed permissions] The name of the Amazon Web Services account that the stack instance is associated
with.
|
StackInstance.Builder |
driftStatus(StackDriftStatus driftStatus)
Status of the stack instance's actual configuration compared to the expected template and parameter
configuration of the stack set to which it belongs.
|
StackInstance.Builder |
driftStatus(String driftStatus)
Status of the stack instance's actual configuration compared to the expected template and parameter
configuration of the stack set to which it belongs.
|
StackInstance.Builder |
lastDriftCheckTimestamp(Instant lastDriftCheckTimestamp)
Most recent time when CloudFormation performed a drift detection operation on the stack instance.
|
StackInstance.Builder |
lastOperationId(String lastOperationId)
The last unique ID of a StackSet operation performed on a stack instance.
|
StackInstance.Builder |
organizationalUnitId(String organizationalUnitId)
[Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for
DeploymentTargets.
|
StackInstance.Builder |
parameterOverrides(Collection<Parameter> parameterOverrides)
A list of parameters from the stack set template whose values have been overridden in this stack instance.
|
StackInstance.Builder |
parameterOverrides(Consumer<Parameter.Builder>... parameterOverrides)
A list of parameters from the stack set template whose values have been overridden in this stack instance.
|
StackInstance.Builder |
parameterOverrides(Parameter... parameterOverrides)
A list of parameters from the stack set template whose values have been overridden in this stack instance.
|
StackInstance.Builder |
region(String region)
The name of the Amazon Web Services Region that the stack instance is associated with.
|
StackInstance.Builder |
stackId(String stackId)
The ID of the stack instance.
|
default StackInstance.Builder |
stackInstanceStatus(Consumer<StackInstanceComprehensiveStatus.Builder> stackInstanceStatus)
The detailed status of the stack instance.
|
StackInstance.Builder |
stackInstanceStatus(StackInstanceComprehensiveStatus stackInstanceStatus)
The detailed status of the stack instance.
|
StackInstance.Builder |
stackSetId(String stackSetId)
The name or unique ID of the stack set that the stack instance is associated with.
|
StackInstance.Builder |
status(StackInstanceStatus status)
The status of the stack instance, in terms of its synchronization with its associated stack set.
|
StackInstance.Builder |
status(String status)
The status of the stack instance, in terms of its synchronization with its associated stack set.
|
StackInstance.Builder |
statusReason(String statusReason)
The explanation for the specific status code that's assigned to this stack instance.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStackInstance.Builder stackSetId(String stackSetId)
The name or unique ID of the stack set that the stack instance is associated with.
stackSetId - The name or unique ID of the stack set that the stack instance is associated with.StackInstance.Builder region(String region)
The name of the Amazon Web Services Region that the stack instance is associated with.
region - The name of the Amazon Web Services Region that the stack instance is associated with.StackInstance.Builder account(String account)
[Self-managed permissions] The name of the Amazon Web Services account that the stack instance is associated with.
account - [Self-managed permissions] The name of the Amazon Web Services account that the stack instance is
associated with.StackInstance.Builder stackId(String stackId)
The ID of the stack instance.
stackId - The ID of the stack instance.StackInstance.Builder parameterOverrides(Collection<Parameter> parameterOverrides)
A list of parameters from the stack set template whose values have been overridden in this stack instance.
parameterOverrides - A list of parameters from the stack set template whose values have been overridden in this stack
instance.StackInstance.Builder parameterOverrides(Parameter... parameterOverrides)
A list of parameters from the stack set template whose values have been overridden in this stack instance.
parameterOverrides - A list of parameters from the stack set template whose values have been overridden in this stack
instance.StackInstance.Builder parameterOverrides(Consumer<Parameter.Builder>... parameterOverrides)
A list of parameters from the stack set template whose values have been overridden in this stack instance.
This is a convenience method that creates an instance of theParameter.Builder avoiding the need to create
one manually via Parameter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #parameterOverrides(List.
parameterOverrides - a consumer that will call methods on
Parameter.Builder#parameterOverrides(java.util.Collection) StackInstance.Builder status(String status)
The status of the stack instance, in terms of its synchronization with its associated stack set.
INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an
unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You
might need to perform a DeleteStackInstances operation, with RetainStacks set to
true, to delete the stack instance, and then delete the stack manually.
OUTDATED: The stack isn't currently up to date with the stack set because:
The associated stack failed during a CreateStackSet or UpdateStackSet operation.
The stack was part of a CreateStackSet or UpdateStackSet operation that failed or
was stopped before the stack was created or updated.
CURRENT: The stack is currently up to date with the stack set.
status - The status of the stack instance, in terms of its synchronization with its associated stack set.
INOPERABLE: A DeleteStackInstances operation has failed and left the stack
in an unstable state. Stacks in this state are excluded from further UpdateStackSet
operations. You might need to perform a DeleteStackInstances operation, with
RetainStacks set to true, to delete the stack instance, and then delete the
stack manually.
OUTDATED: The stack isn't currently up to date with the stack set because:
The associated stack failed during a CreateStackSet or UpdateStackSet
operation.
The stack was part of a CreateStackSet or UpdateStackSet operation that
failed or was stopped before the stack was created or updated.
CURRENT: The stack is currently up to date with the stack set.
StackInstanceStatus,
StackInstanceStatusStackInstance.Builder status(StackInstanceStatus status)
The status of the stack instance, in terms of its synchronization with its associated stack set.
INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an
unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You
might need to perform a DeleteStackInstances operation, with RetainStacks set to
true, to delete the stack instance, and then delete the stack manually.
OUTDATED: The stack isn't currently up to date with the stack set because:
The associated stack failed during a CreateStackSet or UpdateStackSet operation.
The stack was part of a CreateStackSet or UpdateStackSet operation that failed or
was stopped before the stack was created or updated.
CURRENT: The stack is currently up to date with the stack set.
status - The status of the stack instance, in terms of its synchronization with its associated stack set.
INOPERABLE: A DeleteStackInstances operation has failed and left the stack
in an unstable state. Stacks in this state are excluded from further UpdateStackSet
operations. You might need to perform a DeleteStackInstances operation, with
RetainStacks set to true, to delete the stack instance, and then delete the
stack manually.
OUTDATED: The stack isn't currently up to date with the stack set because:
The associated stack failed during a CreateStackSet or UpdateStackSet
operation.
The stack was part of a CreateStackSet or UpdateStackSet operation that
failed or was stopped before the stack was created or updated.
CURRENT: The stack is currently up to date with the stack set.
StackInstanceStatus,
StackInstanceStatusStackInstance.Builder stackInstanceStatus(StackInstanceComprehensiveStatus stackInstanceStatus)
The detailed status of the stack instance.
stackInstanceStatus - The detailed status of the stack instance.default StackInstance.Builder stackInstanceStatus(Consumer<StackInstanceComprehensiveStatus.Builder> stackInstanceStatus)
The detailed status of the stack instance.
This is a convenience method that creates an instance of theStackInstanceComprehensiveStatus.Builder
avoiding the need to create one manually via StackInstanceComprehensiveStatus.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to stackInstanceStatus(StackInstanceComprehensiveStatus).
stackInstanceStatus - a consumer that will call methods on StackInstanceComprehensiveStatus.BuilderstackInstanceStatus(StackInstanceComprehensiveStatus)StackInstance.Builder statusReason(String statusReason)
The explanation for the specific status code that's assigned to this stack instance.
statusReason - The explanation for the specific status code that's assigned to this stack instance.StackInstance.Builder organizationalUnitId(String organizationalUnitId)
[Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.
organizationalUnitId - [Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you
specified for DeploymentTargets.StackInstance.Builder driftStatus(String driftStatus)
Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs.
DRIFTED: The stack differs from the expected template and parameter configuration of the stack
set to which it belongs. A stack instance is considered to have drifted if one or more of the resources in
the associated stack have drifted.
NOT_CHECKED: CloudFormation hasn't checked if the stack instance differs from its expected stack
set configuration.
IN_SYNC: The stack instance's actual configuration matches its expected stack set configuration.
UNKNOWN: This value is reserved for future use.
driftStatus - Status of the stack instance's actual configuration compared to the expected template and parameter
configuration of the stack set to which it belongs.
DRIFTED: The stack differs from the expected template and parameter configuration of the
stack set to which it belongs. A stack instance is considered to have drifted if one or more of the
resources in the associated stack have drifted.
NOT_CHECKED: CloudFormation hasn't checked if the stack instance differs from its
expected stack set configuration.
IN_SYNC: The stack instance's actual configuration matches its expected stack set
configuration.
UNKNOWN: This value is reserved for future use.
StackDriftStatus,
StackDriftStatusStackInstance.Builder driftStatus(StackDriftStatus driftStatus)
Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs.
DRIFTED: The stack differs from the expected template and parameter configuration of the stack
set to which it belongs. A stack instance is considered to have drifted if one or more of the resources in
the associated stack have drifted.
NOT_CHECKED: CloudFormation hasn't checked if the stack instance differs from its expected stack
set configuration.
IN_SYNC: The stack instance's actual configuration matches its expected stack set configuration.
UNKNOWN: This value is reserved for future use.
driftStatus - Status of the stack instance's actual configuration compared to the expected template and parameter
configuration of the stack set to which it belongs.
DRIFTED: The stack differs from the expected template and parameter configuration of the
stack set to which it belongs. A stack instance is considered to have drifted if one or more of the
resources in the associated stack have drifted.
NOT_CHECKED: CloudFormation hasn't checked if the stack instance differs from its
expected stack set configuration.
IN_SYNC: The stack instance's actual configuration matches its expected stack set
configuration.
UNKNOWN: This value is reserved for future use.
StackDriftStatus,
StackDriftStatusStackInstance.Builder lastDriftCheckTimestamp(Instant lastDriftCheckTimestamp)
Most recent time when CloudFormation performed a drift detection operation on the stack instance. This value
will be NULL for any stack instance on which drift detection hasn't yet been performed.
lastDriftCheckTimestamp - Most recent time when CloudFormation performed a drift detection operation on the stack instance. This
value will be NULL for any stack instance on which drift detection hasn't yet been
performed.StackInstance.Builder lastOperationId(String lastOperationId)
The last unique ID of a StackSet operation performed on a stack instance.
lastOperationId - The last unique ID of a StackSet operation performed on a stack instance.Copyright © 2023. All rights reserved.