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

com.pulumi.awsnative.dms.kotlin.outputs.MigrationProjectDataProviderDescriptor.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: 0.122.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy