![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.dms.kotlin.inputs.MigrationProjectDataProviderDescriptorArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.dms.kotlin.inputs
import com.pulumi.awsnative.dms.inputs.MigrationProjectDataProviderDescriptorArgs.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
/**
* It is an object that describes Source and Target DataProviders and credentials for connecting to databases that are used in MigrationProject
* @property dataProviderArn The Amazon Resource Name (ARN) of the data provider.
* @property dataProviderIdentifier
* @property dataProviderName The user-friendly name of the data provider.
* @property secretsManagerAccessRoleArn The ARN of the role used to access AWS Secrets Manager.
* @property secretsManagerSecretId The identifier of the AWS Secrets Manager Secret used to store access credentials for the data provider.
*/
public data class MigrationProjectDataProviderDescriptorArgs(
public val dataProviderArn: Output? = null,
public val dataProviderIdentifier: Output? = null,
public val dataProviderName: Output? = null,
public val secretsManagerAccessRoleArn: Output? = null,
public val secretsManagerSecretId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.dms.inputs.MigrationProjectDataProviderDescriptorArgs = com.pulumi.awsnative.dms.inputs.MigrationProjectDataProviderDescriptorArgs.builder()
.dataProviderArn(dataProviderArn?.applyValue({ args0 -> args0 }))
.dataProviderIdentifier(dataProviderIdentifier?.applyValue({ args0 -> args0 }))
.dataProviderName(dataProviderName?.applyValue({ args0 -> args0 }))
.secretsManagerAccessRoleArn(secretsManagerAccessRoleArn?.applyValue({ args0 -> args0 }))
.secretsManagerSecretId(secretsManagerSecretId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MigrationProjectDataProviderDescriptorArgs].
*/
@PulumiTagMarker
public class MigrationProjectDataProviderDescriptorArgsBuilder internal constructor() {
private var dataProviderArn: Output? = null
private var dataProviderIdentifier: Output? = null
private var dataProviderName: Output? = null
private var secretsManagerAccessRoleArn: Output? = null
private var secretsManagerSecretId: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the data provider.
*/
@JvmName("fbtspysxwdegnxit")
public suspend fun dataProviderArn(`value`: Output) {
this.dataProviderArn = value
}
/**
* @param value
*/
@JvmName("obvjncojumdobjxl")
public suspend fun dataProviderIdentifier(`value`: Output) {
this.dataProviderIdentifier = value
}
/**
* @param value The user-friendly name of the data provider.
*/
@JvmName("odooalryjhusrljs")
public suspend fun dataProviderName(`value`: Output) {
this.dataProviderName = value
}
/**
* @param value The ARN of the role used to access AWS Secrets Manager.
*/
@JvmName("lieurosntpbjgkdv")
public suspend fun secretsManagerAccessRoleArn(`value`: Output) {
this.secretsManagerAccessRoleArn = value
}
/**
* @param value The identifier of the AWS Secrets Manager Secret used to store access credentials for the data provider.
*/
@JvmName("xcmdafqmolnmxmnd")
public suspend fun secretsManagerSecretId(`value`: Output) {
this.secretsManagerSecretId = value
}
/**
* @param value The Amazon Resource Name (ARN) of the data provider.
*/
@JvmName("qyqjseldafyqpjwm")
public suspend fun dataProviderArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataProviderArn = mapped
}
/**
* @param value
*/
@JvmName("phhoyesslfpabiik")
public suspend fun dataProviderIdentifier(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataProviderIdentifier = mapped
}
/**
* @param value The user-friendly name of the data provider.
*/
@JvmName("qxlrepfthrxfkyvr")
public suspend fun dataProviderName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataProviderName = mapped
}
/**
* @param value The ARN of the role used to access AWS Secrets Manager.
*/
@JvmName("llpdbrybgbihcnjv")
public suspend fun secretsManagerAccessRoleArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretsManagerAccessRoleArn = mapped
}
/**
* @param value The identifier of the AWS Secrets Manager Secret used to store access credentials for the data provider.
*/
@JvmName("iwhhupoxdkbotqac")
public suspend fun secretsManagerSecretId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretsManagerSecretId = mapped
}
internal fun build(): MigrationProjectDataProviderDescriptorArgs =
MigrationProjectDataProviderDescriptorArgs(
dataProviderArn = dataProviderArn,
dataProviderIdentifier = dataProviderIdentifier,
dataProviderName = dataProviderName,
secretsManagerAccessRoleArn = secretsManagerAccessRoleArn,
secretsManagerSecretId = secretsManagerSecretId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy