Struct aws_sdk_cloudformation::types::ModuleInfo
source · #[non_exhaustive]pub struct ModuleInfo {
pub type_hierarchy: Option<String>,
pub logical_id_hierarchy: Option<String>,
}
Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type_hierarchy: Option<String>
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
logical_id_hierarchy: Option<String>
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.
Implementations§
source§impl ModuleInfo
impl ModuleInfo
sourcepub fn type_hierarchy(&self) -> Option<&str>
pub fn type_hierarchy(&self) -> Option<&str>
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
sourcepub fn logical_id_hierarchy(&self) -> Option<&str>
pub fn logical_id_hierarchy(&self) -> Option<&str>
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.
source§impl ModuleInfo
impl ModuleInfo
sourcepub fn builder() -> ModuleInfoBuilder
pub fn builder() -> ModuleInfoBuilder
Creates a new builder-style object to manufacture ModuleInfo
.
Trait Implementations§
source§impl Clone for ModuleInfo
impl Clone for ModuleInfo
source§fn clone(&self) -> ModuleInfo
fn clone(&self) -> ModuleInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModuleInfo
impl Debug for ModuleInfo
source§impl PartialEq for ModuleInfo
impl PartialEq for ModuleInfo
source§fn eq(&self, other: &ModuleInfo) -> bool
fn eq(&self, other: &ModuleInfo) -> bool
self
and other
values to be equal, and is used
by ==
.