CfnSubscriptionFilterProps

class aws_cdk.aws_logs.CfnSubscriptionFilterProps(*, destination_arn, filter_pattern, log_group_name, role_arn=None)

Bases: object

__init__(*, destination_arn, filter_pattern, log_group_name, role_arn=None)

Properties for defining a AWS::Logs::SubscriptionFilter.

Parameters
  • destination_arn (str) – AWS::Logs::SubscriptionFilter.DestinationArn.

  • filter_pattern (str) – AWS::Logs::SubscriptionFilter.FilterPattern.

  • log_group_name (str) – AWS::Logs::SubscriptionFilter.LogGroupName.

  • role_arn (Optional[str]) – AWS::Logs::SubscriptionFilter.RoleArn.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html

Attributes

destination_arn

AWS::Logs::SubscriptionFilter.DestinationArn.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-destinationarn

Return type

str

filter_pattern

AWS::Logs::SubscriptionFilter.FilterPattern.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-filterpattern

Return type

str

log_group_name

AWS::Logs::SubscriptionFilter.LogGroupName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-loggroupname

Return type

str

role_arn

AWS::Logs::SubscriptionFilter.RoleArn.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-rolearn

Return type

Optional[str]