Class: Aws::PrometheusService::Types::Source
- Inherits:
-
Struct
- Object
- Struct
- Aws::PrometheusService::Types::Source
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-prometheusservice/types.rb
Overview
Note:
Source is a union - when making an API calls you must set exactly one of the members.
Note:
Source is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Source corresponding to the set member.
The source of collected metrics for a scraper.
Direct Known Subclasses
Defined Under Namespace
Classes: EksConfiguration, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#eks_configuration ⇒ Types::EksConfiguration
The Amazon EKS cluster from which a scraper collects metrics.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#eks_configuration ⇒ Types::EksConfiguration
The Amazon EKS cluster from which a scraper collects metrics.
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1653 class Source < Struct.new( :eks_configuration, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class EksConfiguration < Source; end class Unknown < Source; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1653 1654 1655 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1653 def unknown @unknown end |