update_tls_inspection_configuration
¶
update_tls_inspection_configuration(
tls_inspection_configuration: TLSInspectionConfiguration,
update_token: UpdateToken,
*,
config_overrides: Optional[NetworkFirewallClientConfig] = None,
tls_inspection_configuration_arn: Optional[ResourceArn] = None,
tls_inspection_configuration_name: Optional[ResourceName] = None,
description: Optional[Description] = None,
encryption_configuration: Optional[EncryptionConfiguration] = None,
) -> UpdateTLSInspectionConfigurationResponse
Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by referencing it 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.
Parameters:
-
tls_inspection_configuration_arn(Optional[ResourceArn], default:None) –The Amazon Resource Name (ARN) of the TLS inspection configuration.
-
tls_inspection_configuration_name(Optional[ResourceName], default:None) –The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.
-
tls_inspection_configuration(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 new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. 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 Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.
-
description(Optional[Description], default:None) –A description of the TLS inspection configuration.
-
encryption_configuration(Optional[EncryptionConfiguration], default:None) –A complex type that contains the Amazon Web Services KMS encryption configuration settings for your TLS inspection configuration.
-
update_token(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.
Raises:
-
InternalServerError–Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request.
-
InvalidRequestException–The operation failed because of a problem with your request. Examples include:
-
You specified an unsupported parameter name or value.
-
You tried to update a property with a value that isn't among the available types.
-
Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.
-
-
InvalidTokenException–The token you provided is stale or isn't valid for the operation.
-
ResourceNotFoundException–Unable to locate a resource using the parameters that you provided.
-
ThrottlingException–Unable to process the request due to throttling limitations.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_network_firewall/_services/network_firewall.py
6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 | |