Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateHsmCommand

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

example

Use a bare-bones client and the command you need to make an API call.

import { CloudHSMV2Client, CreateHsmCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import
// const { CloudHSMV2Client, CreateHsmCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
const client = new CloudHSMV2Client(config);
const command = new CreateHsmCommand(input);
const response = await client.send(command);
see

CreateHsmCommandInput for command's input shape.

see

CreateHsmCommandOutput for command's response shape.

see

config for CloudHSMV2Client's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateHsmCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateHsmCommandInput, CreateHsmCommandOutput>