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 CloudHSM, see CloudHSM and the 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 collapse
-
new AWS.CloudHSMV2(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
copyBackupToRegion(params = {}, callback) ⇒ AWS.Request
Copy an CloudHSM cluster backup to a different region.
Cross-account use: No.
-
createCluster(params = {}, callback) ⇒ AWS.Request
Creates a new CloudHSM cluster.
Cross-account use: Yes.
-
createHsm(params = {}, callback) ⇒ AWS.Request
Creates a new hardware security module (HSM) in the specified CloudHSM cluster.
Cross-account use: No.
-
deleteBackup(params = {}, callback) ⇒ AWS.Request
Deletes a specified CloudHSM backup.
-
deleteCluster(params = {}, callback) ⇒ AWS.Request
Deletes the specified CloudHSM cluster.
-
deleteHsm(params = {}, callback) ⇒ AWS.Request
Deletes the specified HSM.
-
deleteResourcePolicy(params = {}, callback) ⇒ AWS.Request
Deletes an CloudHSM resource policy.
-
describeBackups(params = {}, callback) ⇒ AWS.Request
Gets information about backups of CloudHSM clusters.
-
describeClusters(params = {}, callback) ⇒ AWS.Request
Gets information about CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the clusters.
-
getResourcePolicy(params = {}, callback) ⇒ AWS.Request
Retrieves the resource policy document attached to a given resource.
-
initializeCluster(params = {}, callback) ⇒ AWS.Request
Claims an 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 CloudHSM cluster.
This is a paginated operation, which means that each response might contain only a subset of all the tags.
-
modifyBackupAttributes(params = {}, callback) ⇒ AWS.Request
Modifies attributes for CloudHSM backup.
Cross-account use: No.
-
modifyCluster(params = {}, callback) ⇒ AWS.Request
Modifies CloudHSM cluster.
Cross-account use: No.
-
putResourcePolicy(params = {}, callback) ⇒ AWS.Request
Creates or updates an CloudHSM resource policy.
-
restoreBackup(params = {}, callback) ⇒ AWS.Request
Restores a specified CloudHSM backup that is in the
PENDING_DELETIONstate. -
tagResource(params = {}, callback) ⇒ AWS.Request
Adds or overwrites one or more tags for the specified CloudHSM cluster.
Cross-account use: No.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes the specified tag or tags from the specified CloudHSM cluster.
Cross-account use: No.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.CloudHSMV2(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
copyBackupToRegion(params = {}, callback) ⇒ AWS.Request
Copy an CloudHSM cluster backup to a different region.
Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.