Table of Contents

Interface ICfnDomainNameProps

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll

Properties for defining a CfnDomainName.

public interface ICfnDomainNameProps

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.APIGateway;

             var cfnDomainNameProps = new CfnDomainNameProps {
                 CertificateArn = "certificateArn",
                 DomainName = "domainName",
                 EndpointConfiguration = new EndpointConfigurationProperty {
                     Types = new [] { "types" }
                 },
                 MutualTlsAuthentication = new MutualTlsAuthenticationProperty {
                     TruststoreUri = "truststoreUri",
                     TruststoreVersion = "truststoreVersion"
                 },
                 OwnershipVerificationCertificateArn = "ownershipVerificationCertificateArn",
                 RegionalCertificateArn = "regionalCertificateArn",
                 SecurityPolicy = "securityPolicy",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Remarks

Properties

CertificateArn

The reference to an AWS -managed certificate that will be used by edge-optimized endpoint for this domain name.

string? CertificateArn { get; }

Property Value

string

Remarks

DomainName

The custom domain name as an API host name, for example, my-api.example.com .

string? DomainName { get; }

Property Value

string

Remarks

EndpointConfiguration

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

object? EndpointConfiguration { get; }

Property Value

object

Remarks

MutualTlsAuthentication

The mutual TLS authentication configuration for a custom domain name.

object? MutualTlsAuthentication { get; }

Property Value

object

Remarks

If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-mutualtlsauthentication

OwnershipVerificationCertificateArn

The ARN of the public certificate issued by ACM to validate ownership of your custom domain.

string? OwnershipVerificationCertificateArn { get; }

Property Value

string

Remarks

Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-ownershipverificationcertificatearn

RegionalCertificateArn

The reference to an AWS -managed certificate that will be used for validating the regional domain name.

string? RegionalCertificateArn { get; }

Property Value

string

Remarks

SecurityPolicy

The Transport Layer Security (TLS) version + cipher suite for this DomainName.

string? SecurityPolicy { get; }

Property Value

string

Remarks

Tags

The collection of tags.

ICfnTag[]? Tags { get; }

Property Value

ICfnTag[]

Remarks