Class CfnDomain.CertificateSettingsProperty
The type of SSL/TLS certificate to use for your custom domain.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CertificateSettingsProperty : Object, CfnDomain.ICertificateSettingsProperty
Syntax (vb)
Public Class CertificateSettingsProperty
Inherits Object
Implements CfnDomain.ICertificateSettingsProperty
Remarks
If a certificate type isn't specified, Amplify uses the default AMPLIFY_MANAGED
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 certificateSettingsProperty = new CertificateSettingsProperty {
CertificateType = "certificateType",
CustomCertificateArn = "customCertificateArn"
};
Synopsis
Constructors
CertificateSettingsProperty() |
Properties
CertificateType | The certificate type. |
CustomCertificateArn | The Amazon resource name (ARN) for the custom certificate that you have already added to AWS Certificate Manager in your AWS account . |
Constructors
CertificateSettingsProperty()
public CertificateSettingsProperty()
Properties
CertificateType
The certificate type.
public string CertificateType { get; set; }
Property Value
System.String
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 .
CustomCertificateArn
The Amazon resource name (ARN) for the custom certificate that you have already added to AWS Certificate Manager in your AWS account .
public string CustomCertificateArn { get; set; }
Property Value
System.String
Remarks
This field is required only when the certificate type is CUSTOM
.