NAME

Paws::CloudFormation::StackResourceDrift

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CloudFormation::StackResourceDrift object:

$service_obj->Method(Att1 => { ActualProperties => $value, ..., Timestamp => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFormation::StackResourceDrift object:

$result = $service_obj->Method(...);
$result->Att1->ActualProperties

DESCRIPTION

Contains the drift information for a resource that has been checked for drift. This includes actual and expected property values for resources in which AWS CloudFormation has detected drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html).

Resources that do not currently support drift detection cannot be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html).

Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.

ATTRIBUTES

ActualProperties => Str

A JSON structure containing the actual property values of the stack resource.

For resources whose StackResourceDriftStatus is DELETED, this structure will not be present.

ExpectedProperties => Str

A JSON structure containing the expected property values of the stack resource, as defined in the stack template and any values specified as template parameters.

For resources whose StackResourceDriftStatus is DELETED, this structure will not be present.

REQUIRED LogicalResourceId => Str

The logical name of the resource specified in the template.

ModuleInfo => Paws::CloudFormation::ModuleInfo

Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.

PhysicalResourceId => Str

The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation.

PhysicalResourceIdContext => ArrayRef[Paws::CloudFormation::PhysicalResourceIdContextKeyValuePair]

Context information that enables AWS CloudFormation to uniquely identify a resource. AWS CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs are not enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource.

PropertyDifferences => ArrayRef[Paws::CloudFormation::PropertyDifference]

A collection of the resource properties whose actual values differ from their expected values. These will be present only for resources whose StackResourceDriftStatus is MODIFIED.

REQUIRED ResourceType => Str

The type of the resource.

REQUIRED StackId => Str

The ID of the stack.

REQUIRED StackResourceDriftStatus => Str

Status of the resource's actual configuration compared to its expected configuration

  • DELETED: The resource differs from its expected template configuration because the resource has been deleted.

  • MODIFIED: One or more resource properties differ from their expected values (as defined in the stack template and any values specified as template parameters).

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

  • NOT_CHECKED: AWS CloudFormation does not currently return this value.

REQUIRED Timestamp => Str

Time at which AWS CloudFormation performed drift detection on the stack resource.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudFormation

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues