Interface IDomainNameProps
properties used for creating the DomainName.
Inherited Members
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDomainNameProps : IEndpointOptions
Syntax (vb)
Public Interface IDomainNameProps Inherits IEndpointOptions
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.S3;
using Amazon.CDK.AWS.CertificateManager;
Bucket bucket;
var certArn = "arn:aws:acm:us-east-1:111111111111:certificate";
var domainName = "example.com";
new DomainName(this, "DomainName", new DomainNameProps {
DomainName = domainName,
Certificate = Certificate.FromCertificateArn(this, "cert", certArn),
Mtls = new MTLSConfig {
Bucket = bucket,
Key = "someca.pem",
Version = "version"
}
});
Synopsis
Properties
DomainName | The custom domain name. |
Mtls | The mutual TLS authentication configuration for a custom domain name. |
Properties
DomainName
The custom domain name.
string DomainName { get; }
Property Value
Remarks
ExampleMetadata: infused
Mtls
The mutual TLS authentication configuration for a custom domain name.
IMTLSConfig? Mtls { get; }
Property Value
Remarks
Default: - mTLS is not configured.