sfn_create_state_machine_alias: Creates an alias for a state machine that points to one or...

View source: R/sfn_operations.R

sfn_create_state_machine_aliasR Documentation

Creates an alias for a state machine that points to one or two versions of the same state machine

Description

Creates an alias for a state machine that points to one or two versions of the same state machine. You can set your application to call start_execution with an alias and update the version the alias uses without changing the client's code.

See https://www.paws-r-sdk.com/docs/sfn_create_state_machine_alias/ for full documentation.

Usage

sfn_create_state_machine_alias(description = NULL, name, routingConfiguration)

Arguments

description

A description for the state machine alias.

name

[required] The name of the state machine alias.

To avoid conflict with version ARNs, don't use an integer in the name of the alias.

routingConfiguration

[required] The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions. routingConfiguration contains an array of RoutingConfig objects that specify up to two state machine versions. Step Functions then randomly choses which version to run an execution with based on the weight assigned to each RoutingConfig.


paws.application.integration documentation built on Sept. 12, 2024, 6:11 a.m.