
com.pulumi.awsnative.stepfunctions.kotlin.outputs.GetStateMachineAliasResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.stepfunctions.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The ARN of the alias.
* @property description An optional description of the alias.
* @property routingConfiguration The routing configuration of an alias. Routing configuration splits [StartExecution](https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html) requests between one or two versions of the same state machine.
* Use `RoutingConfiguration` if you want to explicitly set the alias [weights](https://docs.aws.amazon.com/step-functions/latest/apireference/API_RoutingConfigurationListItem.html#StepFunctions-Type-RoutingConfigurationListItem-weight) . Weight is the percentage of traffic you want to route to a state machine version.
* > `RoutingConfiguration` and `DeploymentPreference` are mutually exclusive properties. You must define only one of these properties.
*/
public data class GetStateMachineAliasResult(
public val arn: String? = null,
public val description: String? = null,
public val routingConfiguration: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.stepfunctions.outputs.GetStateMachineAliasResult): GetStateMachineAliasResult = GetStateMachineAliasResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
routingConfiguration = javaType.routingConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.stepfunctions.kotlin.outputs.StateMachineAliasRoutingConfigurationVersion.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy