Class: AWS.CloudHSMV2
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.CloudHSMV2
- Identifier:
- cloudhsmv2
- API Version:
- 2017-04-28
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
For more information about AWS CloudHSM, see AWS CloudHSM and the AWS CloudHSM User Guide.
Sending a Request Using CloudHSMV2
var cloudhsmv2 = new AWS.CloudHSMV2();
cloudhsmv2.copyBackupToRegion(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the CloudHSMV2 object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var cloudhsmv2 = new AWS.CloudHSMV2({apiVersion: '2017-04-28'});
You can also set the API version globally in AWS.config.apiVersions
using
the cloudhsmv2 service identifier:
AWS.config.apiVersions = {
cloudhsmv2: '2017-04-28',
// other service API versions
};
var cloudhsmv2 = new AWS.CloudHSMV2();
Constructor Summary
-
new AWS.CloudHSMV2(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
copyBackupToRegion(params = {}, callback) ⇒ AWS.Request
Copy an AWS CloudHSM cluster backup to a different region.
-
createCluster(params = {}, callback) ⇒ AWS.Request
Creates a new AWS CloudHSM cluster.
-
createHsm(params = {}, callback) ⇒ AWS.Request
Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.
-
deleteBackup(params = {}, callback) ⇒ AWS.Request
Deletes a specified AWS CloudHSM backup.
-
deleteCluster(params = {}, callback) ⇒ AWS.Request
Deletes the specified AWS CloudHSM cluster.
-
deleteHsm(params = {}, callback) ⇒ AWS.Request
Deletes the specified HSM.
-
describeBackups(params = {}, callback) ⇒ AWS.Request
Gets information about backups of AWS CloudHSM clusters.
-
describeClusters(params = {}, callback) ⇒ AWS.Request
Gets information about AWS CloudHSM clusters.
-
initializeCluster(params = {}, callback) ⇒ AWS.Request
Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate.
-
listTags(params = {}, callback) ⇒ AWS.Request
Gets a list of tags for the specified AWS CloudHSM cluster.
-
restoreBackup(params = {}, callback) ⇒ AWS.Request
Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes the specified tag or tags from the specified AWS CloudHSM cluster.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
copyBackupToRegion(params = {}, callback) ⇒ AWS.Request
Copy an AWS CloudHSM cluster backup to a different region.
createHsm(params = {}, callback) ⇒ AWS.Request
Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.
deleteBackup(params = {}, callback) ⇒ AWS.Request
Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request. For more information on restoring a backup, see RestoreBackup
deleteCluster(params = {}, callback) ⇒ AWS.Request
Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.
deleteHsm(params = {}, callback) ⇒ AWS.Request
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 DescribeClusters.
describeBackups(params = {}, callback) ⇒ AWS.Request
Gets information about backups of AWS CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken
value. Use this value in a subsequent DescribeBackups
request to get more backups. When you receive a response with no NextToken
(or an empty or null value), that means there are no more backups to get.
describeClusters(params = {}, callback) ⇒ AWS.Request
Gets information about AWS CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken
value. Use this value in a subsequent DescribeClusters
request to get more clusters. When you receive a response with no NextToken
(or an empty or null value), that means there are no more clusters to get.
initializeCluster(params = {}, callback) ⇒ AWS.Request
Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.
listTags(params = {}, callback) ⇒ AWS.Request
Gets a list of tags for the specified AWS CloudHSM cluster.
This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken
value. Use this value in a subsequent ListTags
request to get more tags. When you receive a response with no NextToken
(or an empty or null value), that means there are no more tags to get.
restoreBackup(params = {}, callback) ⇒ AWS.Request
Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION
state. For more information on deleting a backup, see DeleteBackup.