@Stability(value=Stable)
public static interface CfnDomainName.MutualTlsAuthenticationProperty
extends software.amazon.jsii.JsiiSerializable
Clients must present a trusted certificate to access your API.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;
MutualTlsAuthenticationProperty mutualTlsAuthenticationProperty = MutualTlsAuthenticationProperty.builder()
.truststoreUri("truststoreUri")
.truststoreVersion("truststoreVersion")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDomainName.MutualTlsAuthenticationProperty.Builder
A builder for
CfnDomainName.MutualTlsAuthenticationProperty |
static class |
CfnDomainName.MutualTlsAuthenticationProperty.Jsii$Proxy
An implementation for
CfnDomainName.MutualTlsAuthenticationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDomainName.MutualTlsAuthenticationProperty.Builder |
builder() |
default String |
getTruststoreUri()
An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, `s3:// bucket-name / key-name` .
|
default String |
getTruststoreVersion()
The version of the S3 object that contains your truststore.
|
@Stability(value=Stable) @Nullable default String getTruststoreUri()
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.
@Stability(value=Stable) @Nullable default String getTruststoreVersion()
To specify a version, you must have versioning enabled for the S3 bucket.
@Stability(value=Stable) static CfnDomainName.MutualTlsAuthenticationProperty.Builder builder()
Copyright © 2022. All rights reserved.