Struct aws_sdk_cloudhsm::operation::create_hsm::CreateHsmInput
source · #[non_exhaustive]pub struct CreateHsmInput {
pub subnet_id: Option<String>,
pub ssh_key: Option<String>,
pub eni_ip: Option<String>,
pub iam_role_arn: Option<String>,
pub external_id: Option<String>,
pub subscription_type: Option<SubscriptionType>,
pub client_token: Option<String>,
pub syslog_ip: Option<String>,
}Expand description
Contains the inputs for the CreateHsm 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.subnet_id: Option<String>The identifier of the subnet in your VPC in which to place the HSM.
ssh_key: Option<String>The SSH public key to install on the HSM.
eni_ip: Option<String>The IP address to assign to the HSM's ENI.
If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet.
iam_role_arn: Option<String>The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
external_id: Option<String>The external ID from IamRoleArn, if present.
subscription_type: Option<SubscriptionType>Specifies the type of subscription for the HSM.
-
PRODUCTION - The HSM is being used in a production environment.
-
TRIAL - The HSM is being used in a product trial.
client_token: Option<String>A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
syslog_ip: Option<String>The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
Implementations§
source§impl CreateHsmInput
impl CreateHsmInput
sourcepub fn subnet_id(&self) -> Option<&str>
pub fn subnet_id(&self) -> Option<&str>
The identifier of the subnet in your VPC in which to place the HSM.
sourcepub fn eni_ip(&self) -> Option<&str>
pub fn eni_ip(&self) -> Option<&str>
The IP address to assign to the HSM's ENI.
If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.
sourcepub fn external_id(&self) -> Option<&str>
pub fn external_id(&self) -> Option<&str>
The external ID from IamRoleArn, if present.
sourcepub fn subscription_type(&self) -> Option<&SubscriptionType>
pub fn subscription_type(&self) -> Option<&SubscriptionType>
Specifies the type of subscription for the HSM.
-
PRODUCTION - The HSM is being used in a production environment.
-
TRIAL - The HSM is being used in a product trial.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.
source§impl CreateHsmInput
impl CreateHsmInput
sourcepub fn builder() -> CreateHsmInputBuilder
pub fn builder() -> CreateHsmInputBuilder
Creates a new builder-style object to manufacture CreateHsmInput.
Trait Implementations§
source§impl Clone for CreateHsmInput
impl Clone for CreateHsmInput
source§fn clone(&self) -> CreateHsmInput
fn clone(&self) -> CreateHsmInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateHsmInput
impl Debug for CreateHsmInput
source§impl PartialEq<CreateHsmInput> for CreateHsmInput
impl PartialEq<CreateHsmInput> for CreateHsmInput
source§fn eq(&self, other: &CreateHsmInput) -> bool
fn eq(&self, other: &CreateHsmInput) -> bool
self and other values to be equal, and is used
by ==.