Class StackResourceDriftInformationSummary

    • Method Detail

      • stackResourceDriftStatus

        public final 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: CloudFormation hasn't checked if the resource differs from its expected configuration.

          Any resources that don't 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 about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

        • IN_SYNC: The resource'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().

        Returns:
        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: CloudFormation hasn't checked if the resource differs from its expected configuration.

          Any resources that don't 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 about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

        • IN_SYNC: The resource's actual configuration matches its expected configuration.

        See Also:
        StackResourceDriftStatus
      • stackResourceDriftStatusAsString

        public final 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: CloudFormation hasn't checked if the resource differs from its expected configuration.

          Any resources that don't 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 about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

        • IN_SYNC: The resource'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().

        Returns:
        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: CloudFormation hasn't checked if the resource differs from its expected configuration.

          Any resources that don't 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 about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide.

        • IN_SYNC: The resource's actual configuration matches its expected configuration.

        See Also:
        StackResourceDriftStatus
      • lastCheckTimestamp

        public final Instant lastCheckTimestamp()

        When CloudFormation last checked if the resource had drifted from its expected configuration.

        Returns:
        When CloudFormation last checked if the resource had drifted from its expected configuration.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)