CertificateSettings - Amplify

CertificateSettings

The type of SSL/TLS certificate to use for your custom domain. If a certificate type isn't specified, Amplify uses the default AMPLIFY_MANAGED certificate.

Contents

type

The certificate type.

Specify AMPLIFY_MANAGED to use the default certificate that Amplify provisions for you.

Specify CUSTOM to use your own certificate that you have already added to AWS Certificate Manager in your AWS account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into AWS Certificate Manager in the ACM User guide.

Type: String

Valid Values: AMPLIFY_MANAGED | CUSTOM

Required: Yes

customCertificateArn

The Amazon resource name (ARN) for the custom certificate that you have already added to AWS Certificate Manager in your AWS account.

This field is required only when the certificate type is CUSTOM.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1000.

Pattern: ^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/.+$

Required: No

See Also

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