Class: CfnGuardian::Models::RDSInstanceEventSubscription

Inherits:
RDSEventSubscription show all
Defined in:
lib/cfnguardian/models/event_subscription.rb

Instance Attribute Summary

Attributes inherited from RDSEventSubscription

#event_id

Attributes inherited from BaseEventSubscription

#detail, #detail_type, #enabled, #group, #hash, #name, #resource_arn, #resource_id, #source, #topic, #type

Instance Method Summary collapse

Methods inherited from RDSEventSubscription

#detail

Constructor Details

#initialize(resource) ⇒ RDSInstanceEventSubscription

Returns a new instance of RDSInstanceEventSubscription.



56
57
58
59
# File 'lib/cfnguardian/models/event_subscription.rb', line 56

def initialize(resource)
  super(resource)
  @resource_arn = "arn:aws:rds:${AWS::Region}:${AWS::AccountId}:db:#{@resource_id}"
end