interface CertificateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Amplify.CfnDomain.CertificateProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsamplify#CfnDomain_CertificateProperty |
Java | software.amazon.awscdk.services.amplify.CfnDomain.CertificateProperty |
Python | aws_cdk.aws_amplify.CfnDomain.CertificateProperty |
TypeScript | aws-cdk-lib » aws_amplify » CfnDomain » CertificateProperty |
Describes the SSL/TLS certificate for the domain association.
This can be your own custom certificate or the default certificate that Amplify provisions for you.
If you are updating your domain to use a different certificate, Certificate points to the new certificate that is being created instead of the current active certificate. Otherwise, Certificate points to the current active 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 certificateProperty: amplify.CfnDomain.CertificateProperty = {
certificateArn: 'certificateArn',
certificateType: 'certificateType',
certificateVerificationDnsRecord: 'certificateVerificationDnsRecord',
};
Properties
| Name | Type | Description |
|---|---|---|
| certificate | string | The Amazon resource name (ARN) for a custom certificate that you have already added to Certificate Manager in your AWS account . |
| certificate | string | The type of SSL/TLS certificate that you want to use. |
| certificate | string | The DNS record for certificate verification. |
certificateArn?
Type:
string
(optional)
The Amazon resource name (ARN) for a 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 .
certificateType?
Type:
string
(optional)
The type of SSL/TLS certificate that you want to use.
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 .
certificateVerificationDnsRecord?
Type:
string
(optional)
The DNS record for certificate verification.

.NET
Go
Java
Python
TypeScript