/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApiGatewayV2.Model
{
///
///
///
public partial class MutualTlsAuthentication
{
private string _truststoreUri;
private string _truststoreVersion;
private List _truststoreWarnings = new List();
///
/// Gets and sets the property TruststoreUri.
///
/// 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.
///
///
public string TruststoreUri
{
get { return this._truststoreUri; }
set { this._truststoreUri = value; }
}
// Check to see if TruststoreUri property is set
internal bool IsSetTruststoreUri()
{
return this._truststoreUri != null;
}
///
/// Gets and sets the property TruststoreVersion.
///
/// The version of the S3 object that contains your truststore. To specify a version,
/// you must have versioning enabled for the S3 bucket.
///
///
public string TruststoreVersion
{
get { return this._truststoreVersion; }
set { this._truststoreVersion = value; }
}
// Check to see if TruststoreVersion property is set
internal bool IsSetTruststoreVersion()
{
return this._truststoreVersion != null;
}
///
/// Gets and sets the property TruststoreWarnings.
///
/// A list of warnings that API Gateway returns while processing your truststore. Invalid
/// certificates produce warnings. Mutual TLS is still enabled, but some clients might
/// not be able to access your API. To resolve warnings, upload a new truststore to S3,
/// and then update you domain name to use the new version.
///
///
public List TruststoreWarnings
{
get { return this._truststoreWarnings; }
set { this._truststoreWarnings = value; }
}
// Check to see if TruststoreWarnings property is set
internal bool IsSetTruststoreWarnings()
{
return this._truststoreWarnings != null && this._truststoreWarnings.Count > 0;
}
}
}