
com.pulumi.awsnative.dms.kotlin.outputs.GetMigrationProjectResult.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 com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property description The optional description of the migration project.
* @property instanceProfileArn The property describes an instance profile arn for the migration project. For read
* @property instanceProfileName The property describes an instance profile name for the migration project. For read
* @property migrationProjectArn The property describes an ARN of the migration project.
* @property migrationProjectCreationTime The property describes a creating time of the migration project.
* @property migrationProjectName The property describes a name to identify the migration project.
* @property schemaConversionApplicationAttributes The property describes schema conversion application attributes for the migration project.
* @property sourceDataProviderDescriptors The property describes source data provider descriptors for the migration project.
* @property tags An array of key-value pairs to apply to this resource.
* @property targetDataProviderDescriptors The property describes target data provider descriptors for the migration project.
* @property transformationRules The property describes transformation rules for the migration project.
*/
public data class GetMigrationProjectResult(
public val description: String? = null,
public val instanceProfileArn: String? = null,
public val instanceProfileName: String? = null,
public val migrationProjectArn: String? = null,
public val migrationProjectCreationTime: String? = null,
public val migrationProjectName: String? = null,
public val schemaConversionApplicationAttributes: SchemaConversionApplicationAttributesProperties? =
null,
public val sourceDataProviderDescriptors: List? = null,
public val tags: List? = null,
public val targetDataProviderDescriptors: List? = null,
public val transformationRules: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.dms.outputs.GetMigrationProjectResult): GetMigrationProjectResult = GetMigrationProjectResult(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
instanceProfileArn = javaType.instanceProfileArn().map({ args0 -> args0 }).orElse(null),
instanceProfileName = javaType.instanceProfileName().map({ args0 -> args0 }).orElse(null),
migrationProjectArn = javaType.migrationProjectArn().map({ args0 -> args0 }).orElse(null),
migrationProjectCreationTime = javaType.migrationProjectCreationTime().map({ args0 ->
args0
}).orElse(null),
migrationProjectName = javaType.migrationProjectName().map({ args0 -> args0 }).orElse(null),
schemaConversionApplicationAttributes = javaType.schemaConversionApplicationAttributes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.dms.kotlin.outputs.SchemaConversionApplicationAttributesProperties.Companion.toKotlin(args0)
})
}).orElse(null),
sourceDataProviderDescriptors = javaType.sourceDataProviderDescriptors().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.dms.kotlin.outputs.MigrationProjectDataProviderDescriptor.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
targetDataProviderDescriptors = javaType.targetDataProviderDescriptors().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.dms.kotlin.outputs.MigrationProjectDataProviderDescriptor.Companion.toKotlin(args0)
})
}),
transformationRules = javaType.transformationRules().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy