All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.networkfirewall.kotlin.outputs.GetTlsInspectionConfigurationResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.networkfirewall.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property description A description of the TLS inspection configuration.
 * @property tags The key:value pairs to associate with the resource.
 * @property tlsInspectionConfiguration 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 AWS 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* .
 * @property tlsInspectionConfigurationArn The Amazon Resource Name (ARN) of the TLS inspection configuration.
 * @property tlsInspectionConfigurationId A unique identifier for the TLS inspection configuration. This ID is returned in the responses to create and list commands. You provide it to operations such as update and delete.
 */
public data class GetTlsInspectionConfigurationResult(
    public val description: String? = null,
    public val tags: List? = null,
    public val tlsInspectionConfiguration: TlsInspectionConfigurationTlsInspectionConfiguration? =
        null,
    public val tlsInspectionConfigurationArn: String? = null,
    public val tlsInspectionConfigurationId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.networkfirewall.outputs.GetTlsInspectionConfigurationResult): GetTlsInspectionConfigurationResult = GetTlsInspectionConfigurationResult(
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            tlsInspectionConfiguration = javaType.tlsInspectionConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.networkfirewall.kotlin.outputs.TlsInspectionConfigurationTlsInspectionConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tlsInspectionConfigurationArn = javaType.tlsInspectionConfigurationArn().map({ args0 ->
                args0
            }).orElse(null),
            tlsInspectionConfigurationId = javaType.tlsInspectionConfigurationId().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy