Package com.pulumi.aws.cloudwatch
Class LogMetricFilterArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.cloudwatch.LogMetricFilterArgs
-
public final class LogMetricFilterArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogMetricFilterArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static LogMetricFilterArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>applyOnTransformedLogs()static LogMetricFilterArgs.Builderbuilder()static LogMetricFilterArgs.Builderbuilder(LogMetricFilterArgs defaults)com.pulumi.core.Output<java.lang.String>logGroupName()com.pulumi.core.Output<LogMetricFilterMetricTransformationArgs>metricTransformation()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()com.pulumi.core.Output<java.lang.String>pattern()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()
-
-
-
Field Detail
-
Empty
public static final LogMetricFilterArgs Empty
-
-
Method Detail
-
applyOnTransformedLogs
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> applyOnTransformedLogs()
- Returns:
- Whether the metric filter will be applied on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
-
logGroupName
public com.pulumi.core.Output<java.lang.String> logGroupName()
- Returns:
- The name of the log group to associate the metric filter with.
-
metricTransformation
public com.pulumi.core.Output<LogMetricFilterMetricTransformationArgs> metricTransformation()
- Returns:
- A block defining collection of information needed to define how metric data gets emitted. See below.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- A name for the metric filter.
-
pattern
public com.pulumi.core.Output<java.lang.String> pattern()
- Returns:
- A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html) for extracting metric data out of ingested log events.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
builder
public static LogMetricFilterArgs.Builder builder()
-
builder
public static LogMetricFilterArgs.Builder builder(LogMetricFilterArgs defaults)
-
-