CfnMetricFilterProps

class aws_cdk.aws_logs.CfnMetricFilterProps(*, filter_pattern, log_group_name, metric_transformations)

Bases: object

__init__(*, filter_pattern, log_group_name, metric_transformations)

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

Parameters
  • filter_pattern (str) – AWS::Logs::MetricFilter.FilterPattern.

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

  • metric_transformations (Union[IResolvable, List[Union[MetricTransformationProperty, IResolvable]]]) – AWS::Logs::MetricFilter.MetricTransformations.

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

Attributes

filter_pattern

AWS::Logs::MetricFilter.FilterPattern.

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

Return type

str

log_group_name

AWS::Logs::MetricFilter.LogGroupName.

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

Return type

str

metric_transformations

AWS::Logs::MetricFilter.MetricTransformations.

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

Return type

Union[IResolvable, List[Union[MetricTransformationProperty, IResolvable]]]