AWS::Amplify::Domain 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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "CertificateType" :
String
, "CustomCertificateArn" :String
}
YAML
CertificateType:
String
CustomCertificateArn:String
Properties
CertificateType
-
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 Amazon Certificate Manager in your Amazon Web Services 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 Amazon Certificate Manager in the ACM User guide.Required: No
Type: String
Allowed values:
AMPLIFY_MANAGED | CUSTOM
Update requires: No interruption
CustomCertificateArn
-
The Amazon resource name (ARN) for the custom certificate that you have already added to Amazon Certificate Manager in your Amazon Web Services account.
This field is required only when the certificate type is
CUSTOM
.Required: No
Type: String
Pattern:
^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/.+$
Update requires: No interruption