Class: Aws::PrometheusService::Types::Destination

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

Overview

Note:

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

Note:

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

Where to send the metrics from a scraper.

Defined Under Namespace

Classes: AmpConfiguration, CloudWatchConfiguration, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amp_configurationTypes::AmpConfiguration

The Amazon Managed Service for Prometheus workspace to send metrics to.



1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1391

class Destination < Struct.new(
  :amp_configuration,
  :cloud_watch_configuration,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AmpConfiguration < Destination; end
  class CloudWatchConfiguration < Destination; end
  class Unknown < Destination; end
end

#cloud_watch_configurationTypes::CloudWatchConfiguration

The CloudWatch dataset to send metrics to.



1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1391

class Destination < Struct.new(
  :amp_configuration,
  :cloud_watch_configuration,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AmpConfiguration < Destination; end
  class CloudWatchConfiguration < Destination; end
  class Unknown < Destination; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1391
1392
1393
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1391

def unknown
  @unknown
end