Skip to content

ModuleInfo

Source code in docs_src/capo_cloudformation/types/module_info.py
class ModuleInfo(TypedDict, closed=True):
    type_hierarchy: NotRequired[
        "capo_cloudformation.types.type_hierarchy.TypeHierarchy"
    ]
    """<p>A concatenated list of the module type or types that contains the resource. Module types are listed starting with the inner-most nested module, and separated by <code>/</code>.</p> <p>In the following example, the resource was created from a module of type <code>AWS::First::Example::MODULE</code>, that's nested inside a parent module of type <code>AWS::Second::Example::MODULE</code>.</p> <p> <code>AWS::First::Example::MODULE/AWS::Second::Example::MODULE</code> </p>"""
    logical_id_hierarchy: NotRequired[
        "capo_cloudformation.types.logical_id_hierarchy.LogicalIdHierarchy"
    ]
    """<p>A concatenated list of the logical IDs of the module or modules that contains the resource. Modules are listed starting with the inner-most nested module, and separated by <code>/</code>.</p> <p>In the following example, the resource was created from a module, <code>moduleA</code>, that's nested inside a parent module, <code>moduleB</code>.</p> <p> <code>moduleA/moduleB</code> </p> <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/module-ref-resources.html">Reference module resources in CloudFormation templates</a> in the <i>CloudFormation User Guide</i>.</p>"""

logical_id_hierarchy instance-attribute

logical_id_hierarchy: NotRequired[LogicalIdHierarchy]

A concatenated list of the logical IDs of the module or modules that contains 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.

type_hierarchy instance-attribute

type_hierarchy: NotRequired[TypeHierarchy]

A concatenated list of the module type or types that contains 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