Interface CfnDomainName.IMutualTlsAuthenticationProperty
The mutual TLS authentication configuration for a custom domain name.
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMutualTlsAuthenticationProperty
Syntax (vb)
Public Interface IMutualTlsAuthenticationProperty
Remarks
If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;
var mutualTlsAuthenticationProperty = new MutualTlsAuthenticationProperty {
TruststoreUri = "truststoreUri",
TruststoreVersion = "truststoreVersion"
};
Synopsis
Properties
Truststore |
An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example |
Truststore |
The version of the S3 object that contains your truststore. |
Properties
TruststoreUri
An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example s3://bucket-name/key-name
.
virtual string TruststoreUri { get; }
Property Value
System.
Remarks
The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.
TruststoreVersion
The version of the S3 object that contains your truststore.
virtual string TruststoreVersion { get; }
Property Value
System.
Remarks
To specify a version, you must have versioning enabled for the S3 bucket.