Struct aws_sdk_cloudformation::model::ModuleInfo
source · [−]#[non_exhaustive]pub struct ModuleInfo { /* private fields */ }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.
Implementations
sourceimpl 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.
sourceimpl ModuleInfo
impl ModuleInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModuleInfo.
Trait Implementations
sourceimpl Clone for ModuleInfo
impl Clone for ModuleInfo
sourcefn clone(&self) -> ModuleInfo
fn clone(&self) -> ModuleInfo
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more