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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property destinationPorts The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any destination port.
 * You can specify individual ports, for example `1994` , and you can specify port ranges, such as `1990:1994` .
 * @property destinations The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this
 * matches with any destination address.
 * @property protocols The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
 * (IANA). Network Firewall currently supports only TCP.
 * @property sourcePorts The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any source port.
 * You can specify individual ports, for example `1994` , and you can specify port ranges, such as `1990:1994` .
 * @property sources The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this
 * matches with any source address.
 */
public data class TlsInspectionConfigurationServerCertificateScope(
    public val destinationPorts: List? = null,
    public val destinations: List? = null,
    public val protocols: List? = null,
    public val sourcePorts: List? = null,
    public val sources: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.networkfirewall.outputs.TlsInspectionConfigurationServerCertificateScope): TlsInspectionConfigurationServerCertificateScope =
            TlsInspectionConfigurationServerCertificateScope(
                destinationPorts = javaType.destinationPorts().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.networkfirewall.kotlin.outputs.TlsInspectionConfigurationPortRange.Companion.toKotlin(args0)
                    })
                }),
                destinations = javaType.destinations().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.networkfirewall.kotlin.outputs.TlsInspectionConfigurationAddress.Companion.toKotlin(args0)
                    })
                }),
                protocols = javaType.protocols().map({ args0 -> args0 }),
                sourcePorts = javaType.sourcePorts().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.networkfirewall.kotlin.outputs.TlsInspectionConfigurationPortRange.Companion.toKotlin(args0)
                    })
                }),
                sources = javaType.sources().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.networkfirewall.kotlin.outputs.TlsInspectionConfigurationAddress.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy