Class: AWSCDK::StepFunctions::CfnStateMachine::TracingConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
step_functions/cfn_state_machine.rb

Overview

Selects whether or not the state machine's AWS X-Ray tracing is enabled.

To configure your state machine to send trace data to X-Ray, set Enabled to true .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled: nil) ⇒ TracingConfigurationProperty

Returns a new instance of TracingConfigurationProperty.

Parameters:

  • enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    When set to true , X-Ray tracing is enabled.



975
976
977
978
# File 'step_functions/cfn_state_machine.rb', line 975

def initialize(enabled: nil)
  @enabled = enabled
  Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil?
end

Instance Attribute Details

#enabledBoolean, ... (readonly)

When set to true , X-Ray tracing is enabled.



984
985
986
# File 'step_functions/cfn_state_machine.rb', line 984

def enabled
  @enabled
end

Class Method Details

.jsii_propertiesObject



986
987
988
989
990
# File 'step_functions/cfn_state_machine.rb', line 986

def self.jsii_properties
  {
    :enabled => "enabled",
  }
end

Instance Method Details

#to_jsiiObject



992
993
994
995
996
997
998
# File 'step_functions/cfn_state_machine.rb', line 992

def to_jsii
  result = {}
  result.merge!({
    "enabled" => @enabled,
  })
  result.compact
end