/* * 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 network-firewall-2020-11-12.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.NetworkFirewall.Model { /// /// Container for the parameters to the UpdateTLSInspectionConfiguration operation. /// Updates the TLS inspection configuration settings for the specified TLS inspection /// configuration. You use a TLS inspection configuration by reference in one or more /// firewall policies. When you modify a TLS inspection configuration, you modify all /// firewall policies that use the TLS inspection configuration. /// /// /// /// To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration /// to retrieve the current TLSInspectionConfiguration object, update the object /// as needed, and then provide the updated object to this call. /// /// public partial class UpdateTLSInspectionConfigurationRequest : AmazonNetworkFirewallRequest { private string _description; private EncryptionConfiguration _encryptionConfiguration; private TLSInspectionConfiguration _tlsInspectionConfiguration; private string _tlsInspectionConfigurationArn; private string _tlsInspectionConfigurationName; private string _updateToken; /// /// Gets and sets the property Description. /// /// A description of the TLS inspection configuration. /// /// [AWSProperty(Max=512)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property EncryptionConfiguration. /// /// A complex type that contains the Amazon Web Services KMS encryption configuration /// settings for your TLS inspection configuration. /// /// public EncryptionConfiguration EncryptionConfiguration { get { return this._encryptionConfiguration; } set { this._encryptionConfiguration = value; } } // Check to see if EncryptionConfiguration property is set internal bool IsSetEncryptionConfiguration() { return this._encryptionConfiguration != null; } /// /// Gets and sets the property TLSInspectionConfiguration. /// /// The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, /// define the TLS inspection configuration. You can retrieve all objects for a TLS inspection /// configuration by calling DescribeTLSInspectionConfiguration. /// /// /// /// Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall /// re-encrypts the traffic before sending it to its destination. /// /// /// /// To use a TLS inspection configuration, you add it to a Network Firewall firewall policy, /// then you apply the firewall policy to a firewall. Network Firewall acts as a proxy /// service to decrypt and inspect inbound traffic. You can reference a TLS inspection /// configuration from more than one firewall policy, and you can use a firewall policy /// in more than one firewall. For more information about using TLS inspection configurations, /// see Decrypting /// SSL/TLS traffic with TLS inspection configurations in the Network Firewall /// Developer Guide. /// /// [AWSProperty(Required=true)] public TLSInspectionConfiguration TLSInspectionConfiguration { get { return this._tlsInspectionConfiguration; } set { this._tlsInspectionConfiguration = value; } } // Check to see if TLSInspectionConfiguration property is set internal bool IsSetTLSInspectionConfiguration() { return this._tlsInspectionConfiguration != null; } /// /// Gets and sets the property TLSInspectionConfigurationArn. /// /// The Amazon Resource Name (ARN) of the TLS inspection configuration. /// /// [AWSProperty(Min=1, Max=256)] public string TLSInspectionConfigurationArn { get { return this._tlsInspectionConfigurationArn; } set { this._tlsInspectionConfigurationArn = value; } } // Check to see if TLSInspectionConfigurationArn property is set internal bool IsSetTLSInspectionConfigurationArn() { return this._tlsInspectionConfigurationArn != null; } /// /// Gets and sets the property TLSInspectionConfigurationName. /// /// The descriptive name of the TLS inspection configuration. You can't change the name /// of a TLS inspection configuration after you create it. /// /// [AWSProperty(Min=1, Max=128)] public string TLSInspectionConfigurationName { get { return this._tlsInspectionConfigurationName; } set { this._tlsInspectionConfigurationName = value; } } // Check to see if TLSInspectionConfigurationName property is set internal bool IsSetTLSInspectionConfigurationName() { return this._tlsInspectionConfigurationName != null; } /// /// Gets and sets the property UpdateToken. /// /// A token used for optimistic locking. Network Firewall returns a token to your requests /// that access the TLS inspection configuration. The token marks the state of the TLS /// inspection configuration resource at the time of the request. /// /// /// /// To make changes to the TLS inspection configuration, you provide the token in your /// request. Network Firewall uses the token to ensure that the TLS inspection configuration /// hasn't changed since you last retrieved it. If it has changed, the operation fails /// with an InvalidTokenException. If this happens, retrieve the TLS inspection /// configuration again to get a current copy of it with a current token. Reapply your /// changes as needed, then try the operation again using the new token. /// /// [AWSProperty(Required=true, Min=1, Max=1024)] public string UpdateToken { get { return this._updateToken; } set { this._updateToken = value; } } // Check to see if UpdateToken property is set internal bool IsSetUpdateToken() { return this._updateToken != null; } } }