Class: Aws::PrometheusService::Types::ExporterConfiguration

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

Overview

Note:

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

Note:

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

Contains the configuration for an exporter managed by the scraper.

Defined Under Namespace

Classes: KafkaConfiguration, OpenSearchConfiguration, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#kafka_configuration ⇒ Types::KafkaExporterConfiguration

The configuration that the scraper uses to collect metrics from an Amazon MSK cluster through a managed Kafka exporter.



1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1456

class ExporterConfiguration < Struct.new(
  :open_search_configuration,
  :kafka_configuration,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OpenSearchConfiguration < ExporterConfiguration; end
  class KafkaConfiguration < ExporterConfiguration; end
  class Unknown < ExporterConfiguration; end
end

#open_search_configuration ⇒ Types::OpenSearchExporterConfiguration

The configuration that the scraper uses to export metrics to an Amazon OpenSearch Service domain.



1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1456

class ExporterConfiguration < Struct.new(
  :open_search_configuration,
  :kafka_configuration,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class OpenSearchConfiguration < ExporterConfiguration; end
  class KafkaConfiguration < ExporterConfiguration; end
  class Unknown < ExporterConfiguration; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1456
1457
1458
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1456

def unknown
  @unknown
end