Class: Aws::CloudFormation::Types::StackResourceDriftInformation

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudformation/types.rb

Overview

Contains information about whether the resource’s actual configuration differs, or has drifted, from its expected configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#last_check_timestampTime

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

Returns:

  • (Time)


5671
5672
5673
5674
5675
# File 'lib/aws-sdk-cloudformation/types.rb', line 5671

class StackResourceDriftInformation < Struct.new(
  :stack_resource_drift_status,
  :last_check_timestamp)
  include Aws::Structure
end

#stack_resource_drift_statusString

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].

  • ‘IN_SYNC`: The resources’s actual configuration matches its expected configuration.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html

Returns:

  • (String)


5671
5672
5673
5674
5675
# File 'lib/aws-sdk-cloudformation/types.rb', line 5671

class StackResourceDriftInformation < Struct.new(
  :stack_resource_drift_status,
  :last_check_timestamp)
  include Aws::Structure
end