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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.*

[1]: docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
# File 'lib/aws-sdk-notifications/types.rb', line 270

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*.

[1]: docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-delivery-level

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
# File 'lib/aws-sdk-notifications/types.rb', line 270

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)


270
271
272
273
274
275
276
277
278
# File 'lib/aws-sdk-notifications/types.rb', line 270

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>)


270
271
272
273
274
275
276
277
278
# File 'lib/aws-sdk-notifications/types.rb', line 270

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*.

[1]: docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-delivery-level

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
# File 'lib/aws-sdk-notifications/types.rb', line 270

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