com.pulumi.aws.dms.kotlin.inputs.EndpointRedshiftSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.dms.kotlin.inputs
import com.pulumi.aws.dms.inputs.EndpointRedshiftSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bucketFolder Custom S3 Bucket Object prefix for intermediate storage.
* @property bucketName Custom S3 Bucket name for intermediate storage.
* @property encryptionMode The server-side encryption mode that you want to encrypt your intermediate .csv object files copied to S3. Defaults to `SSE_S3`. Valid values are `SSE_S3` and `SSE_KMS`.
* @property serverSideEncryptionKmsKeyId ARN or Id of KMS Key to use when `encryption_mode` is `SSE_KMS`.
* @property serviceAccessRoleArn Amazon Resource Name (ARN) of the IAM Role with permissions to read from or write to the S3 Bucket for intermediate storage.
*/
public data class EndpointRedshiftSettingsArgs(
public val bucketFolder: Output? = null,
public val bucketName: Output? = null,
public val encryptionMode: Output? = null,
public val serverSideEncryptionKmsKeyId: Output? = null,
public val serviceAccessRoleArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.dms.inputs.EndpointRedshiftSettingsArgs =
com.pulumi.aws.dms.inputs.EndpointRedshiftSettingsArgs.builder()
.bucketFolder(bucketFolder?.applyValue({ args0 -> args0 }))
.bucketName(bucketName?.applyValue({ args0 -> args0 }))
.encryptionMode(encryptionMode?.applyValue({ args0 -> args0 }))
.serverSideEncryptionKmsKeyId(serverSideEncryptionKmsKeyId?.applyValue({ args0 -> args0 }))
.serviceAccessRoleArn(serviceAccessRoleArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointRedshiftSettingsArgs].
*/
@PulumiTagMarker
public class EndpointRedshiftSettingsArgsBuilder internal constructor() {
private var bucketFolder: Output? = null
private var bucketName: Output? = null
private var encryptionMode: Output? = null
private var serverSideEncryptionKmsKeyId: Output? = null
private var serviceAccessRoleArn: Output? = null
/**
* @param value Custom S3 Bucket Object prefix for intermediate storage.
*/
@JvmName("uvvmmloxqctiwqoh")
public suspend fun bucketFolder(`value`: Output) {
this.bucketFolder = value
}
/**
* @param value Custom S3 Bucket name for intermediate storage.
*/
@JvmName("dfxrcrpwnsendeev")
public suspend fun bucketName(`value`: Output) {
this.bucketName = value
}
/**
* @param value The server-side encryption mode that you want to encrypt your intermediate .csv object files copied to S3. Defaults to `SSE_S3`. Valid values are `SSE_S3` and `SSE_KMS`.
*/
@JvmName("uynbparerurikrup")
public suspend fun encryptionMode(`value`: Output) {
this.encryptionMode = value
}
/**
* @param value ARN or Id of KMS Key to use when `encryption_mode` is `SSE_KMS`.
*/
@JvmName("xrahqfpdluqvolvu")
public suspend fun serverSideEncryptionKmsKeyId(`value`: Output) {
this.serverSideEncryptionKmsKeyId = value
}
/**
* @param value Amazon Resource Name (ARN) of the IAM Role with permissions to read from or write to the S3 Bucket for intermediate storage.
*/
@JvmName("namschhotxbvqdax")
public suspend fun serviceAccessRoleArn(`value`: Output) {
this.serviceAccessRoleArn = value
}
/**
* @param value Custom S3 Bucket Object prefix for intermediate storage.
*/
@JvmName("dbawgedikvxqwwbu")
public suspend fun bucketFolder(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucketFolder = mapped
}
/**
* @param value Custom S3 Bucket name for intermediate storage.
*/
@JvmName("gvktlpayvikrmrwy")
public suspend fun bucketName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucketName = mapped
}
/**
* @param value The server-side encryption mode that you want to encrypt your intermediate .csv object files copied to S3. Defaults to `SSE_S3`. Valid values are `SSE_S3` and `SSE_KMS`.
*/
@JvmName("kyijgibrkgnqtedw")
public suspend fun encryptionMode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encryptionMode = mapped
}
/**
* @param value ARN or Id of KMS Key to use when `encryption_mode` is `SSE_KMS`.
*/
@JvmName("tftwbbeqtajsvfem")
public suspend fun serverSideEncryptionKmsKeyId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serverSideEncryptionKmsKeyId = mapped
}
/**
* @param value Amazon Resource Name (ARN) of the IAM Role with permissions to read from or write to the S3 Bucket for intermediate storage.
*/
@JvmName("xgimineulclyfrqg")
public suspend fun serviceAccessRoleArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serviceAccessRoleArn = mapped
}
internal fun build(): EndpointRedshiftSettingsArgs = EndpointRedshiftSettingsArgs(
bucketFolder = bucketFolder,
bucketName = bucketName,
encryptionMode = encryptionMode,
serverSideEncryptionKmsKeyId = serverSideEncryptionKmsKeyId,
serviceAccessRoleArn = serviceAccessRoleArn,
)
}