Class: CfnGuardian::Models::Ec2InstanceEventSubscription
- Inherits:
-
BaseEventSubscription
- Object
- BaseEventSubscription
- CfnGuardian::Models::Ec2InstanceEventSubscription
- Defined in:
- lib/cfnguardian/models/event_subscription.rb,
lib/cfnguardian/models/event_subscription.rb
Instance Attribute Summary
Attributes inherited from BaseEventSubscription
#detail, #detail_type, #enabled, #group, #hash, #name, #resource_arn, #resource_id, #source, #topic, #type
Instance Method Summary collapse
-
#initialize(resource) ⇒ Ec2InstanceEventSubscription
constructor
A new instance of Ec2InstanceEventSubscription.
Constructor Details
#initialize(resource) ⇒ Ec2InstanceEventSubscription
Returns a new instance of Ec2InstanceEventSubscription.
78 79 80 81 |
# File 'lib/cfnguardian/models/event_subscription.rb', line 78 def initialize(resource) super(resource) @source = 'aws.ec2' end |