class Aws::CloudHSM::Types::CreateHsmRequest

Contains the inputs for the `CreateHsm` operation.

@note When making an API call, you may pass CreateHsmRequest

data as a hash:

    {
      subnet_id: "SubnetId", # required
      ssh_key: "SshKey", # required
      eni_ip: "IpAddress",
      iam_role_arn: "IamRoleArn", # required
      external_id: "ExternalId",
      subscription_type: "PRODUCTION", # required, accepts PRODUCTION
      client_token: "ClientToken",
      syslog_ip: "IpAddress",
    }

@!attribute [rw] subnet_id

The identifier of the subnet in your VPC in which to place the HSM.
@return [String]

@!attribute [rw] ssh_key

The SSH public key to install on the HSM.
@return [String]

@!attribute [rw] eni_ip

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.
@return [String]

@!attribute [rw] iam_role_arn

The ARN of an IAM role to enable the AWS CloudHSM service to
allocate an ENI on your behalf.
@return [String]

@!attribute [rw] external_id

The external ID from `IamRoleArn`, if present.
@return [String]

@!attribute [rw] subscription_type

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.
@return [String]

@!attribute [rw] client_token

A user-defined token to ensure idempotence. Subsequent calls to this
operation with the same token will be ignored.
@return [String]

@!attribute [rw] syslog_ip

The IP address for the syslog monitoring server. The AWS CloudHSM
service only supports one syslog monitoring server.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHsmRequest AWS API Documentation

Constants

SENSITIVE