Class: Aws::Notifications::Types::CreateEventRuleRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_patternString

An additional event pattern used to further filter the events this EventRule receives.

For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide.

Returns:

  • (String)


248
249
250
251
252
253
254
255
256
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 248

class CreateEventRuleRequest < Struct.new(
  :notification_configuration_arn,
  :source,
  :event_type,
  :event_pattern,
  :regions)
  SENSITIVE = []
  include Aws::Structure
end

#event_typeString

The event type to match.

Must match one of the valid Amazon EventBridge event types. For example, EC2 Instance State-change Notification and Amazon CloudWatch Alarm State Change. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.

Returns:

  • (String)


248
249
250
251
252
253
254
255
256
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 248

class CreateEventRuleRequest < Struct.new(
  :notification_configuration_arn,
  :source,
  :event_type,
  :event_pattern,
  :regions)
  SENSITIVE = []
  include Aws::Structure
end

#notification_configuration_arnString

The Amazon Resource Name (ARN) of the NotificationConfiguration associated with this EventRule.

Returns:

  • (String)


248
249
250
251
252
253
254
255
256
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 248

class CreateEventRuleRequest < Struct.new(
  :notification_configuration_arn,
  :source,
  :event_type,
  :event_pattern,
  :regions)
  SENSITIVE = []
  include Aws::Structure
end

#regionsArray<String>

A list of Amazon Web Services Regions that send events to this EventRule.

Returns:

  • (Array<String>)


248
249
250
251
252
253
254
255
256
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 248

class CreateEventRuleRequest < Struct.new(
  :notification_configuration_arn,
  :source,
  :event_type,
  :event_pattern,
  :regions)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

The matched event source.

Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example, aws.ec2 and aws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.

Returns:

  • (String)


248
249
250
251
252
253
254
255
256
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 248

class CreateEventRuleRequest < Struct.new(
  :notification_configuration_arn,
  :source,
  :event_type,
  :event_pattern,
  :regions)
  SENSITIVE = []
  include Aws::Structure
end