Class: Aws::CloudFormation::Types::ModuleInfo

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

Overview

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

For more information on modules, see Using modules to encapsulate and reuse resource configurations in the CloudFormation User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#logical_id_hierarchyString

A concantenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /.

In the following example, the resource was created from a module, moduleA, that is nested inside a parent module, moduleB.

moduleA/moduleB

For more information, see Referencing resources in a module in the CloudFormation User Guide.

Returns:

  • (String)


5401
5402
5403
5404
5405
5406
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 5401

class ModuleInfo < Struct.new(
  :type_hierarchy,
  :logical_id_hierarchy)
  SENSITIVE = []
  include Aws::Structure
end

#type_hierarchyString

A concantenated list of the the module type or types containing the resource. Module types are listed starting with the inner-most nested module, and separated by /.

In the following example, the resource was created from a module of type AWS::First::Example::MODULE, that is nested inside a parent module of type AWS::Second::Example::MODULE.

AWS::First::Example::MODULE/AWS::Second::Example::MODULE

Returns:

  • (String)


5401
5402
5403
5404
5405
5406
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 5401

class ModuleInfo < Struct.new(
  :type_hierarchy,
  :logical_id_hierarchy)
  SENSITIVE = []
  include Aws::Structure
end