Skip to main content

tls_inspection_configurations

Creates, updates, deletes, gets or lists a tls_inspection_configurations resource.

Overview

Nametls_inspection_configurations
TypeResource
Idaws.network_firewall.tls_inspection_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tls_inspection_configurationobjectThe 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.
tls_inspection_configuration_responseobjectThe high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.
update_tokenstringA 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. (pattern: <code>^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_tls_inspection_configurationselectregionReturns the data objects for the specified TLS inspection configuration.
list_tls_inspection_configurationsselectregionRetrieves the metadata for the TLS inspection configurations that you have defined. Depending on your setting for max results and the number of TLS inspection configurations, a single call might not return the full list.
create_tls_inspection_configurationinsertregion, TLSInspectionConfigurationName, TLSInspectionConfigurationCreates an Network Firewall TLS inspection configuration. Network Firewall uses TLS inspection configurations to decrypt your firewall's inbound and outbound SSL/TLS traffic. After decryption, Network Firewall inspects the traffic according to your firewall policy's stateful rules, and then re-encrypts it before sending it to its destination. You can enable inspection of your firewall's inbound traffic, outbound traffic, or both. To use TLS inspection with your firewall, you must first import or provision certificates using ACM, create a TLS inspection configuration, add that configuration to a new firewall policy, and then associate that policy with your firewall. To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration. To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and DescribeTLSInspectionConfiguration. For more information about TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.
update_tls_inspection_configurationupdateregion, TLSInspectionConfiguration, UpdateTokenUpdates 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.
delete_tls_inspection_configurationdeleteregionDeletes the specified TLSInspectionConfiguration.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the data objects for the specified TLS inspection configuration.

SELECT
tls_inspection_configuration,
tls_inspection_configuration_response,
update_token
FROM aws.network_firewall.tls_inspection_configurations
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an Network Firewall TLS inspection configuration. Network Firewall uses TLS inspection configurations to decrypt your firewall's inbound and outbound SSL/TLS traffic. After decryption, Network Firewall inspects the traffic according to your firewall policy's stateful rules, and then re-encrypts it before sending it to its destination. You can enable inspection of your firewall's inbound traffic, outbound traffic, or both. To use TLS inspection with your firewall, you must first import or provision certificates using ACM, create a TLS inspection configuration, add that configuration to a new firewall policy, and then associate that policy with your firewall. To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration. To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and DescribeTLSInspectionConfiguration. For more information about TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

INSERT INTO aws.network_firewall.tls_inspection_configurations (
TLSInspectionConfigurationName,
TLSInspectionConfiguration,
Description,
Tags,
EncryptionConfiguration,
region
)
SELECT
'{{ TLSInspectionConfigurationName }}' /* required */,
'{{ TLSInspectionConfiguration }}' /* required */,
'{{ Description }}',
'{{ Tags }}',
'{{ EncryptionConfiguration }}',
'{{ region }}'
RETURNING
tls_inspection_configuration_response,
update_token
;

UPDATE examples

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.

UPDATE aws.network_firewall.tls_inspection_configurations
SET
TLSInspectionConfigurationArn = '{{ TLSInspectionConfigurationArn }}',
TLSInspectionConfigurationName = '{{ TLSInspectionConfigurationName }}',
TLSInspectionConfiguration = '{{ TLSInspectionConfiguration }}',
Description = '{{ Description }}',
EncryptionConfiguration = '{{ EncryptionConfiguration }}',
UpdateToken = '{{ UpdateToken }}'
WHERE
region = '{{ region }}' --required
AND TLSInspectionConfiguration = '{{ TLSInspectionConfiguration }}' --required
AND UpdateToken = '{{ UpdateToken }}' --required
RETURNING
tls_inspection_configuration_response,
update_token;

DELETE examples

Deletes the specified TLSInspectionConfiguration.

DELETE FROM aws.network_firewall.tls_inspection_configurations
WHERE region = '{{ region }}' --required
;