Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data CreateHsm
- createHsm :: Text -> Text -> Text -> SubscriptionType -> CreateHsm
- chClientToken :: Lens' CreateHsm (Maybe Text)
- chEniIp :: Lens' CreateHsm (Maybe Text)
- chExternalId :: Lens' CreateHsm (Maybe Text)
- chIamRoleArn :: Lens' CreateHsm Text
- chSshKey :: Lens' CreateHsm Text
- chSubnetId :: Lens' CreateHsm Text
- chSubscriptionType :: Lens' CreateHsm SubscriptionType
- chSyslogIp :: Lens' CreateHsm (Maybe Text)
- data CreateHsmResponse
- createHsmResponse :: CreateHsmResponse
- chrHsmArn :: Lens' CreateHsmResponse (Maybe Text)
Request
Request constructor
:: Text | |
-> Text | |
-> Text | |
-> SubscriptionType | |
-> CreateHsm |
CreateHsm
constructor.
The fields accessible through corresponding lenses are:
chClientToken
::
Maybe
Text
chEniIp
::
Maybe
Text
chExternalId
::
Maybe
Text
chIamRoleArn
::
Text
chSshKey
::
Text
chSubnetId
::
Text
chSubscriptionType
::
SubscriptionType
chSyslogIp
::
Maybe
Text
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.
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.
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
data CreateHsmResponse Source
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.