Class: Aws::PrometheusService::Types::CreateAlertManagerDefinitionRequest

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

Overview

Represents the input of a ‘CreateAlertManagerDefinition` operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


151
152
153
154
155
156
157
# File 'lib/aws-sdk-prometheusservice/types.rb', line 151

class CreateAlertManagerDefinitionRequest < Struct.new(
  :client_token,
  :data,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#dataString

The alert manager definition to add. A base64-encoded version of the YAML alert manager definition file.

For details about the alert manager definition, see [AlertManagedDefinitionData].

[1]: docs.aws.amazon.com/prometheus/latest/APIReference/yaml-AlertManagerDefinitionData.html

Returns:

  • (String)


151
152
153
154
155
156
157
# File 'lib/aws-sdk-prometheusservice/types.rb', line 151

class CreateAlertManagerDefinitionRequest < Struct.new(
  :client_token,
  :data,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#workspace_idString

The ID of the workspace to add the alert manager definition to.

Returns:

  • (String)


151
152
153
154
155
156
157
# File 'lib/aws-sdk-prometheusservice/types.rb', line 151

class CreateAlertManagerDefinitionRequest < Struct.new(
  :client_token,
  :data,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end