Skip to content

Deletes the specified HSM

Description

Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use describe_clusters.

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

Usage

cloudhsmv2_delete_hsm(ClusterId, HsmId, EniId, EniIp)

Arguments

  • ClusterId

    [required] The identifier (ID) of the cluster that contains the HSM that you are deleting.

  • HsmId

    The identifier (ID) of the HSM that you are deleting.

  • EniId

    The identifier (ID) of the elastic network interface (ENI) of the HSM that you are deleting.

  • EniIp

    The IP address of the elastic network interface (ENI) of the HSM that you are deleting.

Value

A list with the following syntax:

list(
  HsmId = "string"
)

Request syntax

svc$delete_hsm(
  ClusterId = "string",
  HsmId = "string",
  EniId = "string",
  EniIp = "string"
)