interface CertificateSettingsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Amplify.CfnDomain.CertificateSettingsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsamplify#CfnDomain_CertificateSettingsProperty |
![]() | software.amazon.awscdk.services.amplify.CfnDomain.CertificateSettingsProperty |
![]() | aws_cdk.aws_amplify.CfnDomain.CertificateSettingsProperty |
![]() | aws-cdk-lib » aws_amplify » CfnDomain » CertificateSettingsProperty |
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
// 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
Name | Type | Description |
---|---|---|
certificate | string | The certificate type. |
custom | string | The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in your AWS account . |
certificateType?
Type:
string
(optional)
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 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 .
customCertificateArn?
Type:
string
(optional)
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
.