com.pulumi.awsnative.dms.kotlin.outputs.MigrationProjectDataProviderDescriptor.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.dms.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* 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 MigrationProjectDataProviderDescriptor(
public val dataProviderArn: String? = null,
public val dataProviderIdentifier: String? = null,
public val dataProviderName: String? = null,
public val secretsManagerAccessRoleArn: String? = null,
public val secretsManagerSecretId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.dms.outputs.MigrationProjectDataProviderDescriptor): MigrationProjectDataProviderDescriptor = MigrationProjectDataProviderDescriptor(
dataProviderArn = javaType.dataProviderArn().map({ args0 -> args0 }).orElse(null),
dataProviderIdentifier = javaType.dataProviderIdentifier().map({ args0 -> args0 }).orElse(null),
dataProviderName = javaType.dataProviderName().map({ args0 -> args0 }).orElse(null),
secretsManagerAccessRoleArn = javaType.secretsManagerAccessRoleArn().map({ args0 ->
args0
}).orElse(null),
secretsManagerSecretId = javaType.secretsManagerSecretId().map({ args0 -> args0 }).orElse(null),
)
}
}