CertificateSettingsProperty Struct
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.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplify as amplify } from 'aws-cdk-lib';
const certificateSettingsProperty: amplify.CfnDomain.CertificateSettingsProperty = {
certificateType: 'certificateType',
customCertificateArn: 'customCertificateArn',
};
Properties
certificateTypestringcertificate_typestrcertificateTypeStringCertificateTypestringCertificateType*string#The certificate type.
notes
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 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 Certificate Manager in the ACM User guide .
customCertificateArnstringcustom_certificate_arnstrcustomCertificateArnStringCustomCertificateArnstringCustomCertificateArn*string#The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in your AWS account .
This field is required only when the certificate type is CUSTOM .