Class: Aws::PrometheusService::Types::CreateScraperRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::PrometheusService::Types::CreateScraperRequest
- Defined in:
- gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb
Overview
Represents the input of a CreateScraper
operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#alias ⇒ String
(optional) An alias to associate with the scraper.
-
#client_token ⇒ String
(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.
-
#destination ⇒ Types::Destination
The Amazon Managed Service for Prometheus workspace to send metrics to.
-
#role_configuration ⇒ Types::RoleConfiguration
The scraper role configuration for the workspace.
-
#scrape_configuration ⇒ Types::ScrapeConfiguration
The configuration file to use in the new scraper.
-
#source ⇒ Types::Source
The Amazon EKS cluster from which the scraper will collect metrics.
-
#tags ⇒ Hash<String,String>
(Optional) The list of tag keys and values to associate with the scraper.
Instance Attribute Details
#alias ⇒ String
(optional) An alias to associate with the scraper. This is for your use, and does not need to be unique.
345 346 347 348 349 350 351 352 353 354 355 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 345 class CreateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :source, :tags) SENSITIVE = [] include Aws::Structure end |
#client_token ⇒ String
(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.
A suitable default value is auto-generated. You should normally not need to pass this option.
345 346 347 348 349 350 351 352 353 354 355 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 345 class CreateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :source, :tags) SENSITIVE = [] include Aws::Structure end |
#destination ⇒ Types::Destination
The Amazon Managed Service for Prometheus workspace to send metrics to.
345 346 347 348 349 350 351 352 353 354 355 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 345 class CreateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :source, :tags) SENSITIVE = [] include Aws::Structure end |
#role_configuration ⇒ Types::RoleConfiguration
The scraper role configuration for the workspace.
345 346 347 348 349 350 351 352 353 354 355 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 345 class CreateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :source, :tags) SENSITIVE = [] include Aws::Structure end |
#scrape_configuration ⇒ Types::ScrapeConfiguration
The configuration file to use in the new scraper. For more information, see Scraper configuration in the Amazon Managed Service for Prometheus User Guide.
345 346 347 348 349 350 351 352 353 354 355 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 345 class CreateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :source, :tags) SENSITIVE = [] include Aws::Structure end |
#source ⇒ Types::Source
The Amazon EKS cluster from which the scraper will collect metrics.
345 346 347 348 349 350 351 352 353 354 355 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 345 class CreateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :source, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
(Optional) The list of tag keys and values to associate with the scraper.
345 346 347 348 349 350 351 352 353 354 355 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 345 class CreateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :source, :tags) SENSITIVE = [] include Aws::Structure end |