Class: Aws::Notifications::Types::CreateEventRuleRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Notifications::Types::CreateEventRuleRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-notifications/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#event_pattern ⇒ String
An additional event pattern used to further filter the events this
EventRulereceives. -
#event_type ⇒ String
The event type to match.
-
#notification_configuration_arn ⇒ String
The Amazon Resource Name (ARN) of the
NotificationConfigurationassociated with thisEventRule. -
#regions ⇒ Array<String>
A list of Amazon Web Services Regions that send events to this
EventRule. -
#source ⇒ String
The matched event source.
Instance Attribute Details
#event_pattern ⇒ String
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
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_type ⇒ String
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*.
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_arn ⇒ String
The Amazon Resource Name (ARN) of the NotificationConfiguration associated with this EventRule.
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 |
#regions ⇒ Array<String>
A list of Amazon Web Services Regions that send events to this EventRule.
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 |
#source ⇒ String
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*.
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 |