amazonka-cloudhsm-0.3.2: Amazon CloudHSM SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudHSM.CreateHsm

Contents

Description

Creates an uninitialized HSM instance. Running this command provisions an HSM appliance and will result in charges to your AWS account for the HSM.

http://docs.aws.amazon.com/cloudhsm/latest/dg/API_CreateHsm.html

Synopsis

Request

data CreateHsm Source

Instances

Eq CreateHsm 
Read CreateHsm 
Show CreateHsm 
AWSRequest CreateHsm 
ToQuery CreateHsm 
ToPath CreateHsm 
ToHeaders CreateHsm 
ToJSON CreateHsm 
type Sv CreateHsm = CloudHSM 
type Rs CreateHsm = CreateHsmResponse 

Request constructor

createHsm Source

CreateHsm constructor.

The fields accessible through corresponding lenses are:

Request lenses

chClientToken :: Lens' CreateHsm (Maybe Text) Source

A user-defined token to ensure idempotence. Subsequent calls to this action with the same token will be ignored.

chEniIp :: Lens' CreateHsm (Maybe Text) Source

The IP address to assign to the HSM's ENI.

chExternalId :: Lens' CreateHsm (Maybe Text) Source

The external ID from IamRoleArn, if present.

chIamRoleArn :: Lens' CreateHsm Text Source

The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.

chSshKey :: Lens' CreateHsm Text Source

The SSH public key to install on the HSM.

chSubnetId :: Lens' CreateHsm Text Source

The identifier of the subnet in your VPC in which to place the HSM.

chSubscriptionType :: Lens' CreateHsm SubscriptionType Source

The subscription type.

chSyslogIp :: Lens' CreateHsm (Maybe Text) Source

The IP address for the syslog monitoring server.

Response

Response constructor

createHsmResponse :: CreateHsmResponse Source

CreateHsmResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

chrHsmArn :: Lens' CreateHsmResponse (Maybe Text) Source

The ARN of the HSM.