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

com.pulumi.awsnative.sagemaker.kotlin.outputs.SpaceResourceSpec.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import com.pulumi.awsnative.sagemaker.kotlin.enums.SpaceResourceSpecInstanceType
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property instanceType The instance type that the image version runs on.
 * @property lifecycleConfigArn The Amazon Resource Name (ARN) of the Lifecycle Configuration to attach to the Resource.
 * @property sageMakerImageArn The ARN of the SageMaker image that the image version belongs to.
 * @property sageMakerImageVersionArn The ARN of the image version created on the instance.
 */
public data class SpaceResourceSpec(
    public val instanceType: SpaceResourceSpecInstanceType? = null,
    public val lifecycleConfigArn: String? = null,
    public val sageMakerImageArn: String? = null,
    public val sageMakerImageVersionArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.SpaceResourceSpec): SpaceResourceSpec = SpaceResourceSpec(
            instanceType = javaType.instanceType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.SpaceResourceSpecInstanceType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            lifecycleConfigArn = javaType.lifecycleConfigArn().map({ args0 -> args0 }).orElse(null),
            sageMakerImageArn = javaType.sageMakerImageArn().map({ args0 -> args0 }).orElse(null),
            sageMakerImageVersionArn = javaType.sageMakerImageVersionArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy