amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFormation.Types.ModuleInfo

Description

 
Synopsis

Documentation

data ModuleInfo Source #

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 Using modules to encapsulate and reuse resource configurations in the CloudFormation User Guide.

See: newModuleInfo smart constructor.

Constructors

ModuleInfo' 

Fields

  • logicalIdHierarchy :: Maybe Text

    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 Referencing resources in a module in the CloudFormation User Guide.

  • typeHierarchy :: Maybe Text

    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

Instances

Instances details
FromXML ModuleInfo Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ModuleInfo

Generic ModuleInfo Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ModuleInfo

Associated Types

type Rep ModuleInfo :: Type -> Type #

Read ModuleInfo Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ModuleInfo

Show ModuleInfo Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ModuleInfo

NFData ModuleInfo Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ModuleInfo

Methods

rnf :: ModuleInfo -> () #

Eq ModuleInfo Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ModuleInfo

Hashable ModuleInfo Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ModuleInfo

type Rep ModuleInfo Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ModuleInfo

type Rep ModuleInfo = D1 ('MetaData "ModuleInfo" "Amazonka.CloudFormation.Types.ModuleInfo" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "ModuleInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logicalIdHierarchy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "typeHierarchy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newModuleInfo :: ModuleInfo Source #

Create a value of ModuleInfo with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:logicalIdHierarchy:ModuleInfo', moduleInfo_logicalIdHierarchy - 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 Referencing resources in a module in the CloudFormation User Guide.

$sel:typeHierarchy:ModuleInfo', moduleInfo_typeHierarchy - 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

moduleInfo_logicalIdHierarchy :: Lens' ModuleInfo (Maybe Text) Source #

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 Referencing resources in a module in the CloudFormation User Guide.

moduleInfo_typeHierarchy :: Lens' ModuleInfo (Maybe Text) Source #

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