Class StackDriftInformationSummary

    • Method Detail

      • stackDriftStatus

        public final StackDriftStatus stackDriftStatus()

        Status of the stack's actual configuration compared to its expected template configuration.

        • DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.

        • NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration.

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

        • UNKNOWN: CloudFormation could not run drift detection for a resource in the stack.

        If the service returns an enum value that is not available in the current SDK version, stackDriftStatus will return StackDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stackDriftStatusAsString().

        Returns:
        Status of the stack's actual configuration compared to its expected template configuration.

        • DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.

        • NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration.

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

        • UNKNOWN: CloudFormation could not run drift detection for a resource in the stack.

        See Also:
        StackDriftStatus
      • stackDriftStatusAsString

        public final String stackDriftStatusAsString()

        Status of the stack's actual configuration compared to its expected template configuration.

        • DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.

        • NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration.

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

        • UNKNOWN: CloudFormation could not run drift detection for a resource in the stack.

        If the service returns an enum value that is not available in the current SDK version, stackDriftStatus will return StackDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stackDriftStatusAsString().

        Returns:
        Status of the stack's actual configuration compared to its expected template configuration.

        • DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.

        • NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration.

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

        • UNKNOWN: CloudFormation could not run drift detection for a resource in the stack.

        See Also:
        StackDriftStatus
      • lastCheckTimestamp

        public final Instant lastCheckTimestamp()

        Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.

        Returns:
        Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
      • 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)