Skip to content

Create Hsm

cloudhsmv2_create_hsm R Documentation

Creates a new hardware security module (HSM) in the specified CloudHSM cluster

Description

Creates a new hardware security module (HSM) in the specified CloudHSM cluster.

Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Service account.

Usage

cloudhsmv2_create_hsm(ClusterId, AvailabilityZone, IpAddress)

Arguments

ClusterId

[required] The identifier (ID) of the HSM's cluster. To find the cluster ID, use describe_clusters.

AvailabilityZone

[required] The Availability Zone where you are creating the HSM. To find the cluster's Availability Zones, use describe_clusters.

IpAddress

The HSM's IP address. If you specify an IP address, use an available address from the subnet that maps to the Availability Zone where you are creating the HSM. If you don't specify an IP address, one is chosen for you from that subnet.

Value

A list with the following syntax:

list(
  Hsm = list(
    AvailabilityZone = "string",
    ClusterId = "string",
    SubnetId = "string",
    EniId = "string",
    EniIp = "string",
    HsmId = "string",
    State = "CREATE_IN_PROGRESS"|"ACTIVE"|"DEGRADED"|"DELETE_IN_PROGRESS"|"DELETED",
    StateMessage = "string"
  )
)

Request syntax

svc$create_hsm(
  ClusterId = "string",
  AvailabilityZone = "string",
  IpAddress = "string"
)