Class: Convection::Model::Template::Resource::SubscriptionFilter

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

Overview

AWS::Logs::SubscriptionFilter

Examples:

logs_subscription_filter 'TestSubscriptionFilter' do
  destination_arn 'arn:aws:logs:us-east-1:123456789012:destination:testDestination'
  filter_pattern  '{$.userIdentity.type = Root}'
  log_group_name  'CloudTrail'
  role_arn        'arn:aws:iam::123456789012:role/Root'
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

#_terraform_module_dir_to_flag, #_terraform_module_flag_to_dir, 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, included, #join, mixers, #select

Constructor Details

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

Instance Method Details

#destination_arnObject #destination_arn(value) ⇒ Object

Overloads:

  • #destination_arnObject

    Returns the value of the ‘DestinationArn’ CloudFormation property.

  • #destination_arn(value) ⇒ Object

    Sets the ‘DestinationArn’ CloudFormation property.

    Parameters:

    • value

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



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

property :destination_arn, 'DestinationArn'

#filter_patternObject #filter_pattern(value) ⇒ Object

Overloads:

  • #filter_patternObject

    Returns the value of the ‘FilterPattern’ CloudFormation property.

  • #filter_pattern(value) ⇒ Object

    Sets the ‘FilterPattern’ CloudFormation property.

    Parameters:

    • value

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



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

property :filter_pattern, 'FilterPattern'

#log_group_nameObject #log_group_name(value) ⇒ Object

Overloads:

  • #log_group_nameObject

    Returns the value of the ‘LogGroupName’ CloudFormation property.

  • #log_group_name(value) ⇒ Object

    Sets the ‘LogGroupName’ CloudFormation property.

    Parameters:

    • value

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



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

property :log_group_name, 'LogGroupName'

#role_arnObject #role_arn(value) ⇒ Object

Overloads:

  • #role_arnObject

    Returns the value of the ‘RoleArn’ CloudFormation property.

  • #role_arn(value) ⇒ Object

    Sets the ‘RoleArn’ CloudFormation property.

    Parameters:

    • value

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



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

property :role_arn, 'RoleArn'