/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The mutual TLS authentication configuration for a custom domain name. If
* specified, API Gateway performs two-way authentication between the client and
* the server. Clients must present a trusted certificate to access your
* API.See Also:
AWS
* API Reference
An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
* for example s3://bucket-name/key-name
. 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.
An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
* for example s3://bucket-name/key-name
. 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.
An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
* for example s3://bucket-name/key-name
. 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.
An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
* for example s3://bucket-name/key-name
. 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.
An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
* for example s3://bucket-name/key-name
. 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.
An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
* for example s3://bucket-name/key-name
. 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.
An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
* for example s3://bucket-name/key-name
. 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.
An Amazon S3 URL that specifies the truststore for mutual TLS authentication,
* for example s3://bucket-name/key-name
. 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.
The version of the S3 object that contains your truststore. To specify a * version, you must have versioning enabled for the S3 bucket
*/ inline const Aws::String& GetTruststoreVersion() const{ return m_truststoreVersion; } /** *The version of the S3 object that contains your truststore. To specify a * version, you must have versioning enabled for the S3 bucket
*/ inline bool TruststoreVersionHasBeenSet() const { return m_truststoreVersionHasBeenSet; } /** *The version of the S3 object that contains your truststore. To specify a * version, you must have versioning enabled for the S3 bucket
*/ inline void SetTruststoreVersion(const Aws::String& value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = value; } /** *The version of the S3 object that contains your truststore. To specify a * version, you must have versioning enabled for the S3 bucket
*/ inline void SetTruststoreVersion(Aws::String&& value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = std::move(value); } /** *The version of the S3 object that contains your truststore. To specify a * version, you must have versioning enabled for the S3 bucket
*/ inline void SetTruststoreVersion(const char* value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion.assign(value); } /** *The version of the S3 object that contains your truststore. To specify a * version, you must have versioning enabled for the S3 bucket
*/ inline MutualTlsAuthenticationInput& WithTruststoreVersion(const Aws::String& value) { SetTruststoreVersion(value); return *this;} /** *The version of the S3 object that contains your truststore. To specify a * version, you must have versioning enabled for the S3 bucket
*/ inline MutualTlsAuthenticationInput& WithTruststoreVersion(Aws::String&& value) { SetTruststoreVersion(std::move(value)); return *this;} /** *The version of the S3 object that contains your truststore. To specify a * version, you must have versioning enabled for the S3 bucket
*/ inline MutualTlsAuthenticationInput& WithTruststoreVersion(const char* value) { SetTruststoreVersion(value); return *this;} private: Aws::String m_truststoreUri; bool m_truststoreUriHasBeenSet = false; Aws::String m_truststoreVersion; bool m_truststoreVersionHasBeenSet = false; }; } // namespace Model } // namespace APIGateway } // namespace Aws