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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 about modules, see [Create reusable resource configurations that can be included across templates with CloudFormation modules] in the *CloudFormation User Guide*.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/modules.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#logical_id_hierarchyString

A concatenated 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’s nested inside a parent module, ‘moduleB`.

‘moduleA/moduleB`

For more information, see [Reference module resources in CloudFormation templates] in the *CloudFormation User Guide*.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/module-ref-resources.html

Returns:

  • (String)


6026
6027
6028
6029
6030
6031
# File 'lib/aws-sdk-cloudformation/types.rb', line 6026

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

#type_hierarchyString

A concatenated list of 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’s nested inside a parent module of type ‘AWS::Second::Example::MODULE`.

‘AWS::First::Example::MODULE/AWS::Second::Example::MODULE`

Returns:

  • (String)


6026
6027
6028
6029
6030
6031
# File 'lib/aws-sdk-cloudformation/types.rb', line 6026

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