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)


5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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



5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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)


5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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)


5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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)


5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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)


5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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)


5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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)


5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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)


5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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)


5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
# File 'lib/aws-sdk-cloudformation/types.rb', line 5432

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