Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 on modules, see Using modules to encapsulate and reuse resource configurations in the CloudFormation User Guide.
See: newModuleInfo
smart constructor.
ModuleInfo' | |
|
Instances
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:typeHierarchy:ModuleInfo'
, moduleInfo_typeHierarchy
- 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
$sel:logicalIdHierarchy:ModuleInfo'
, moduleInfo_logicalIdHierarchy
- 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.
moduleInfo_typeHierarchy :: Lens' ModuleInfo (Maybe Text) Source #
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
moduleInfo_logicalIdHierarchy :: Lens' ModuleInfo (Maybe Text) Source #
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.