Class: Aws::PrometheusService::Types::ScraperLoggingDestination

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

Overview

Note:

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

Note:

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

The destination where scraper logs are sent.

Defined Under Namespace

Classes: CloudWatchLogs, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logs ⇒ Types::CloudWatchLogDestination

The CloudWatch Logs configuration for the scraper logging destination.



2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2737

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

  class CloudWatchLogs < ScraperLoggingDestination; end
  class Unknown < ScraperLoggingDestination; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2737
2738
2739
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2737

def unknown
  @unknown
end