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 ==.