You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::SubscriptionFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Represents a subscription filter.

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timeInteger

The creation time of the subscription filter, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

Returns:

  • (Integer)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1620

class SubscriptionFilter < Struct.new(
  :filter_name,
  :log_group_name,
  :filter_pattern,
  :destination_arn,
  :role_arn,
  :distribution,
  :creation_time)
  include Aws::Structure
end

#destination_arnString

The Amazon Resource Name (ARN) of the destination.

Returns:

  • (String)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1620

class SubscriptionFilter < Struct.new(
  :filter_name,
  :log_group_name,
  :filter_pattern,
  :destination_arn,
  :role_arn,
  :distribution,
  :creation_time)
  include Aws::Structure
end

#distributionString

The method used to distribute log data to the destination, when the destination is an Amazon Kinesis stream.

Returns:

  • (String)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1620

class SubscriptionFilter < Struct.new(
  :filter_name,
  :log_group_name,
  :filter_pattern,
  :destination_arn,
  :role_arn,
  :distribution,
  :creation_time)
  include Aws::Structure
end

#filter_nameString

The name of the subscription filter.

Returns:

  • (String)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1620

class SubscriptionFilter < Struct.new(
  :filter_name,
  :log_group_name,
  :filter_pattern,
  :destination_arn,
  :role_arn,
  :distribution,
  :creation_time)
  include Aws::Structure
end

#filter_patternString

A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event may contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.

Returns:

  • (String)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1620

class SubscriptionFilter < Struct.new(
  :filter_name,
  :log_group_name,
  :filter_pattern,
  :destination_arn,
  :role_arn,
  :distribution,
  :creation_time)
  include Aws::Structure
end

#log_group_nameString

The name of the log group.

Returns:

  • (String)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1620

class SubscriptionFilter < Struct.new(
  :filter_name,
  :log_group_name,
  :filter_pattern,
  :destination_arn,
  :role_arn,
  :distribution,
  :creation_time)
  include Aws::Structure
end

#role_arnString

Returns:

  • (String)


1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1620

class SubscriptionFilter < Struct.new(
  :filter_name,
  :log_group_name,
  :filter_pattern,
  :destination_arn,
  :role_arn,
  :distribution,
  :creation_time)
  include Aws::Structure
end