Class: CfnGuardian::Models::RDSClusterEventSubscription
- Inherits:
-
RDSEventSubscription
- Object
- BaseEventSubscription
- RDSEventSubscription
- CfnGuardian::Models::RDSClusterEventSubscription
- 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) ⇒ RDSClusterEventSubscription
constructor
A new instance of RDSClusterEventSubscription.
Methods inherited from RDSEventSubscription
Constructor Details
#initialize(resource) ⇒ RDSClusterEventSubscription
Returns a new instance of RDSClusterEventSubscription.
63 64 65 66 |
# File 'lib/cfnguardian/models/event_subscription.rb', line 63 def initialize(resource) super(resource) @resource_arn = "arn:aws:rds:${AWS::Region}:${AWS::AccountId}:cluster:#{@resource_id}" end |