Class: Aws::ResilienceHub::Types::EventSubscription

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

Overview

Indicates an event you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_typeString

The type of event you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected (DriftDetected) and Scheduled assessment failure (ScheduledAssessmentFailure) events.

Returns:

  • (String)


3084
3085
3086
3087
3088
3089
3090
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3084

class EventSubscription < Struct.new(
  :event_type,
  :name,
  :sns_topic_arn)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Unique name to identify an event subscription.

Returns:

  • (String)


3084
3085
3086
3087
3088
3089
3090
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3084

class EventSubscription < Struct.new(
  :event_type,
  :name,
  :sns_topic_arn)
  SENSITIVE = []
  include Aws::Structure
end

#sns_topic_arnString

Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. The format for this ARN is: arn:partition:sns:region:account:topic-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

Returns:

  • (String)


3084
3085
3086
3087
3088
3089
3090
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3084

class EventSubscription < Struct.new(
  :event_type,
  :name,
  :sns_topic_arn)
  SENSITIVE = []
  include Aws::Structure
end