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

com.pulumi.awsnative.ec2.kotlin.outputs.Ec2FleetFleetLaunchTemplateConfigRequest.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.ec2.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property launchTemplateSpecification The launch template to use. You must specify either the launch template ID or launch template name in the request.
 * @property overrides Any parameters that you specify override the same parameters in the launch template.
 * For fleets of type `request` and `maintain` , a maximum of 300 items is allowed across all launch templates.
 */
public data class Ec2FleetFleetLaunchTemplateConfigRequest(
    public val launchTemplateSpecification: Ec2FleetFleetLaunchTemplateSpecificationRequest? = null,
    public val overrides: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.Ec2FleetFleetLaunchTemplateConfigRequest): Ec2FleetFleetLaunchTemplateConfigRequest = Ec2FleetFleetLaunchTemplateConfigRequest(
            launchTemplateSpecification = javaType.launchTemplateSpecification().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.ec2.kotlin.outputs.Ec2FleetFleetLaunchTemplateSpecificationRequest.Companion.toKotlin(args0)
                })
            }).orElse(null),
            overrides = javaType.overrides().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.ec2.kotlin.outputs.Ec2FleetFleetLaunchTemplateOverridesRequest.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy