Class: Aws::PrometheusService::Types::ScrapeConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-prometheusservice/types.rb

Overview

Note:

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

Note:

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

A scrape configuration for a scraper, base 64 encoded. For more information, see [Scraper configuration](prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration) in the *Amazon Managed Service for Prometheus User Guide*.

Direct Known Subclasses

ConfigurationBlob, Unknown

Defined Under Namespace

Classes: ConfigurationBlob, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#configuration_blobString

The base 64 encoded scrape configuration file.

Returns:

  • (String)


1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1386

class ScrapeConfiguration < Struct.new(
  :configuration_blob,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ConfigurationBlob < ScrapeConfiguration; end
  class Unknown < ScrapeConfiguration; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1386
1387
1388
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1386

def unknown
  @unknown
end