We recommend new projects start with resources from the AWS provider.
aws-native.stepfunctions.getStateMachineAlias
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for StateMachineAlias
Using getStateMachineAlias
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStateMachineAlias(args: GetStateMachineAliasArgs, opts?: InvokeOptions): Promise<GetStateMachineAliasResult>
function getStateMachineAliasOutput(args: GetStateMachineAliasOutputArgs, opts?: InvokeOptions): Output<GetStateMachineAliasResult>
def get_state_machine_alias(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStateMachineAliasResult
def get_state_machine_alias_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStateMachineAliasResult]
func LookupStateMachineAlias(ctx *Context, args *LookupStateMachineAliasArgs, opts ...InvokeOption) (*LookupStateMachineAliasResult, error)
func LookupStateMachineAliasOutput(ctx *Context, args *LookupStateMachineAliasOutputArgs, opts ...InvokeOption) LookupStateMachineAliasResultOutput
> Note: This function is named LookupStateMachineAlias
in the Go SDK.
public static class GetStateMachineAlias
{
public static Task<GetStateMachineAliasResult> InvokeAsync(GetStateMachineAliasArgs args, InvokeOptions? opts = null)
public static Output<GetStateMachineAliasResult> Invoke(GetStateMachineAliasInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStateMachineAliasResult> getStateMachineAlias(GetStateMachineAliasArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:stepfunctions:getStateMachineAlias
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The ARN of the alias.
- Arn string
- The ARN of the alias.
- arn String
- The ARN of the alias.
- arn string
- The ARN of the alias.
- arn str
- The ARN of the alias.
- arn String
- The ARN of the alias.
getStateMachineAlias Result
The following output properties are available:
- Arn string
- The ARN of the alias.
- Description string
- An optional description of the alias.
- Routing
Configuration List<Pulumi.Aws Native. Step Functions. Outputs. State Machine Alias Routing Configuration Version> The routing configuration of an alias. Routing configuration splits StartExecution requests between one or two versions of the same state machine.
Use
RoutingConfiguration
if you want to explicitly set the alias weights . Weight is the percentage of traffic you want to route to a state machine version.RoutingConfiguration
andDeploymentPreference
are mutually exclusive properties. You must define only one of these properties.
- Arn string
- The ARN of the alias.
- Description string
- An optional description of the alias.
- Routing
Configuration []StateMachine Alias Routing Configuration Version The routing configuration of an alias. Routing configuration splits StartExecution requests between one or two versions of the same state machine.
Use
RoutingConfiguration
if you want to explicitly set the alias weights . Weight is the percentage of traffic you want to route to a state machine version.RoutingConfiguration
andDeploymentPreference
are mutually exclusive properties. You must define only one of these properties.
- arn String
- The ARN of the alias.
- description String
- An optional description of the alias.
- routing
Configuration List<StateMachine Alias Routing Configuration Version> The routing configuration of an alias. Routing configuration splits StartExecution requests between one or two versions of the same state machine.
Use
RoutingConfiguration
if you want to explicitly set the alias weights . Weight is the percentage of traffic you want to route to a state machine version.RoutingConfiguration
andDeploymentPreference
are mutually exclusive properties. You must define only one of these properties.
- arn string
- The ARN of the alias.
- description string
- An optional description of the alias.
- routing
Configuration StateMachine Alias Routing Configuration Version[] The routing configuration of an alias. Routing configuration splits StartExecution requests between one or two versions of the same state machine.
Use
RoutingConfiguration
if you want to explicitly set the alias weights . Weight is the percentage of traffic you want to route to a state machine version.RoutingConfiguration
andDeploymentPreference
are mutually exclusive properties. You must define only one of these properties.
- arn str
- The ARN of the alias.
- description str
- An optional description of the alias.
- routing_
configuration Sequence[StateMachine Alias Routing Configuration Version] The routing configuration of an alias. Routing configuration splits StartExecution requests between one or two versions of the same state machine.
Use
RoutingConfiguration
if you want to explicitly set the alias weights . Weight is the percentage of traffic you want to route to a state machine version.RoutingConfiguration
andDeploymentPreference
are mutually exclusive properties. You must define only one of these properties.
- arn String
- The ARN of the alias.
- description String
- An optional description of the alias.
- routing
Configuration List<Property Map> The routing configuration of an alias. Routing configuration splits StartExecution requests between one or two versions of the same state machine.
Use
RoutingConfiguration
if you want to explicitly set the alias weights . Weight is the percentage of traffic you want to route to a state machine version.RoutingConfiguration
andDeploymentPreference
are mutually exclusive properties. You must define only one of these properties.
Supporting Types
StateMachineAliasRoutingConfigurationVersion
- State
Machine stringVersion Arn - The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
- Weight int
- The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
- State
Machine stringVersion Arn - The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
- Weight int
- The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
- state
Machine StringVersion Arn - The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
- weight Integer
- The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
- state
Machine stringVersion Arn - The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
- weight number
- The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
- state_
machine_ strversion_ arn - The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
- weight int
- The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
- state
Machine StringVersion Arn - The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
- weight Number
- The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.