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

com.pulumi.awsnative.comprehend.kotlin.outputs.FlywheelDataSecurityConfig.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.comprehend.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property dataLakeKmsKeyId ID for the AWS KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
 * @property modelKmsKeyId ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
 * - KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
 * - Amazon Resource Name (ARN) of a KMS Key: `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
 * @property volumeKmsKeyId ID for the AWS KMS key that Amazon Comprehend uses to encrypt the volume.
 * @property vpcConfig Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see [Amazon VPC](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) .
 */
public data class FlywheelDataSecurityConfig(
    public val dataLakeKmsKeyId: String? = null,
    public val modelKmsKeyId: String? = null,
    public val volumeKmsKeyId: String? = null,
    public val vpcConfig: FlywheelVpcConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.comprehend.outputs.FlywheelDataSecurityConfig): FlywheelDataSecurityConfig = FlywheelDataSecurityConfig(
            dataLakeKmsKeyId = javaType.dataLakeKmsKeyId().map({ args0 -> args0 }).orElse(null),
            modelKmsKeyId = javaType.modelKmsKeyId().map({ args0 -> args0 }).orElse(null),
            volumeKmsKeyId = javaType.volumeKmsKeyId().map({ args0 -> args0 }).orElse(null),
            vpcConfig = javaType.vpcConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.comprehend.kotlin.outputs.FlywheelVpcConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy