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

com.pulumi.awsnative.eks.kotlin.outputs.ClusterOutpostConfig.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.eks.kotlin.outputs

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

/**
 * An object representing the Outpost configuration to use for AWS EKS outpost cluster.
 * @property controlPlaneInstanceType Specify the Instance type of the machines that should be used to create your cluster.
 * @property controlPlanePlacement Specify the placement group of the control plane machines for your cluster.
 * @property outpostArns Specify one or more Arn(s) of Outpost(s) on which you would like to create your cluster.
 */
public data class ClusterOutpostConfig(
    public val controlPlaneInstanceType: String,
    public val controlPlanePlacement: ClusterControlPlanePlacement? = null,
    public val outpostArns: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.eks.outputs.ClusterOutpostConfig): ClusterOutpostConfig = ClusterOutpostConfig(
            controlPlaneInstanceType = javaType.controlPlaneInstanceType(),
            controlPlanePlacement = javaType.controlPlanePlacement().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.eks.kotlin.outputs.ClusterControlPlanePlacement.Companion.toKotlin(args0)
                })
            }).orElse(null),
            outpostArns = javaType.outpostArns().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy