Class MTLSConfig
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
The mTLS authentication configuration for a custom domain name.
public class MTLSConfig : IMTLSConfig
- Inheritance
-
MTLSConfig
- Implements
- Inherited Members
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"
}
});
Remarks
ExampleMetadata: infused
Constructors
MTLSConfig()
public MTLSConfig()
Properties
Bucket
The bucket that the trust store is hosted in.
public IBucket Bucket { get; set; }
Property Value
- IBucket
Key
The key in S3 to look at for the trust store.
public string Key { get; set; }
Property Value
Version
The version of the S3 object that contains your truststore.
public string? Version { get; set; }
Property Value
Remarks
To specify a version, you must have versioning enabled for the S3 bucket.
Default: - latest version