# CfnTLSInspectionConfigurationProps

Properties for defining a `CfnTLSInspectionConfiguration`.

Extends: CfnTLSInspectionConfigurationProps
Used as props by: CfnTLSInspectionConfiguration

- Source: Generated code
- Type last changed: v2.117.0 · 27 Dec 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const cfnTLSInspectionConfigurationProps: networkfirewall.CfnTLSInspectionConfigurationProps = {
  tlsInspectionConfiguration: {
    serverCertificateConfigurations: [{
      certificateAuthorityArn: 'certificateAuthorityArn',
      checkCertificateRevocationStatus: {
        revokedStatusAction: 'revokedStatusAction',
        unknownStatusAction: 'unknownStatusAction',
      },
      scopes: [{
        destinationPorts: [{
          fromPort: 123,
          toPort: 123,
        }],
        destinations: [{
          addressDefinition: 'addressDefinition',
        }],
        protocols: [123],
        sourcePorts: [{
          fromPort: 123,
          toPort: 123,
        }],
        sources: [{
          addressDefinition: 'addressDefinition',
        }],
      }],
      serverCertificates: [{
        resourceArn: 'resourceArn',
      }],
    }],
  },
  tlsInspectionConfigurationName: 'tlsInspectionConfigurationName',

  // the properties below are optional
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `description`: string — A description of the TLS inspection configuration.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The key:value pairs to associate with the resource.

- `tlsInspectionConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTLSInspectionConfiguration.TLSInspectionConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_networkfirewall.CfnTLSInspectionConfiguration.TLSInspectionConfigurationProperty.html) (required) — The object that defines a TLS inspection configuration.

  AWS Network Firewall uses TLS inspection configurations to decrypt your firewall's inbound and outbound SSL/TLS traffic. After decryption, AWS 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 Certificate Manager , create a TLS inspection configuration, add that configuration to a new firewall policy, and then associate that policy with your firewall. For more information about using TLS inspection configurations, see [Inspecting SSL/TLS traffic with TLS inspection configurations](https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) in the *AWS Network Firewall Developer Guide* .

- `tlsInspectionConfigurationName`: string (required) — The descriptive name of the TLS inspection configuration.

  You can't change the name of a TLS inspection configuration after you create it.
