Class: Aws::DevOpsGuru::Types::ListEventsFilters

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

Overview

Note:

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

{
  insight_id: "InsightId",
  event_time_range: {
    from_time: Time.now, # required
    to_time: Time.now, # required
  },
  event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
  event_source: "EventSource",
  data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
  resource_collection: {
    cloud_formation: {
      stack_names: ["StackName"],
    },
  },
}

Filters you can use to specify which events are returned when ListEvents is called.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_sourceString

The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, of the events you want returned.

Returns:

  • (String)


1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
# File 'gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/types.rb', line 1127

class ListEventsFilters < Struct.new(
  :insight_id,
  :event_time_range,
  :event_class,
  :event_source,
  :data_source,
  :resource_collection)
  SENSITIVE = []
  include Aws::Structure
end

#event_classString

The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.

Returns:

  • (String)


1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
# File 'gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/types.rb', line 1127

class ListEventsFilters < Struct.new(
  :insight_id,
  :event_time_range,
  :event_class,
  :event_source,
  :data_source,
  :resource_collection)
  SENSITIVE = []
  include Aws::Structure
end

#event_sourceString

The AWS source that emitted the events you want to filter for.

Returns:

  • (String)


1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
# File 'gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/types.rb', line 1127

class ListEventsFilters < Struct.new(
  :insight_id,
  :event_time_range,
  :event_class,
  :event_source,
  :data_source,
  :resource_collection)
  SENSITIVE = []
  include Aws::Structure
end

#event_time_rangeTypes::EventTimeRange

A time range during which you want the filtered events to have occurred.



1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
# File 'gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/types.rb', line 1127

class ListEventsFilters < Struct.new(
  :insight_id,
  :event_time_range,
  :event_class,
  :event_source,
  :data_source,
  :resource_collection)
  SENSITIVE = []
  include Aws::Structure
end

#insight_idString

An ID of an insight that is related to the events you want to filter for.

Returns:

  • (String)


1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
# File 'gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/types.rb', line 1127

class ListEventsFilters < Struct.new(
  :insight_id,
  :event_time_range,
  :event_class,
  :event_source,
  :data_source,
  :resource_collection)
  SENSITIVE = []
  include Aws::Structure
end

#resource_collectionTypes::ResourceCollection

A collection of AWS resources supported by DevOps Guru. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.



1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
# File 'gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/types.rb', line 1127

class ListEventsFilters < Struct.new(
  :insight_id,
  :event_time_range,
  :event_class,
  :event_source,
  :data_source,
  :resource_collection)
  SENSITIVE = []
  include Aws::Structure
end