View a markdown version of this page

CreateAcmeDomainValidation - AWS Certificate Manager

CreateAcmeDomainValidation

Creates a domain validation for an ACME endpoint. Domain validations authorize the endpoint to issue certificates for specified domain names. You configure prevalidation to prove domain ownership.

Request Syntax

{ "AcmeEndpointArn": "string", "DomainName": "string", "IdempotencyToken": "string", "PrevalidationOptions": { ... }, "Tags": [ { "Key": "string", "Value": "string" } ] }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Note

In the following list, the required parameters are described first.

AcmeEndpointArn

The Amazon Resource Name (ARN) of the ACME endpoint.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: arn:aws[a-z-]*:acm:[a-z0-9-]+:[0-9]{12}:acme-endpoint/[a-zA-Z0-9-]+

Required: Yes

DomainName

The domain name to validate.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 253.

Pattern: ([a-z0-9]([a-z0-9-]*[a-z0-9])?\.)*[a-z0-9]([a-z0-9-]*[a-z0-9])?

Required: Yes

PrevalidationOptions

The prevalidation options for the domain.

Type: PrevalidationOptions object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

IdempotencyToken

A unique, case-sensitive identifier to ensure idempotency of the request.

Type: String

Required: No

Tags

One or more tags to associate with the domain validation.

Type: Array of Tag objects

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Required: No

Response Syntax

{ "AcmeDomainValidationArn": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

AcmeDomainValidationArn

The Amazon Resource Name (ARN) of the created domain validation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: arn:aws[a-z-]*:acm:[a-z0-9-]+:[0-9]{12}:acme-endpoint/[a-zA-Z0-9-]+/acme-domain-validation/[a-zA-Z0-9-]+

Errors

For information about the errors that are common to all actions, see Common Error Types.

AccessDeniedException

You do not have access required to perform this action.

HTTP Status Code: 400

ConflictException

You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.

HTTP Status Code: 400

InternalServerException

The request processing has failed because of an unknown error, exception, or failure.

HTTP Status Code: 500

ResourceNotFoundException

The specified certificate cannot be found in the caller's account or the caller's account cannot be found.

HTTP Status Code: 400

ServiceQuotaExceededException

A service quota has been exceeded.

HTTP Status Code: 400

ThrottlingException

The request was denied because it exceeded a quota.

throttlingReasons

One or more reasons why the request was throttled.

HTTP Status Code: 400

ValidationException

The supplied input failed to satisfy constraints of an AWS service.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: