Struct aws_sdk_cloudhsmv2::types::Hsm
source · #[non_exhaustive]pub struct Hsm {
pub availability_zone: Option<String>,
pub cluster_id: Option<String>,
pub subnet_id: Option<String>,
pub eni_id: Option<String>,
pub eni_ip: Option<String>,
pub hsm_id: String,
pub state: Option<HsmState>,
pub state_message: Option<String>,
}Expand description
Contains information about a hardware security module (HSM) in an AWS CloudHSM cluster.
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.availability_zone: Option<String>The Availability Zone that contains the HSM.
cluster_id: Option<String>The identifier (ID) of the cluster that contains the HSM.
subnet_id: Option<String>The subnet that contains the HSM's elastic network interface (ENI).
eni_id: Option<String>The identifier (ID) of the HSM's elastic network interface (ENI).
eni_ip: Option<String>The IP address of the HSM's elastic network interface (ENI).
hsm_id: StringThe HSM's identifier (ID).
state: Option<HsmState>The HSM's state.
state_message: Option<String>A description of the HSM's state.
Implementations§
source§impl Hsm
impl Hsm
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone that contains the HSM.
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
The identifier (ID) of the cluster that contains the HSM.
sourcepub fn subnet_id(&self) -> Option<&str>
pub fn subnet_id(&self) -> Option<&str>
The subnet that contains the HSM's elastic network interface (ENI).
sourcepub fn eni_id(&self) -> Option<&str>
pub fn eni_id(&self) -> Option<&str>
The identifier (ID) of the HSM's elastic network interface (ENI).
sourcepub fn eni_ip(&self) -> Option<&str>
pub fn eni_ip(&self) -> Option<&str>
The IP address of the HSM's elastic network interface (ENI).
sourcepub fn state_message(&self) -> Option<&str>
pub fn state_message(&self) -> Option<&str>
A description of the HSM's state.