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

com.pulumi.awsnative.networkfirewall.kotlin.outputs.TlsInspectionConfigurationServerCertificateConfiguration.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.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property certificateAuthorityArn The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within AWS Certificate Manager (ACM) to use for outbound SSL/TLS inspection.
 * The following limitations apply:
 * - You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM.
 * - You can't use certificates issued by AWS Private Certificate Authority .
 * For more information about configuring certificates for outbound inspection, see [Using SSL/TLS certificates with certificates with TLS inspection configurations](https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection-certificate-requirements.html) in the *AWS Network Firewall Developer Guide* .
 * For information about working with certificates in ACM, see [Importing certificates](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the *AWS Certificate Manager User Guide* .
 * @property checkCertificateRevocationStatus When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a `CertificateAuthorityArn` in [ServerCertificateConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-servercertificateconfiguration.html) .
 * @property scopes A list of scopes.
 * @property serverCertificates The list of server certificates to use for inbound SSL/TLS inspection.
 */
public data class TlsInspectionConfigurationServerCertificateConfiguration(
    public val certificateAuthorityArn: String? = null,
    public val checkCertificateRevocationStatus: TlsInspectionConfigurationServerCertificateConfigurationCheckCertificateRevocationStatusProperties? =
        null,
    public val scopes: List? = null,
    public val serverCertificates: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.networkfirewall.outputs.TlsInspectionConfigurationServerCertificateConfiguration): TlsInspectionConfigurationServerCertificateConfiguration =
            TlsInspectionConfigurationServerCertificateConfiguration(
                certificateAuthorityArn = javaType.certificateAuthorityArn().map({ args0 -> args0 }).orElse(null),
                checkCertificateRevocationStatus = javaType.checkCertificateRevocationStatus().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.networkfirewall.kotlin.outputs.TlsInspectionConfigurationServerCertificateConfigurationCheckCertificateRevocationStatusProperties.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                scopes = javaType.scopes().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.networkfirewall.kotlin.outputs.TlsInspectionConfigurationServerCertificateScope.Companion.toKotlin(args0)
                    })
                }),
                serverCertificates = javaType.serverCertificates().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.networkfirewall.kotlin.outputs.TlsInspectionConfigurationServerCertificate.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy