Struct aws_sdk_cloudhsm::operation::modify_hsm::ModifyHsmInput
source · #[non_exhaustive]pub struct ModifyHsmInput {
pub hsm_arn: Option<String>,
pub subnet_id: Option<String>,
pub eni_ip: Option<String>,
pub iam_role_arn: Option<String>,
pub external_id: Option<String>,
pub syslog_ip: Option<String>,
}Expand description
Contains the inputs for the ModifyHsm operation.
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.hsm_arn: Option<String>The ARN of the HSM to modify.
subnet_id: Option<String>The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
eni_ip: Option<String>The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
iam_role_arn: Option<String>The new IAM role ARN.
external_id: Option<String>The new external ID.
syslog_ip: Option<String>The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
Implementations§
source§impl ModifyHsmInput
impl ModifyHsmInput
sourcepub fn subnet_id(&self) -> Option<&str>
pub fn subnet_id(&self) -> Option<&str>
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
sourcepub fn eni_ip(&self) -> Option<&str>
pub fn eni_ip(&self) -> Option<&str>
The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
The new IAM role ARN.
sourcepub fn external_id(&self) -> Option<&str>
pub fn external_id(&self) -> Option<&str>
The new external ID.
source§impl ModifyHsmInput
impl ModifyHsmInput
sourcepub fn builder() -> ModifyHsmInputBuilder
pub fn builder() -> ModifyHsmInputBuilder
Creates a new builder-style object to manufacture ModifyHsmInput.
Trait Implementations§
source§impl Clone for ModifyHsmInput
impl Clone for ModifyHsmInput
source§fn clone(&self) -> ModifyHsmInput
fn clone(&self) -> ModifyHsmInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModifyHsmInput
impl Debug for ModifyHsmInput
source§impl PartialEq for ModifyHsmInput
impl PartialEq for ModifyHsmInput
source§fn eq(&self, other: &ModifyHsmInput) -> bool
fn eq(&self, other: &ModifyHsmInput) -> bool
self and other values to be equal, and is used
by ==.