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