
com.pulumi.awsnative.vpclattice.kotlin.outputs.GetRuleResult.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.vpclattice.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property action Describes the action for a rule.
* @property arn The Amazon Resource Name (ARN) of the rule.
* @property id The ID of the listener.
* @property match The rule match.
* @property priority The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
* @property tags The tags for the rule.
*/
public data class GetRuleResult(
public val action: RuleAction? = null,
public val arn: String? = null,
public val id: String? = null,
public val match: RuleMatch? = null,
public val priority: Int? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.vpclattice.outputs.GetRuleResult): GetRuleResult = GetRuleResult(
action = javaType.action().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.vpclattice.kotlin.outputs.RuleAction.Companion.toKotlin(args0)
})
}).orElse(null),
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
match = javaType.match().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.vpclattice.kotlin.outputs.RuleMatch.Companion.toKotlin(args0)
})
}).orElse(null),
priority = javaType.priority().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy