Class: Aws::PrometheusService::Types::Destination
- Inherits:
-
Struct
- Object
- Struct
- Aws::PrometheusService::Types::Destination
- Includes:
- Structure, Structure::Union
- Defined in:
- 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.
Direct Known Subclasses
Defined Under Namespace
Classes: AmpConfiguration, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#amp_configuration ⇒ Types::AmpConfiguration
The Amazon Managed Service for Prometheusworkspace to send metrics to.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#amp_configuration ⇒ Types::AmpConfiguration
The Amazon Managed Service for Prometheusworkspace to send metrics to.
759 760 761 762 763 764 765 766 767 768 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 759 class Destination < Struct.new( :amp_configuration, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AmpConfiguration < Destination; end class Unknown < Destination; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
759 760 761 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 759 def unknown @unknown end |