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 ==
.impl StructuralPartialEq for ModuleInfo
Auto Trait Implementations§
impl Freeze for ModuleInfo
impl RefUnwindSafe for ModuleInfo
impl Send for ModuleInfo
impl Sync for ModuleInfo
impl Unpin for ModuleInfo
impl UnwindSafe for ModuleInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more