Class: Aws::States::Types::UpdateStateMachineInput

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-states/types.rb

Overview

Note:

When making an API call, you may pass UpdateStateMachineInput data as a hash:

{
  state_machine_arn: "Arn", # required
  definition: "Definition",
  role_arn: "Arn",
  logging_configuration: {
    level: "ALL", # accepts ALL, ERROR, FATAL, OFF
    include_execution_data: false,
    destinations: [
      {
        cloud_watch_logs_log_group: {
          log_group_arn: "Arn",
        },
      },
    ],
  },
}

Constant Summary collapse

SENSITIVE =
[:definition]

Instance Attribute Summary collapse

Instance Attribute Details

#definitionString

The Amazon States Language definition of the state machine. See [Amazon States Language].

[1]: docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html

Returns:

  • (String)


2792
2793
2794
2795
2796
2797
2798
2799
# File 'lib/aws-sdk-states/types.rb', line 2792

class UpdateStateMachineInput < Struct.new(
  :state_machine_arn,
  :definition,
  :role_arn,
  :logging_configuration)
  SENSITIVE = [:definition]
  include Aws::Structure
end

#logging_configurationTypes::LoggingConfiguration

The ‘LoggingConfiguration` data type is used to set CloudWatch Logs options.



2792
2793
2794
2795
2796
2797
2798
2799
# File 'lib/aws-sdk-states/types.rb', line 2792

class UpdateStateMachineInput < Struct.new(
  :state_machine_arn,
  :definition,
  :role_arn,
  :logging_configuration)
  SENSITIVE = [:definition]
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the IAM role of the state machine.

Returns:

  • (String)


2792
2793
2794
2795
2796
2797
2798
2799
# File 'lib/aws-sdk-states/types.rb', line 2792

class UpdateStateMachineInput < Struct.new(
  :state_machine_arn,
  :definition,
  :role_arn,
  :logging_configuration)
  SENSITIVE = [:definition]
  include Aws::Structure
end

#state_machine_arnString

The Amazon Resource Name (ARN) of the state machine.

Returns:

  • (String)


2792
2793
2794
2795
2796
2797
2798
2799
# File 'lib/aws-sdk-states/types.rb', line 2792

class UpdateStateMachineInput < Struct.new(
  :state_machine_arn,
  :definition,
  :role_arn,
  :logging_configuration)
  SENSITIVE = [:definition]
  include Aws::Structure
end