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

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

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

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * The kernel gateway app settings.
 * @property customImages A list of custom SageMaker images that are configured to run as a KernelGateway app.
 * @property defaultResourceSpec The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
 * @property lifecycleConfigArns A list of LifecycleConfigArns available for use with KernelGateway apps.
 */
public data class DomainKernelGatewayAppSettings(
    public val customImages: List? = null,
    public val defaultResourceSpec: DomainResourceSpec? = null,
    public val lifecycleConfigArns: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.DomainKernelGatewayAppSettings): DomainKernelGatewayAppSettings = DomainKernelGatewayAppSettings(
            customImages = javaType.customImages().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainCustomImage.Companion.toKotlin(args0)
                })
            }),
            defaultResourceSpec = javaType.defaultResourceSpec().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainResourceSpec.Companion.toKotlin(args0)
                })
            }).orElse(null),
            lifecycleConfigArns = javaType.lifecycleConfigArns().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy