Class MTLSConfig
The mTLS authentication configuration for a custom domain name.
Inheritance
System.Object
MTLSConfig
Implements
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MTLSConfig : Object, IMTLSConfig
Syntax (vb)
Public Class MTLSConfig
Inherits Object
Implements IMTLSConfig
Remarks
ExampleMetadata: infused
Examples
var acm;
new DomainName(this, "domain-name", new DomainNameProps {
DomainName = "example.com",
Certificate = acm.Certificate.FromCertificateArn(this, "cert", "arn:aws:acm:us-east-1:1111111:certificate/11-3336f1-44483d-adc7-9cd375c5169d"),
Mtls = new MTLSConfig {
Bucket = new Bucket(this, "bucket"),
Key = "truststore.pem",
Version = "version"
}
});
Synopsis
Constructors
MTLSConfig() |
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. |
Constructors
MTLSConfig()
public MTLSConfig()
Properties
Bucket
The bucket that the trust store is hosted in.
public IBucket Bucket { get; set; }
Property Value
Key
The key in S3 to look at for the trust store.
public string Key { get; set; }
Property Value
System.String
Version
The version of the S3 object that contains your truststore.
public string Version { get; set; }
Property Value
System.String
Remarks
To specify a version, you must have versioning enabled for the S3 bucket.
Default: - latest version