Class: Aws::SSMIncidents::Types::TriggerDetails

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

Overview

Note:

When making an API call, you may pass TriggerDetails data as a hash:

{
  raw_data: "RawData",
  source: "IncidentSource", # required
  timestamp: Time.now, # required
  trigger_arn: "Arn",
}

Details about what caused the incident to be created in Incident Manager.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#raw_dataString

Raw data passed from either EventBridge, CloudWatch, or Incident Manager when an incident is created.

Returns:

  • (String)


2134
2135
2136
2137
2138
2139
2140
2141
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 2134

class TriggerDetails < Struct.new(
  :raw_data,
  :source,
  :timestamp,
  :trigger_arn)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

Identifies the service that sourced the event. All events sourced from within AWS begin with "aws." Customer-generated events can have any value here, as long as it doesn't begin with "aws." We recommend the use of Java package-name style reverse domain-name strings.

Returns:

  • (String)


2134
2135
2136
2137
2138
2139
2140
2141
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 2134

class TriggerDetails < Struct.new(
  :raw_data,
  :source,
  :timestamp,
  :trigger_arn)
  SENSITIVE = []
  include Aws::Structure
end

#timestampTime

The time that the incident was detected.

Returns:

  • (Time)


2134
2135
2136
2137
2138
2139
2140
2141
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 2134

class TriggerDetails < Struct.new(
  :raw_data,
  :source,
  :timestamp,
  :trigger_arn)
  SENSITIVE = []
  include Aws::Structure
end

#trigger_arnString

The ARN of the source that detected the incident.

Returns:

  • (String)


2134
2135
2136
2137
2138
2139
2140
2141
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 2134

class TriggerDetails < Struct.new(
  :raw_data,
  :source,
  :timestamp,
  :trigger_arn)
  SENSITIVE = []
  include Aws::Structure
end