Client library for Amazon CloudHSM
npm install --save @datafire/amazonaws_cloudhsm
let amazonaws_cloudhsm = require('@datafire/amazonaws_cloudhsm').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
.then(data => {
console.log(data);
});
AWS CloudHSM Service
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
amazonaws_cloudhsm.AddTagsToResource({
"ResourceArn": null,
"TagList": null
}, context)
- input
object
- ResourceArn required
- TagList required
- items Tag
- output AddTagsToResourceResponse
amazonaws_cloudhsm.CreateHapg({
"Label": null
}, context)
- input
object
- Label required
- output CreateHapgResponse
amazonaws_cloudhsm.CreateHsm({
"SubnetId": null,
"SshKey": null,
"IamRoleArn": null,
"SubscriptionType": ""
}, context)
- input
object
- ClientToken
- EniIp
- ExternalId
- IamRoleArn required
- SshKey required
- SubnetId required
- SubscriptionType required SubscriptionType
- SyslogIp
- output CreateHsmResponse
amazonaws_cloudhsm.CreateLunaClient({
"Certificate": null
}, context)
- input
object
- Certificate required
- Label
- output CreateLunaClientResponse
amazonaws_cloudhsm.DeleteHapg({
"HapgArn": null
}, context)
- input
object
- HapgArn required
- output DeleteHapgResponse
amazonaws_cloudhsm.DeleteHsm({
"HsmArn": null
}, context)
- input
object
- HsmArn required
- output DeleteHsmResponse
amazonaws_cloudhsm.DeleteLunaClient({
"ClientArn": null
}, context)
- input
object
- ClientArn required
- output DeleteLunaClientResponse
amazonaws_cloudhsm.DescribeHapg({
"HapgArn": null
}, context)
- input
object
- HapgArn required
- output DescribeHapgResponse
amazonaws_cloudhsm.DescribeHsm({}, context)
- input
object
- HsmArn
- HsmSerialNumber
- output DescribeHsmResponse
amazonaws_cloudhsm.DescribeLunaClient({}, context)
- input
object
- CertificateFingerprint
- ClientArn
- output DescribeLunaClientResponse
amazonaws_cloudhsm.GetConfig({
"ClientArn": null,
"ClientVersion": null,
"HapgList": null
}, context)
- input
object
- ClientArn required
- ClientVersion required
- HapgList required
- items HapgArn
- output GetConfigResponse
amazonaws_cloudhsm.ListAvailableZones({}, context)
- input
object
- output ListAvailableZonesResponse
amazonaws_cloudhsm.ListHapgs({}, context)
- input
object
- NextToken
- output ListHapgsResponse
amazonaws_cloudhsm.ListHsms({}, context)
- input
object
- NextToken
- output ListHsmsResponse
amazonaws_cloudhsm.ListLunaClients({}, context)
- input
object
- NextToken
- output ListLunaClientsResponse
amazonaws_cloudhsm.ListTagsForResource({
"ResourceArn": null
}, context)
- input
object
- ResourceArn required
- output ListTagsForResourceResponse
amazonaws_cloudhsm.ModifyHapg({
"HapgArn": null
}, context)
- input
object
- HapgArn required
- Label
- PartitionSerialList
- items PartitionSerial
- output ModifyHapgResponse
amazonaws_cloudhsm.ModifyHsm({
"HsmArn": null
}, context)
- input
object
- EniIp
- ExternalId
- HsmArn required
- IamRoleArn
- SubnetId
- SyslogIp
- output ModifyHsmResponse
amazonaws_cloudhsm.ModifyLunaClient({
"ClientArn": null,
"Certificate": null
}, context)
- input
object
- Certificate required
- ClientArn required
- output ModifyLunaClientResponse
amazonaws_cloudhsm.RemoveTagsFromResource({
"ResourceArn": null,
"TagKeyList": null
}, context)
- input
object
- ResourceArn required
- TagKeyList required
- items TagKey
- AZ
string
- AZList
array
- items AZ
- AddTagsToResourceRequest
object
- ResourceArn required
- TagList required
- items Tag
- AddTagsToResourceResponse
object
- Status required
- Boolean
boolean
- Certificate
string
- CertificateFingerprint
string
- ClientArn
string
- ClientLabel
string
- ClientList
array
- items ClientArn
- ClientToken
string
- ClientVersion
string
(values: 5.1, 5.3)
- CloudHsmInternalException
object
: Indicates that an internal error occurred.
- CloudHsmObjectState
string
(values: READY, UPDATING, DEGRADED)
- CloudHsmServiceException
object
: Indicates that an exception occurred in the AWS CloudHSM service.- message
- retryable
- CreateHapgRequest
object
: Contains the inputs for the CreateHapgRequest action.- Label required
- CreateHapgResponse
object
: Contains the output of the CreateHAPartitionGroup action.- HapgArn
- CreateHsmRequest
object
: Contains the inputs for theCreateHsm
operation.- ClientToken
- EniIp
- ExternalId
- IamRoleArn required
- SshKey required
- SubnetId required
- SubscriptionType required SubscriptionType
- SyslogIp
- CreateHsmResponse
object
: Contains the output of theCreateHsm
operation.- HsmArn
- CreateLunaClientRequest
object
: Contains the inputs for the CreateLunaClient action.- Certificate required
- Label
- CreateLunaClientResponse
object
: Contains the output of the CreateLunaClient action.- ClientArn
- DeleteHapgRequest
object
: Contains the inputs for the DeleteHapg action.- HapgArn required
- DeleteHapgResponse
object
: Contains the output of the DeleteHapg action.- Status required
- DeleteHsmRequest
object
: Contains the inputs for the DeleteHsm operation.- HsmArn required
- DeleteHsmResponse
object
: Contains the output of the DeleteHsm operation.- Status required
- DeleteLunaClientRequest
object
- ClientArn required
- DeleteLunaClientResponse
object
- Status required
- DescribeHapgRequest
object
: Contains the inputs for the DescribeHapg action.- HapgArn required
- DescribeHapgResponse
object
: Contains the output of the DescribeHapg action.- HapgArn
- HapgSerial
- HsmsLastActionFailed
- items HsmArn
- HsmsPendingDeletion
- items HsmArn
- HsmsPendingRegistration
- items HsmArn
- Label
- LastModifiedTimestamp
- PartitionSerialList
- items PartitionSerial
- State
- DescribeHsmRequest
object
: Contains the inputs for the DescribeHsm operation.- HsmArn
- HsmSerialNumber
- DescribeHsmResponse
object
: Contains the output of the DescribeHsm operation.- AvailabilityZone
- EniId
- EniIp
- HsmArn
- HsmType
- IamRoleArn
- Partitions
- items PartitionArn
- SerialNumber
- ServerCertLastUpdated
- ServerCertUri
- SoftwareVersion
- SshKeyLastUpdated
- SshPublicKey
- Status
- StatusDetails
- SubnetId
- SubscriptionEndDate
- SubscriptionStartDate
- SubscriptionType SubscriptionType
- VendorName
- VpcId
- DescribeLunaClientRequest
object
- CertificateFingerprint
- ClientArn
- DescribeLunaClientResponse
object
- Certificate
- CertificateFingerprint
- ClientArn
- Label
- LastModifiedTimestamp
- EniId
string
- ExternalId
string
- GetConfigRequest
object
- ClientArn required
- ClientVersion required
- HapgList required
- items HapgArn
- GetConfigResponse
object
- ConfigCred
- ConfigFile
- ConfigType
- HapgArn
string
- HapgList
array
- items HapgArn
- HsmArn
string
: An ARN that identifies an HSM.
- HsmList
array
: Contains a list of ARNs that identify the HSMs.- items HsmArn
- HsmSerialNumber
string
- HsmStatus
string
(values: PENDING, RUNNING, UPDATING, SUSPENDED, TERMINATING, TERMINATED, DEGRADED)
- IamRoleArn
string
- InvalidRequestException
object
: Indicates that one or more of the request parameters are not valid.
- IpAddress
string
- Label
string
- ListAvailableZonesRequest
object
: Contains the inputs for the ListAvailableZones action.
- ListAvailableZonesResponse
object
- AZList
- items AZ
- AZList
- ListHapgsRequest
object
- NextToken
- ListHapgsResponse
object
- HapgList required
- items HapgArn
- NextToken
- HapgList required
- ListHsmsRequest
object
- NextToken
- ListHsmsResponse
object
: Contains the output of theListHsms
operation.- HsmList
- items HsmArn
- NextToken
- HsmList
- ListLunaClientsRequest
object
- NextToken
- ListLunaClientsResponse
object
- ClientList required
- items ClientArn
- NextToken
- ClientList required
- ListTagsForResourceRequest
object
- ResourceArn required
- ListTagsForResourceResponse
object
- TagList required
- items Tag
- TagList required
- ModifyHapgRequest
object
- HapgArn required
- Label
- PartitionSerialList
- items PartitionSerial
- ModifyHapgResponse
object
- HapgArn
- ModifyHsmRequest
object
: Contains the inputs for the ModifyHsm operation.- EniIp
- ExternalId
- HsmArn required
- IamRoleArn
- SubnetId
- SyslogIp
- ModifyHsmResponse
object
: Contains the output of the ModifyHsm operation.- HsmArn
- ModifyLunaClientRequest
object
- Certificate required
- ClientArn required
- ModifyLunaClientResponse
object
- ClientArn
- PaginationToken
string
- PartitionArn
string
- PartitionList
array
- items PartitionArn
- PartitionSerial
string
- PartitionSerialList
array
- items PartitionSerial
- RemoveTagsFromResourceRequest
object
- ResourceArn required
- TagKeyList required
- items TagKey
- RemoveTagsFromResourceResponse
object
- Status required
- SshKey
string
- String
string
- SubnetId
string
- SubscriptionType
string
(values: PRODUCTION):Specifies the type of subscription for the HSM.
-
PRODUCTION - The HSM is being used in a production environment.
-
TRIAL - The HSM is being used in a product trial.
-
- Tag
object
: A key-value pair that identifies or specifies metadata about an AWS CloudHSM resource.- Key required
- Value required
- TagKey
string
- TagKeyList
array
- items TagKey
- TagList
array
- items Tag
- TagValue
string
- Timestamp
string
- VpcId
string