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