Class: CfnGuardian::Models::RDSClusterInstanceEventSubscription
- Inherits:
-
RDSEventSubscription
- Object
- BaseEventSubscription
- RDSEventSubscription
- CfnGuardian::Models::RDSClusterInstanceEventSubscription
- Defined in:
- lib/cfnguardian/models/event_subscription.rb
Instance Attribute Summary
Attributes inherited from RDSEventSubscription
Attributes inherited from BaseEventSubscription
#detail, #detail_type, #enabled, #group, #hash, #name, #resource_arn, #resource_id, #source, #topic, #type
Instance Method Summary collapse
-
#initialize(resource) ⇒ RDSClusterInstanceEventSubscription
constructor
A new instance of RDSClusterInstanceEventSubscription.
Methods inherited from RDSEventSubscription
Constructor Details
#initialize(resource) ⇒ RDSClusterInstanceEventSubscription
Returns a new instance of RDSClusterInstanceEventSubscription.
71 72 73 74 |
# File 'lib/cfnguardian/models/event_subscription.rb', line 71 def initialize(resource) super(resource) @resource_arn = "arn:aws:rds:${AWS::Region}:${AWS::AccountId}:db:#{@resource_id}" end |