Class CfnDomain.CertificateProperty
Describes the SSL/TLS certificate for the domain association.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDomain.CertificateProperty : CfnDomain.ICertificateProperty
Syntax (vb)
Public Class CfnDomain.CertificateProperty Implements CfnDomain.ICertificateProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Amplify;
var certificateProperty = new CertificateProperty {
CertificateArn = "certificateArn",
CertificateType = "certificateType",
CertificateVerificationDnsRecord = "certificateVerificationDnsRecord"
};
Synopsis
Constructors
CertificateProperty() | Describes the SSL/TLS certificate for the domain association. |
Properties
CertificateArn | The Amazon resource name (ARN) for a custom certificate that you have already added to AWS Certificate Manager in your AWS account . |
CertificateType | The type of SSL/TLS certificate that you want to use. |
CertificateVerificationDnsRecord | The DNS record for certificate verification. |
Constructors
CertificateProperty()
Describes the SSL/TLS certificate for the domain association.
public CertificateProperty()
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Amplify;
var certificateProperty = new CertificateProperty {
CertificateArn = "certificateArn",
CertificateType = "certificateType",
CertificateVerificationDnsRecord = "certificateVerificationDnsRecord"
};
Properties
CertificateArn
The Amazon resource name (ARN) for a custom certificate that you have already added to AWS Certificate Manager in your AWS account .
public string? CertificateArn { get; set; }
Property Value
Remarks
This field is required only when the certificate type is CUSTOM
.
CertificateType
The type of SSL/TLS certificate that you want to use.
public string? CertificateType { get; set; }
Property Value
Remarks
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 .
CertificateVerificationDnsRecord
The DNS record for certificate verification.
public string? CertificateVerificationDnsRecord { get; set; }