Class CfnDomain.CertificateProperty
Describes the SSL/TLS certificate for the domain association.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CertificateProperty : Object, CfnDomain.ICertificateProperty
Syntax (vb)
Public Class CertificateProperty
Inherits Object
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
Certificate |
Properties
Certificate |
The Amazon resource name (ARN) for a custom certificate that you have already added to AWS Certificate Manager in your AWS account . |
Certificate |
The type of SSL/TLS certificate that you want to use. |
Certificate |
The DNS record for certificate verification. |
Constructors
CertificateProperty()
public CertificateProperty()
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
System.
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
System.
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; }
Property Value
System.