@Generated(value="software.amazon.awssdk:codegen") public final class StackResourceDriftInformationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackResourceDriftInformationSummary.Builder,StackResourceDriftInformationSummary>
Summarizes information about whether the resource's actual configuration differs, or has drifted, from its expected configuration.
Modifier and Type | Class and Description |
---|---|
static interface |
StackResourceDriftInformationSummary.Builder |
Modifier and Type | Method and Description |
---|---|
static StackResourceDriftInformationSummary.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastCheckTimestamp()
When AWS CloudFormation last checked if the resource had drifted from its expected configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StackResourceDriftInformationSummary.Builder> |
serializableBuilderClass() |
StackResourceDriftStatus |
stackResourceDriftStatus()
Status of the resource's actual configuration compared to its expected configuration
|
String |
stackResourceDriftStatusAsString()
Status of the resource's actual configuration compared to its expected configuration
|
StackResourceDriftInformationSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public StackResourceDriftStatus stackResourceDriftStatus()
Status of the resource's actual configuration compared to its expected configuration
DELETED
: The resource differs from its expected configuration in that it has been deleted.
MODIFIED
: The resource differs from its expected configuration.
NOT_CHECKED
: AWS CloudFormation has not checked if the resource differs from its expected
configuration.
Any resources that do not currently support drift detection have a status of NOT_CHECKED
. For more
information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a
stack, any resources included in ResourcesToSkip
will also have a status of NOT_CHECKED
. For more information on skipping resources during rollback operations, see Continue Rolling Back an Update in the AWS CloudFormation User Guide.
IN_SYNC
: The resources's actual configuration matches its expected configuration.
If the service returns an enum value that is not available in the current SDK version,
stackResourceDriftStatus
will return StackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from stackResourceDriftStatusAsString()
.
DELETED
: The resource differs from its expected configuration in that it has been deleted.
MODIFIED
: The resource differs from its expected configuration.
NOT_CHECKED
: AWS CloudFormation has not checked if the resource differs from its expected
configuration.
Any resources that do not currently support drift detection have a status of NOT_CHECKED
.
For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation
on a stack, any resources included in ResourcesToSkip
will also have a status of
NOT_CHECKED
. For more information on skipping resources during rollback operations, see Continue Rolling Back an Update in the AWS CloudFormation User Guide.
IN_SYNC
: The resources's actual configuration matches its expected configuration.
StackResourceDriftStatus
public String stackResourceDriftStatusAsString()
Status of the resource's actual configuration compared to its expected configuration
DELETED
: The resource differs from its expected configuration in that it has been deleted.
MODIFIED
: The resource differs from its expected configuration.
NOT_CHECKED
: AWS CloudFormation has not checked if the resource differs from its expected
configuration.
Any resources that do not currently support drift detection have a status of NOT_CHECKED
. For more
information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a
stack, any resources included in ResourcesToSkip
will also have a status of NOT_CHECKED
. For more information on skipping resources during rollback operations, see Continue Rolling Back an Update in the AWS CloudFormation User Guide.
IN_SYNC
: The resources's actual configuration matches its expected configuration.
If the service returns an enum value that is not available in the current SDK version,
stackResourceDriftStatus
will return StackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from stackResourceDriftStatusAsString()
.
DELETED
: The resource differs from its expected configuration in that it has been deleted.
MODIFIED
: The resource differs from its expected configuration.
NOT_CHECKED
: AWS CloudFormation has not checked if the resource differs from its expected
configuration.
Any resources that do not currently support drift detection have a status of NOT_CHECKED
.
For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation
on a stack, any resources included in ResourcesToSkip
will also have a status of
NOT_CHECKED
. For more information on skipping resources during rollback operations, see Continue Rolling Back an Update in the AWS CloudFormation User Guide.
IN_SYNC
: The resources's actual configuration matches its expected configuration.
StackResourceDriftStatus
public Instant lastCheckTimestamp()
When AWS CloudFormation last checked if the resource had drifted from its expected configuration.
public StackResourceDriftInformationSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StackResourceDriftInformationSummary.Builder,StackResourceDriftInformationSummary>
public static StackResourceDriftInformationSummary.Builder builder()
public static Class<? extends StackResourceDriftInformationSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.