Updates an existing state machine by modifying its definition
, roleArn
, loggingConfiguration
, or EncryptionConfiguration
. Running executions will continue to use the previous definition
and roleArn
. You must include at least one of definition
or roleArn
or you will receive a MissingRequiredParameter
error.
See https://www.paws-r-sdk.com/docs/sfn_update_state_machine/ for full documentation.
sfn_update_state_machine(
stateMachineArn,
definition = NULL,
roleArn = NULL,
loggingConfiguration = NULL,
tracingConfiguration = NULL,
publish = NULL,
versionDescription = NULL,
encryptionConfiguration = NULL
)
[required] The Amazon Resource Name (ARN) of the state machine.
The Amazon States Language definition of the state machine. See Amazon States Language.
The Amazon Resource Name (ARN) of the IAM role of the state machine.
Use the LoggingConfiguration
data type to set CloudWatch Logs options.
Selects whether X-Ray tracing is enabled.
Specifies whether the state machine version is published. The default is
false
. To publish a version after updating the state machine, set
publish
to true
.
An optional description of the state machine version to publish.
You can only specify the versionDescription
parameter if you've set
publish
to true
.
Settings to configure server-side encryption.