Class: Aws::CloudWatchOmni::Types::TargetConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb

Overview

Note:

TargetConfig is a union - when making an API calls you must set exactly one of the members.

Note:

TargetConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TargetConfig corresponding to the set member.

The version of the experiment's target that a run tests. The member must match the experiment's target definition.

Defined Under Namespace

Classes: AgentCoreRuntime, Custom, HttpsEndpoint, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_core_runtime ⇒ Types::AgentCoreRuntimeTarget

An endpoint of the experiment's AgentCore Runtime.



9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9629

class TargetConfig < Struct.new(
  :agent_core_runtime,
  :https_endpoint,
  :custom,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AgentCoreRuntime < TargetConfig; end
  class HttpsEndpoint < TargetConfig; end
  class Custom < TargetConfig; end
  class Unknown < TargetConfig; end
end

#custom ⇒ Types::CustomTarget

A label for what was tried, for a custom target.

Returns:



9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9629

class TargetConfig < Struct.new(
  :agent_core_runtime,
  :https_endpoint,
  :custom,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AgentCoreRuntime < TargetConfig; end
  class HttpsEndpoint < TargetConfig; end
  class Custom < TargetConfig; end
  class Unknown < TargetConfig; end
end

#https_endpoint ⇒ Types::HttpsEndpointTarget

A URL of the experiment's HTTPS service.



9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9629

class TargetConfig < Struct.new(
  :agent_core_runtime,
  :https_endpoint,
  :custom,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AgentCoreRuntime < TargetConfig; end
  class HttpsEndpoint < TargetConfig; end
  class Custom < TargetConfig; end
  class Unknown < TargetConfig; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



9629
9630
9631
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9629

def unknown
  @unknown
end