Struct aws_sdk_resiliencehub::types::LogicalResourceId
source · #[non_exhaustive]pub struct LogicalResourceId {
pub identifier: String,
pub logical_stack_name: Option<String>,
pub resource_group_name: Option<String>,
pub terraform_source_name: Option<String>,
pub eks_source_name: Option<String>,
}Expand description
Defines a logical resource identifier.
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.identifier: StringIdentifier of the resource.
logical_stack_name: Option<String>The name of the CloudFormation stack this resource belongs to.
resource_group_name: Option<String>The name of the resource group that this resource belongs to.
terraform_source_name: Option<String>The name of the Terraform S3 state file this resource belongs to.
eks_source_name: Option<String>Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
Implementations§
source§impl LogicalResourceId
impl LogicalResourceId
sourcepub fn identifier(&self) -> &str
pub fn identifier(&self) -> &str
Identifier of the resource.
sourcepub fn logical_stack_name(&self) -> Option<&str>
pub fn logical_stack_name(&self) -> Option<&str>
The name of the CloudFormation stack this resource belongs to.
sourcepub fn resource_group_name(&self) -> Option<&str>
pub fn resource_group_name(&self) -> Option<&str>
The name of the resource group that this resource belongs to.
sourcepub fn terraform_source_name(&self) -> Option<&str>
pub fn terraform_source_name(&self) -> Option<&str>
The name of the Terraform S3 state file this resource belongs to.
sourcepub fn eks_source_name(&self) -> Option<&str>
pub fn eks_source_name(&self) -> Option<&str>
Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
source§impl LogicalResourceId
impl LogicalResourceId
sourcepub fn builder() -> LogicalResourceIdBuilder
pub fn builder() -> LogicalResourceIdBuilder
Creates a new builder-style object to manufacture LogicalResourceId.
Trait Implementations§
source§impl Clone for LogicalResourceId
impl Clone for LogicalResourceId
source§fn clone(&self) -> LogicalResourceId
fn clone(&self) -> LogicalResourceId
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LogicalResourceId
impl Debug for LogicalResourceId
source§impl PartialEq for LogicalResourceId
impl PartialEq for LogicalResourceId
source§fn eq(&self, other: &LogicalResourceId) -> bool
fn eq(&self, other: &LogicalResourceId) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LogicalResourceId
Auto Trait Implementations§
impl Freeze for LogicalResourceId
impl RefUnwindSafe for LogicalResourceId
impl Send for LogicalResourceId
impl Sync for LogicalResourceId
impl Unpin for LogicalResourceId
impl UnwindSafe for LogicalResourceId
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