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

com.pulumi.awsnative.ecs.kotlin.outputs.ServiceConnectTlsConfiguration.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ecs.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The key that encrypts and decrypts your resources for Service Connect TLS.
 * @property issuerCertificateAuthority The signer certificate authority.
 * @property kmsKey The AWS Key Management Service key.
 * @property roleArn The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.
 */
public data class ServiceConnectTlsConfiguration(
    public val issuerCertificateAuthority: ServiceConnectTlsCertificateAuthority,
    public val kmsKey: String? = null,
    public val roleArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.ServiceConnectTlsConfiguration): ServiceConnectTlsConfiguration = ServiceConnectTlsConfiguration(
            issuerCertificateAuthority = javaType.issuerCertificateAuthority().let({ args0 ->
                com.pulumi.awsnative.ecs.kotlin.outputs.ServiceConnectTlsCertificateAuthority.Companion.toKotlin(args0)
            }),
            kmsKey = javaType.kmsKey().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy