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)


3172
3173
3174
3175
3176
3177
3178
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3172

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)


3172
3173
3174
3175
3176
3177
3178
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3172

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)


3172
3173
3174
3175
3176
3177
3178
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 3172

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