Class: Aws::CloudFormation::Types::StackResource

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

Overview

The StackResource data type.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

User defined description associated with the resource.

Returns:

  • (String)


4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end

#drift_informationTypes::StackResourceDriftInformation

Information about whether the resource’s actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see [Detecting Unregulated Configuration Changes to Stacks and Resources].

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



4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end

#logical_resource_idString

The logical name of the resource specified in the template.

Returns:

  • (String)


4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end

#physical_resource_idString

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

Returns:

  • (String)


4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end

#resource_statusString

Current status of the resource.

Returns:

  • (String)


4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end

#resource_status_reasonString

Success/failure message associated with the resource.

Returns:

  • (String)


4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end

#resource_typeString

Type of resource. (For more information, go to [ AWS Resource Types Reference] in the AWS CloudFormation User Guide.)

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html

Returns:

  • (String)


4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end

#stack_idString

Unique identifier of the stack.

Returns:

  • (String)


4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end

#stack_nameString

The name associated with the stack.

Returns:

  • (String)


4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end

#timestampTime

Time the status was updated.

Returns:

  • (Time)


4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
# File 'lib/aws-sdk-cloudformation/types.rb', line 4352

class StackResource < Struct.new(
  :stack_name,
  :stack_id,
  :logical_resource_id,
  :physical_resource_id,
  :resource_type,
  :timestamp,
  :resource_status,
  :resource_status_reason,
  :description,
  :drift_information)
  include Aws::Structure
end