com.pulumi.awsnative.events.kotlin.outputs.RuleRunCommandTarget.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.events.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property key Can be either `tag:` *tag-key* or `InstanceIds` .
* @property values If `Key` is `tag:` *tag-key* , `Values` is a list of tag values. If `Key` is `InstanceIds` , `Values` is a list of Amazon EC2 instance IDs.
*/
public data class RuleRunCommandTarget(
public val key: String,
public val values: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.events.outputs.RuleRunCommandTarget): RuleRunCommandTarget = RuleRunCommandTarget(
key = javaType.key(),
values = javaType.values().map({ args0 -> args0 }),
)
}
}