Class: Convection::Model::Template::Resource::RDSEventSubscription

Inherits:
Convection::Model::Template::Resource show all
Defined in:
lib/convection/model/template/resource/aws_rds_event_subscription.rb

Overview

Examples:

rds_event_subscription 'myEventSubscription' do
  event_category 'configuration change'
  event_category 'failure'
  event_category 'deletion'
  sns_topic_arn  'arn:aws:sns:us-west-2:123456789012:example-topic'
  source_id      'db-instance-1'
  source_id      fn_ref('myDBInstance')
  source_type    'db-instance'
  enabled        false
end

See Also:

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::Resource

#exist, #name, #parent, #properties, #resource_attributes, #template

Instance Method Summary collapse

Methods inherited from Convection::Model::Template::Resource

#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, property, #property, #reference, #render, type, #type, #with_output

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

attach_resource, attach_resource_collection, resource_collection_dsl_methods, resource_dsl_methods

Methods included from DSL::Helpers

#camel_case, included, method_name, #screaming_snake_case, #snake_case

Methods included from DSL::IntrinsicFunctions

#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_import_value, #fn_not, #fn_or, #fn_ref, #fn_sub, #get_att, #get_azs, #join, #select

Constructor Details

This class inherits a constructor from Convection::Model::Template::Resource

Instance Method Details

#enabledObject #enabled(value) ⇒ Object

Overloads:

  • #enabledObject

    Returns the value of the ‘Enabled’ CloudFormation property.

  • #enabled(value) ⇒ Object

    Sets the ‘Enabled’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘Enabled’ CloudFormation property to.



20
# File 'lib/convection/model/template/resource/aws_rds_event_subscription.rb', line 20

property :enabled, 'Enabled'

#event_categoryObject #event_category(value) ⇒ Object

Overloads:

  • #event_categoryObject

    Returns the value of the ‘EventCategories’ CloudFormation property.

  • #event_category(value) ⇒ Object

    Sets the ‘EventCategories’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘EventCategories’ CloudFormation property to.



21
# File 'lib/convection/model/template/resource/aws_rds_event_subscription.rb', line 21

property :event_category, 'EventCategories', :type => :list

#sns_topic_arnObject #sns_topic_arn(value) ⇒ Object

Overloads:

  • #sns_topic_arnObject

    Returns the value of the ‘SnsTopicArn’ CloudFormation property.

  • #sns_topic_arn(value) ⇒ Object

    Sets the ‘SnsTopicArn’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘SnsTopicArn’ CloudFormation property to.



22
# File 'lib/convection/model/template/resource/aws_rds_event_subscription.rb', line 22

property :sns_topic_arn, 'SnsTopicArn'

#source_idObject #source_id(value) ⇒ Object

Overloads:

  • #source_idObject

    Returns the value of the ‘SourceIds’ CloudFormation property.

  • #source_id(value) ⇒ Object

    Sets the ‘SourceIds’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘SourceIds’ CloudFormation property to.



23
# File 'lib/convection/model/template/resource/aws_rds_event_subscription.rb', line 23

property :source_id, 'SourceIds', :type => :list

#source_typeObject #source_type(value) ⇒ Object

Overloads:

  • #source_typeObject

    Returns the value of the ‘SourceType’ CloudFormation property.

  • #source_type(value) ⇒ Object

    Sets the ‘SourceType’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘SourceType’ CloudFormation property to.



24
# File 'lib/convection/model/template/resource/aws_rds_event_subscription.rb', line 24

property :source_type, 'SourceType'