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