Class: Aws::Notifications::Types::GetEventRuleResponse

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

#arnString

The ARN of the resource.

Returns:

  • (String)


738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 738

class GetEventRuleResponse < Struct.new(
  :arn,
  :notification_configuration_arn,
  :creation_time,
  :source,
  :event_type,
  :event_pattern,
  :regions,
  :managed_rules,
  :status_summary_by_region)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

The date when the EventRule was created.

Returns:

  • (Time)


738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 738

class GetEventRuleResponse < Struct.new(
  :arn,
  :notification_configuration_arn,
  :creation_time,
  :source,
  :event_type,
  :event_pattern,
  :regions,
  :managed_rules,
  :status_summary_by_region)
  SENSITIVE = []
  include Aws::Structure
end

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


738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 738

class GetEventRuleResponse < Struct.new(
  :arn,
  :notification_configuration_arn,
  :creation_time,
  :source,
  :event_type,
  :event_pattern,
  :regions,
  :managed_rules,
  :status_summary_by_region)
  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)


738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 738

class GetEventRuleResponse < Struct.new(
  :arn,
  :notification_configuration_arn,
  :creation_time,
  :source,
  :event_type,
  :event_pattern,
  :regions,
  :managed_rules,
  :status_summary_by_region)
  SENSITIVE = []
  include Aws::Structure
end

#managed_rulesArray<String>

A list of managed rules from EventBridge that are associated with this EventRule.

These are created by User Notifications within your account so this EventRule functions.

Returns:

  • (Array<String>)


738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 738

class GetEventRuleResponse < Struct.new(
  :arn,
  :notification_configuration_arn,
  :creation_time,
  :source,
  :event_type,
  :event_pattern,
  :regions,
  :managed_rules,
  :status_summary_by_region)
  SENSITIVE = []
  include Aws::Structure
end

#notification_configuration_arnString

The ARN of a NotificationConfiguration.

Returns:

  • (String)


738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 738

class GetEventRuleResponse < Struct.new(
  :arn,
  :notification_configuration_arn,
  :creation_time,
  :source,
  :event_type,
  :event_pattern,
  :regions,
  :managed_rules,
  :status_summary_by_region)
  SENSITIVE = []
  include Aws::Structure
end

#regionsArray<String>

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

Returns:

  • (Array<String>)


738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 738

class GetEventRuleResponse < Struct.new(
  :arn,
  :notification_configuration_arn,
  :creation_time,
  :source,
  :event_type,
  :event_pattern,
  :regions,
  :managed_rules,
  :status_summary_by_region)
  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)


738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 738

class GetEventRuleResponse < Struct.new(
  :arn,
  :notification_configuration_arn,
  :creation_time,
  :source,
  :event_type,
  :event_pattern,
  :regions,
  :managed_rules,
  :status_summary_by_region)
  SENSITIVE = []
  include Aws::Structure
end

#status_summary_by_regionHash<String,Types::EventRuleStatusSummary>

A list of an EventRule's status by Region. Regions are mapped to EventRuleStatusSummary.

Returns:



738
739
740
741
742
743
744
745
746
747
748
749
750
# File 'gems/aws-sdk-notifications/lib/aws-sdk-notifications/types.rb', line 738

class GetEventRuleResponse < Struct.new(
  :arn,
  :notification_configuration_arn,
  :creation_time,
  :source,
  :event_type,
  :event_pattern,
  :regions,
  :managed_rules,
  :status_summary_by_region)
  SENSITIVE = []
  include Aws::Structure
end