Class: Aws::ResilienceHub::Types::EventSubscription
- Inherits:
-
Struct
- Object
- Struct
- Aws::ResilienceHub::Types::EventSubscription
- Includes:
- Structure
- Defined in:
- 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
-
#event_type ⇒ String
The type of event you would like to subscribe and get notification for.
-
#name ⇒ String
Unique name to identify an event subscription.
-
#sns_topic_arn ⇒ String
Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
Instance Attribute Details
#event_type ⇒ String
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.
3024 3025 3026 3027 3028 3029 3030 |
# File 'lib/aws-sdk-resiliencehub/types.rb', line 3024 class EventSubscription < Struct.new( :event_type, :name, :sns_topic_arn) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
Unique name to identify an event subscription.
3024 3025 3026 3027 3028 3029 3030 |
# File 'lib/aws-sdk-resiliencehub/types.rb', line 3024 class EventSubscription < Struct.new( :event_type, :name, :sns_topic_arn) SENSITIVE = [] include Aws::Structure end |
#sns_topic_arn ⇒ String
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.
[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3024 3025 3026 3027 3028 3029 3030 |
# File 'lib/aws-sdk-resiliencehub/types.rb', line 3024 class EventSubscription < Struct.new( :event_type, :name, :sns_topic_arn) SENSITIVE = [] include Aws::Structure end |