Class: AWS.ACM
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.ACM
- Identifier:
- acm
- API Version:
- 2015-12-08
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites and applications. For more information about using ACM, see the Certificate Manager User Guide.
Sending a Request Using ACM
var acm = new AWS.ACM();
acm.addTagsToCertificate(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 ACM object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var acm = new AWS.ACM({apiVersion: '2015-12-08'});
You can also set the API version globally in AWS.config.apiVersions using
the acm service identifier:
AWS.config.apiVersions = {
acm: '2015-12-08',
// other service API versions
};
var acm = new AWS.ACM();
Waiter Resource States
This service supports a list of resource states that can be polled using the waitFor() method. The resource states are:
Constructor Summary collapse
-
new AWS.ACM(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
-
addTagsToCertificate(params = {}, callback) ⇒ AWS.Request
Adds one or more tags to an ACM certificate.
-
deleteCertificate(params = {}, callback) ⇒ AWS.Request
Deletes a certificate and its associated private key.
-
describeCertificate(params = {}, callback) ⇒ AWS.Request
Returns detailed metadata about the specified ACM certificate.
If you have just created a certificate using the
.RequestCertificateaction, there is a delay of several seconds before you can retrieve information about it. -
exportCertificate(params = {}, callback) ⇒ AWS.Request
Exports a private certificate issued by a private certificate authority (CA) for use anywhere.
-
getAccountConfiguration(params = {}, callback) ⇒ AWS.Request
Returns the account configuration options associated with an Amazon Web Services account.
.
-
getCertificate(params = {}, callback) ⇒ AWS.Request
Retrieves a certificate and its certificate chain.
-
importCertificate(params = {}, callback) ⇒ AWS.Request
Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with ACM.
-
listCertificates(params = {}, callback) ⇒ AWS.Request
Retrieves a list of certificate ARNs and domain names.
-
listTagsForCertificate(params = {}, callback) ⇒ AWS.Request
Lists the tags that have been applied to the ACM certificate.
-
putAccountConfiguration(params = {}, callback) ⇒ AWS.Request
Adds or modifies account-level configurations in ACM.
-
removeTagsFromCertificate(params = {}, callback) ⇒ AWS.Request
Remove one or more tags from an ACM certificate.
-
renewCertificate(params = {}, callback) ⇒ AWS.Request
Renews an eligible ACM certificate.
-
requestCertificate(params = {}, callback) ⇒ AWS.Request
Requests an ACM certificate for use with other Amazon Web Services services.
-
resendValidationEmail(params = {}, callback) ⇒ AWS.Request
Resends the email that requests domain ownership validation.
-
updateCertificateOptions(params = {}, callback) ⇒ AWS.Request
Updates a certificate.
-
waitFor(state, params = {}, callback) ⇒ AWS.Request
Waits for a given ACM resource.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, setupRequestListeners, defineService
Constructor Details
new AWS.ACM(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
addTagsToCertificate(params = {}, callback) ⇒ AWS.Request
Adds one or more tags to an ACM certificate. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair.
You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see Tagging ACM certificates.
To remove one or more tags, use the RemoveTagsFromCertificate action. To view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action.
deleteCertificate(params = {}, callback) ⇒ AWS.Request
Deletes a certificate and its associated private key. If this action succeeds, the certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by Amazon Web Services services integrated with ACM.