Show / Hide Table of Contents

Interface IMTLSConfig

The mTLS authentication configuration for a custom domain name.

Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMTLSConfig
Syntax (vb)
Public Interface IMTLSConfig
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

Bucket

The bucket that the trust store is hosted in.

Key

The key in S3 to look at for the trust store.

Version

The version of the S3 object that contains your truststore.

Properties

Bucket

The bucket that the trust store is hosted in.

IBucket Bucket { get; }
Property Value

IBucket

Remarks

ExampleMetadata: infused

Key

The key in S3 to look at for the trust store.

string Key { get; }
Property Value

string

Remarks

ExampleMetadata: infused

Version

The version of the S3 object that contains your truststore.

string? Version { get; }
Property Value

string

Remarks

To specify a version, you must have versioning enabled for the S3 bucket.

Default: - latest version

Back to top Generated by DocFX