1. Packages
  2. Azure Native
  3. API Docs
  4. awsconnector
  5. LogsMetricFilter
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.awsconnector.LogsMetricFilter

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

A Microsoft.AwsConnector resource

Uses Azure REST API version 2024-12-01.

Example Usage

LogsMetricFilters_CreateOrReplace

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var logsMetricFilter = new AzureNative.AwsConnector.LogsMetricFilter("logsMetricFilter", new()
    {
        Location = "hvjoetfjcwqioibnqqj",
        Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
        Properties = new AzureNative.AwsConnector.Inputs.LogsMetricFilterPropertiesArgs
        {
            Arn = "cjjfhzeoyddkfmdmwsl",
            AwsAccountId = "z",
            AwsProperties = new AzureNative.AwsConnector.Inputs.AwsLogsMetricFilterPropertiesArgs
            {
                FilterName = "xexgsguaaqmkiteqgc",
                FilterPattern = "xkejasx",
                LogGroupName = "cugxyp",
                MetricTransformations = new[]
                {
                    new AzureNative.AwsConnector.Inputs.MetricTransformationArgs
                    {
                        DefaultValue = 7,
                        Dimensions = new[]
                        {
                            new AzureNative.AwsConnector.Inputs.DimensionArgs
                            {
                                Value = "rosnaljwmrdesiticsc",
                            },
                        },
                        MetricName = "oybfr",
                        MetricNamespace = "iabzdcxljvduduha",
                        MetricValue = "rpkrrqxywciyvedsvrlbujqjenrlpr",
                        Unit = AzureNative.AwsConnector.MetricTransformationUnit.Bits,
                    },
                },
            },
            AwsRegion = "qjqubwwtlycfy",
            AwsSourceSchema = "tekgcey",
            AwsTags = 
            {
                { "key5547", "bdcrhaondaponausevadhudvvfitd" },
            },
            PublicCloudConnectorsResourceId = "dabxbsdvufxltivnlbpft",
            PublicCloudResourceName = "ljjatut",
        },
        ResourceGroupName = "rglogsMetricFilter",
        Tags = 
        {
            { "key5537", "lpylvddirnglehlucv" },
        },
    });

});
Copy
package main

import (
	awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := awsconnector.NewLogsMetricFilter(ctx, "logsMetricFilter", &awsconnector.LogsMetricFilterArgs{
			Location: pulumi.String("hvjoetfjcwqioibnqqj"),
			Name:     pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
			Properties: &awsconnector.LogsMetricFilterPropertiesArgs{
				Arn:          pulumi.String("cjjfhzeoyddkfmdmwsl"),
				AwsAccountId: pulumi.String("z"),
				AwsProperties: &awsconnector.AwsLogsMetricFilterPropertiesArgs{
					FilterName:    pulumi.String("xexgsguaaqmkiteqgc"),
					FilterPattern: pulumi.String("xkejasx"),
					LogGroupName:  pulumi.String("cugxyp"),
					MetricTransformations: awsconnector.MetricTransformationArray{
						&awsconnector.MetricTransformationArgs{
							DefaultValue: pulumi.Int(7),
							Dimensions: awsconnector.DimensionArray{
								&awsconnector.DimensionArgs{
									Value: pulumi.String("rosnaljwmrdesiticsc"),
								},
							},
							MetricName:      pulumi.String("oybfr"),
							MetricNamespace: pulumi.String("iabzdcxljvduduha"),
							MetricValue:     pulumi.String("rpkrrqxywciyvedsvrlbujqjenrlpr"),
							Unit:            pulumi.String(awsconnector.MetricTransformationUnitBits),
						},
					},
				},
				AwsRegion:       pulumi.String("qjqubwwtlycfy"),
				AwsSourceSchema: pulumi.String("tekgcey"),
				AwsTags: pulumi.StringMap{
					"key5547": pulumi.String("bdcrhaondaponausevadhudvvfitd"),
				},
				PublicCloudConnectorsResourceId: pulumi.String("dabxbsdvufxltivnlbpft"),
				PublicCloudResourceName:         pulumi.String("ljjatut"),
			},
			ResourceGroupName: pulumi.String("rglogsMetricFilter"),
			Tags: pulumi.StringMap{
				"key5537": pulumi.String("lpylvddirnglehlucv"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.LogsMetricFilter;
import com.pulumi.azurenative.awsconnector.LogsMetricFilterArgs;
import com.pulumi.azurenative.awsconnector.inputs.LogsMetricFilterPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsLogsMetricFilterPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var logsMetricFilter = new LogsMetricFilter("logsMetricFilter", LogsMetricFilterArgs.builder()
            .location("hvjoetfjcwqioibnqqj")
            .name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
            .properties(LogsMetricFilterPropertiesArgs.builder()
                .arn("cjjfhzeoyddkfmdmwsl")
                .awsAccountId("z")
                .awsProperties(AwsLogsMetricFilterPropertiesArgs.builder()
                    .filterName("xexgsguaaqmkiteqgc")
                    .filterPattern("xkejasx")
                    .logGroupName("cugxyp")
                    .metricTransformations(MetricTransformationArgs.builder()
                        .defaultValue(7)
                        .dimensions(DimensionArgs.builder()
                            .value("rosnaljwmrdesiticsc")
                            .build())
                        .metricName("oybfr")
                        .metricNamespace("iabzdcxljvduduha")
                        .metricValue("rpkrrqxywciyvedsvrlbujqjenrlpr")
                        .unit("Bits")
                        .build())
                    .build())
                .awsRegion("qjqubwwtlycfy")
                .awsSourceSchema("tekgcey")
                .awsTags(Map.of("key5547", "bdcrhaondaponausevadhudvvfitd"))
                .publicCloudConnectorsResourceId("dabxbsdvufxltivnlbpft")
                .publicCloudResourceName("ljjatut")
                .build())
            .resourceGroupName("rglogsMetricFilter")
            .tags(Map.of("key5537", "lpylvddirnglehlucv"))
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const logsMetricFilter = new azure_native.awsconnector.LogsMetricFilter("logsMetricFilter", {
    location: "hvjoetfjcwqioibnqqj",
    name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties: {
        arn: "cjjfhzeoyddkfmdmwsl",
        awsAccountId: "z",
        awsProperties: {
            filterName: "xexgsguaaqmkiteqgc",
            filterPattern: "xkejasx",
            logGroupName: "cugxyp",
            metricTransformations: [{
                defaultValue: 7,
                dimensions: [{
                    value: "rosnaljwmrdesiticsc",
                }],
                metricName: "oybfr",
                metricNamespace: "iabzdcxljvduduha",
                metricValue: "rpkrrqxywciyvedsvrlbujqjenrlpr",
                unit: azure_native.awsconnector.MetricTransformationUnit.Bits,
            }],
        },
        awsRegion: "qjqubwwtlycfy",
        awsSourceSchema: "tekgcey",
        awsTags: {
            key5547: "bdcrhaondaponausevadhudvvfitd",
        },
        publicCloudConnectorsResourceId: "dabxbsdvufxltivnlbpft",
        publicCloudResourceName: "ljjatut",
    },
    resourceGroupName: "rglogsMetricFilter",
    tags: {
        key5537: "lpylvddirnglehlucv",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

logs_metric_filter = azure_native.awsconnector.LogsMetricFilter("logsMetricFilter",
    location="hvjoetfjcwqioibnqqj",
    name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties={
        "arn": "cjjfhzeoyddkfmdmwsl",
        "aws_account_id": "z",
        "aws_properties": {
            "filter_name": "xexgsguaaqmkiteqgc",
            "filter_pattern": "xkejasx",
            "log_group_name": "cugxyp",
            "metric_transformations": [{
                "default_value": 7,
                "dimensions": [{
                    "value": "rosnaljwmrdesiticsc",
                }],
                "metric_name": "oybfr",
                "metric_namespace": "iabzdcxljvduduha",
                "metric_value": "rpkrrqxywciyvedsvrlbujqjenrlpr",
                "unit": azure_native.awsconnector.MetricTransformationUnit.BITS,
            }],
        },
        "aws_region": "qjqubwwtlycfy",
        "aws_source_schema": "tekgcey",
        "aws_tags": {
            "key5547": "bdcrhaondaponausevadhudvvfitd",
        },
        "public_cloud_connectors_resource_id": "dabxbsdvufxltivnlbpft",
        "public_cloud_resource_name": "ljjatut",
    },
    resource_group_name="rglogsMetricFilter",
    tags={
        "key5537": "lpylvddirnglehlucv",
    })
Copy
resources:
  logsMetricFilter:
    type: azure-native:awsconnector:LogsMetricFilter
    properties:
      location: hvjoetfjcwqioibnqqj
      name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
      properties:
        arn: cjjfhzeoyddkfmdmwsl
        awsAccountId: z
        awsProperties:
          filterName: xexgsguaaqmkiteqgc
          filterPattern: xkejasx
          logGroupName: cugxyp
          metricTransformations:
            - defaultValue: 7
              dimensions:
                - value: rosnaljwmrdesiticsc
              metricName: oybfr
              metricNamespace: iabzdcxljvduduha
              metricValue: rpkrrqxywciyvedsvrlbujqjenrlpr
              unit: Bits
        awsRegion: qjqubwwtlycfy
        awsSourceSchema: tekgcey
        awsTags:
          key5547: bdcrhaondaponausevadhudvvfitd
        publicCloudConnectorsResourceId: dabxbsdvufxltivnlbpft
        publicCloudResourceName: ljjatut
      resourceGroupName: rglogsMetricFilter
      tags:
        key5537: lpylvddirnglehlucv
Copy

Create LogsMetricFilter Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new LogsMetricFilter(name: string, args: LogsMetricFilterArgs, opts?: CustomResourceOptions);
@overload
def LogsMetricFilter(resource_name: str,
                     args: LogsMetricFilterArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def LogsMetricFilter(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     resource_group_name: Optional[str] = None,
                     location: Optional[str] = None,
                     name: Optional[str] = None,
                     properties: Optional[LogsMetricFilterPropertiesArgs] = None,
                     tags: Optional[Mapping[str, str]] = None)
func NewLogsMetricFilter(ctx *Context, name string, args LogsMetricFilterArgs, opts ...ResourceOption) (*LogsMetricFilter, error)
public LogsMetricFilter(string name, LogsMetricFilterArgs args, CustomResourceOptions? opts = null)
public LogsMetricFilter(String name, LogsMetricFilterArgs args)
public LogsMetricFilter(String name, LogsMetricFilterArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:LogsMetricFilter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LogsMetricFilterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LogsMetricFilterArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LogsMetricFilterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LogsMetricFilterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LogsMetricFilterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var logsMetricFilterResource = new AzureNative.AwsConnector.LogsMetricFilter("logsMetricFilterResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    Properties = new AzureNative.AwsConnector.Inputs.LogsMetricFilterPropertiesArgs
    {
        Arn = "string",
        AwsAccountId = "string",
        AwsProperties = new AzureNative.AwsConnector.Inputs.AwsLogsMetricFilterPropertiesArgs
        {
            FilterName = "string",
            FilterPattern = "string",
            LogGroupName = "string",
            MetricTransformations = new[]
            {
                new AzureNative.AwsConnector.Inputs.MetricTransformationArgs
                {
                    DefaultValue = 0,
                    Dimensions = new[]
                    {
                        new AzureNative.AwsConnector.Inputs.DimensionArgs
                        {
                            Key = "string",
                            Name = "string",
                            Value = "string",
                        },
                    },
                    MetricName = "string",
                    MetricNamespace = "string",
                    MetricValue = "string",
                    Unit = "string",
                },
            },
        },
        AwsRegion = "string",
        AwsSourceSchema = "string",
        AwsTags = 
        {
            { "string", "string" },
        },
        PublicCloudConnectorsResourceId = "string",
        PublicCloudResourceName = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := awsconnector.NewLogsMetricFilter(ctx, "logsMetricFilterResource", &awsconnector.LogsMetricFilterArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Name:              pulumi.String("string"),
	Properties: &awsconnector.LogsMetricFilterPropertiesArgs{
		Arn:          pulumi.String("string"),
		AwsAccountId: pulumi.String("string"),
		AwsProperties: &awsconnector.AwsLogsMetricFilterPropertiesArgs{
			FilterName:    pulumi.String("string"),
			FilterPattern: pulumi.String("string"),
			LogGroupName:  pulumi.String("string"),
			MetricTransformations: awsconnector.MetricTransformationArray{
				&awsconnector.MetricTransformationArgs{
					DefaultValue: pulumi.Int(0),
					Dimensions: awsconnector.DimensionArray{
						&awsconnector.DimensionArgs{
							Key:   pulumi.String("string"),
							Name:  pulumi.String("string"),
							Value: pulumi.String("string"),
						},
					},
					MetricName:      pulumi.String("string"),
					MetricNamespace: pulumi.String("string"),
					MetricValue:     pulumi.String("string"),
					Unit:            pulumi.String("string"),
				},
			},
		},
		AwsRegion:       pulumi.String("string"),
		AwsSourceSchema: pulumi.String("string"),
		AwsTags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		PublicCloudConnectorsResourceId: pulumi.String("string"),
		PublicCloudResourceName:         pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var logsMetricFilterResource = new LogsMetricFilter("logsMetricFilterResource", LogsMetricFilterArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .properties(LogsMetricFilterPropertiesArgs.builder()
        .arn("string")
        .awsAccountId("string")
        .awsProperties(AwsLogsMetricFilterPropertiesArgs.builder()
            .filterName("string")
            .filterPattern("string")
            .logGroupName("string")
            .metricTransformations(MetricTransformationArgs.builder()
                .defaultValue(0)
                .dimensions(DimensionArgs.builder()
                    .key("string")
                    .name("string")
                    .value("string")
                    .build())
                .metricName("string")
                .metricNamespace("string")
                .metricValue("string")
                .unit("string")
                .build())
            .build())
        .awsRegion("string")
        .awsSourceSchema("string")
        .awsTags(Map.of("string", "string"))
        .publicCloudConnectorsResourceId("string")
        .publicCloudResourceName("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
Copy
logs_metric_filter_resource = azure_native.awsconnector.LogsMetricFilter("logsMetricFilterResource",
    resource_group_name="string",
    location="string",
    name="string",
    properties={
        "arn": "string",
        "aws_account_id": "string",
        "aws_properties": {
            "filter_name": "string",
            "filter_pattern": "string",
            "log_group_name": "string",
            "metric_transformations": [{
                "default_value": 0,
                "dimensions": [{
                    "key": "string",
                    "name": "string",
                    "value": "string",
                }],
                "metric_name": "string",
                "metric_namespace": "string",
                "metric_value": "string",
                "unit": "string",
            }],
        },
        "aws_region": "string",
        "aws_source_schema": "string",
        "aws_tags": {
            "string": "string",
        },
        "public_cloud_connectors_resource_id": "string",
        "public_cloud_resource_name": "string",
    },
    tags={
        "string": "string",
    })
Copy
const logsMetricFilterResource = new azure_native.awsconnector.LogsMetricFilter("logsMetricFilterResource", {
    resourceGroupName: "string",
    location: "string",
    name: "string",
    properties: {
        arn: "string",
        awsAccountId: "string",
        awsProperties: {
            filterName: "string",
            filterPattern: "string",
            logGroupName: "string",
            metricTransformations: [{
                defaultValue: 0,
                dimensions: [{
                    key: "string",
                    name: "string",
                    value: "string",
                }],
                metricName: "string",
                metricNamespace: "string",
                metricValue: "string",
                unit: "string",
            }],
        },
        awsRegion: "string",
        awsSourceSchema: "string",
        awsTags: {
            string: "string",
        },
        publicCloudConnectorsResourceId: "string",
        publicCloudResourceName: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:awsconnector:LogsMetricFilter
properties:
    location: string
    name: string
    properties:
        arn: string
        awsAccountId: string
        awsProperties:
            filterName: string
            filterPattern: string
            logGroupName: string
            metricTransformations:
                - defaultValue: 0
                  dimensions:
                    - key: string
                      name: string
                      value: string
                  metricName: string
                  metricNamespace: string
                  metricValue: string
                  unit: string
        awsRegion: string
        awsSourceSchema: string
        awsTags:
            string: string
        publicCloudConnectorsResourceId: string
        publicCloudResourceName: string
    resourceGroupName: string
    tags:
        string: string
Copy

LogsMetricFilter Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The LogsMetricFilter resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of LogsMetricFilter
Properties Pulumi.AzureNative.AwsConnector.Inputs.LogsMetricFilterProperties
The resource-specific properties for this resource.
Tags Dictionary<string, string>
Resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of LogsMetricFilter
Properties LogsMetricFilterPropertiesArgs
The resource-specific properties for this resource.
Tags map[string]string
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of LogsMetricFilter
properties LogsMetricFilterProperties
The resource-specific properties for this resource.
tags Map<String,String>
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
name Changes to this property will trigger replacement. string
Name of LogsMetricFilter
properties LogsMetricFilterProperties
The resource-specific properties for this resource.
tags {[key: string]: string}
Resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
name Changes to this property will trigger replacement. str
Name of LogsMetricFilter
properties LogsMetricFilterPropertiesArgs
The resource-specific properties for this resource.
tags Mapping[str, str]
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of LogsMetricFilter
properties Property Map
The resource-specific properties for this resource.
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the LogsMetricFilter resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
SystemData Pulumi.AzureNative.AwsConnector.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

AwsLogsMetricFilterProperties
, AwsLogsMetricFilterPropertiesArgs

FilterName string
The name of the metric filter.
FilterPattern string
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
LogGroupName string
The name of an existing log group that you want to associate with this metric filter.
MetricTransformations List<Pulumi.AzureNative.AwsConnector.Inputs.MetricTransformation>
The metric transformations.
FilterName string
The name of the metric filter.
FilterPattern string
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
LogGroupName string
The name of an existing log group that you want to associate with this metric filter.
MetricTransformations []MetricTransformation
The metric transformations.
filterName String
The name of the metric filter.
filterPattern String
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
logGroupName String
The name of an existing log group that you want to associate with this metric filter.
metricTransformations List<MetricTransformation>
The metric transformations.
filterName string
The name of the metric filter.
filterPattern string
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
logGroupName string
The name of an existing log group that you want to associate with this metric filter.
metricTransformations MetricTransformation[]
The metric transformations.
filter_name str
The name of the metric filter.
filter_pattern str
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
log_group_name str
The name of an existing log group that you want to associate with this metric filter.
metric_transformations Sequence[MetricTransformation]
The metric transformations.
filterName String
The name of the metric filter.
filterPattern String
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
logGroupName String
The name of an existing log group that you want to associate with this metric filter.
metricTransformations List<Property Map>
The metric transformations.

AwsLogsMetricFilterPropertiesResponse
, AwsLogsMetricFilterPropertiesResponseArgs

FilterName string
The name of the metric filter.
FilterPattern string
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
LogGroupName string
The name of an existing log group that you want to associate with this metric filter.
MetricTransformations List<Pulumi.AzureNative.AwsConnector.Inputs.MetricTransformationResponse>
The metric transformations.
FilterName string
The name of the metric filter.
FilterPattern string
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
LogGroupName string
The name of an existing log group that you want to associate with this metric filter.
MetricTransformations []MetricTransformationResponse
The metric transformations.
filterName String
The name of the metric filter.
filterPattern String
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
logGroupName String
The name of an existing log group that you want to associate with this metric filter.
metricTransformations List<MetricTransformationResponse>
The metric transformations.
filterName string
The name of the metric filter.
filterPattern string
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
logGroupName string
The name of an existing log group that you want to associate with this metric filter.
metricTransformations MetricTransformationResponse[]
The metric transformations.
filter_name str
The name of the metric filter.
filter_pattern str
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
log_group_name str
The name of an existing log group that you want to associate with this metric filter.
metric_transformations Sequence[MetricTransformationResponse]
The metric transformations.
filterName String
The name of the metric filter.
filterPattern String
A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
logGroupName String
The name of an existing log group that you want to associate with this metric filter.
metricTransformations List<Property Map>
The metric transformations.

Dimension
, DimensionArgs

Key string
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
Name string
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
Value string
Property value
Key string
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
Name string
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
Value string
Property value
key String
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
name String
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
value String
Property value
key string
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
name string
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
value string
Property value
key str
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
name str
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
value str
Property value
key String
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
name String
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
value String
Property value

DimensionResponse
, DimensionResponseArgs

Key string
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
Name string
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
Value string
Property value
Key string
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
Name string
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
Value string
Property value
key String
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
name String
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
value String
Property value
key string
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
name string
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
value string
Property value
key str
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
name str
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
value str
Property value
key String
The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
name String
The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
value String
Property value

LogsMetricFilterProperties
, LogsMetricFilterPropertiesArgs

Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties Pulumi.AzureNative.AwsConnector.Inputs.AwsLogsMetricFilterProperties
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags Dictionary<string, string>
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties AwsLogsMetricFilterProperties
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags map[string]string
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties AwsLogsMetricFilterProperties
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String,String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name
arn string
Amazon Resource Name (ARN)
awsAccountId string
AWS Account ID
awsProperties AwsLogsMetricFilterProperties
AWS Properties
awsRegion string
AWS Region
awsSourceSchema string
AWS Source Schema
awsTags {[key: string]: string}
AWS Tags
publicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
publicCloudResourceName string
Public Cloud Resource Name
arn str
Amazon Resource Name (ARN)
aws_account_id str
AWS Account ID
aws_properties AwsLogsMetricFilterProperties
AWS Properties
aws_region str
AWS Region
aws_source_schema str
AWS Source Schema
aws_tags Mapping[str, str]
AWS Tags
public_cloud_connectors_resource_id str
Public Cloud Connectors Resource ID
public_cloud_resource_name str
Public Cloud Resource Name
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties Property Map
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name

LogsMetricFilterPropertiesResponse
, LogsMetricFilterPropertiesResponseArgs

ProvisioningState This property is required. string
The status of the last operation.
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties Pulumi.AzureNative.AwsConnector.Inputs.AwsLogsMetricFilterPropertiesResponse
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags Dictionary<string, string>
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
ProvisioningState This property is required. string
The status of the last operation.
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties AwsLogsMetricFilterPropertiesResponse
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags map[string]string
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
provisioningState This property is required. String
The status of the last operation.
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties AwsLogsMetricFilterPropertiesResponse
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String,String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name
provisioningState This property is required. string
The status of the last operation.
arn string
Amazon Resource Name (ARN)
awsAccountId string
AWS Account ID
awsProperties AwsLogsMetricFilterPropertiesResponse
AWS Properties
awsRegion string
AWS Region
awsSourceSchema string
AWS Source Schema
awsTags {[key: string]: string}
AWS Tags
publicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
publicCloudResourceName string
Public Cloud Resource Name
provisioning_state This property is required. str
The status of the last operation.
arn str
Amazon Resource Name (ARN)
aws_account_id str
AWS Account ID
aws_properties AwsLogsMetricFilterPropertiesResponse
AWS Properties
aws_region str
AWS Region
aws_source_schema str
AWS Source Schema
aws_tags Mapping[str, str]
AWS Tags
public_cloud_connectors_resource_id str
Public Cloud Connectors Resource ID
public_cloud_resource_name str
Public Cloud Resource Name
provisioningState This property is required. String
The status of the last operation.
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties Property Map
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name

MetricTransformation
, MetricTransformationArgs

DefaultValue int
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
Dimensions List<Pulumi.AzureNative.AwsConnector.Inputs.Dimension>
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
MetricName string
The name of the CloudWatch metric.
MetricNamespace string
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
MetricValue string
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
Unit string | Pulumi.AzureNative.AwsConnector.MetricTransformationUnit
The unit to assign to the metric. If you omit this, the unit is set as None.
DefaultValue int
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
Dimensions []Dimension
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
MetricName string
The name of the CloudWatch metric.
MetricNamespace string
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
MetricValue string
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
Unit string | MetricTransformationUnit
The unit to assign to the metric. If you omit this, the unit is set as None.
defaultValue Integer
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
dimensions List<Dimension>
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
metricName String
The name of the CloudWatch metric.
metricNamespace String
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metricValue String
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
unit String | MetricTransformationUnit
The unit to assign to the metric. If you omit this, the unit is set as None.
defaultValue number
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
dimensions Dimension[]
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
metricName string
The name of the CloudWatch metric.
metricNamespace string
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metricValue string
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
unit string | MetricTransformationUnit
The unit to assign to the metric. If you omit this, the unit is set as None.
default_value int
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
dimensions Sequence[Dimension]
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
metric_name str
The name of the CloudWatch metric.
metric_namespace str
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metric_value str
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
unit str | MetricTransformationUnit
The unit to assign to the metric. If you omit this, the unit is set as None.
defaultValue Number
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
dimensions List<Property Map>
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
metricName String
The name of the CloudWatch metric.
metricNamespace String
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metricValue String
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
unit String | "Bits" | "Bits/Second" | "Bytes" | "Bytes/Second" | "Count" | "Count/Second" | "Gigabits" | "Gigabits/Second" | "Gigabytes" | "Gigabytes/Second" | "Kilobits" | "Kilobits/Second" | "Kilobytes" | "Kilobytes/Second" | "Megabits" | "Megabits/Second" | "Megabytes" | "Megabytes/Second" | "Microseconds" | "Milliseconds" | "None" | "Percent" | "Seconds" | "Terabits" | "Terabits/Second" | "Terabytes" | "Terabytes/Second"
The unit to assign to the metric. If you omit this, the unit is set as None.

MetricTransformationResponse
, MetricTransformationResponseArgs

DefaultValue int
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
Dimensions List<Pulumi.AzureNative.AwsConnector.Inputs.DimensionResponse>
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
MetricName string
The name of the CloudWatch metric.
MetricNamespace string
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
MetricValue string
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
Unit string
The unit to assign to the metric. If you omit this, the unit is set as None.
DefaultValue int
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
Dimensions []DimensionResponse
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
MetricName string
The name of the CloudWatch metric.
MetricNamespace string
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
MetricValue string
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
Unit string
The unit to assign to the metric. If you omit this, the unit is set as None.
defaultValue Integer
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
dimensions List<DimensionResponse>
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
metricName String
The name of the CloudWatch metric.
metricNamespace String
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metricValue String
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
unit String
The unit to assign to the metric. If you omit this, the unit is set as None.
defaultValue number
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
dimensions DimensionResponse[]
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
metricName string
The name of the CloudWatch metric.
metricNamespace string
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metricValue string
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
unit string
The unit to assign to the metric. If you omit this, the unit is set as None.
default_value int
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
dimensions Sequence[DimensionResponse]
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
metric_name str
The name of the CloudWatch metric.
metric_namespace str
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metric_value str
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
unit str
The unit to assign to the metric. If you omit this, the unit is set as None.
defaultValue Number
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
dimensions List<Property Map>
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges.
metricName String
The name of the CloudWatch metric.
metricNamespace String
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metricValue String
The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as $.size.
unit String
The unit to assign to the metric. If you omit this, the unit is set as None.

MetricTransformationUnit
, MetricTransformationUnitArgs

Bits
BitsMetricTransformationUnit enum Bits
BitsSecond
Bits/SecondMetricTransformationUnit enum Bits/Second
Bytes
BytesMetricTransformationUnit enum Bytes
BytesSecond
Bytes/SecondMetricTransformationUnit enum Bytes/Second
Count
CountMetricTransformationUnit enum Count
CountSecond
Count/SecondMetricTransformationUnit enum Count/Second
Gigabits
GigabitsMetricTransformationUnit enum Gigabits
GigabitsSecond
Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
Gigabytes
GigabytesMetricTransformationUnit enum Gigabytes
GigabytesSecond
Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
Kilobits
KilobitsMetricTransformationUnit enum Kilobits
KilobitsSecond
Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
Kilobytes
KilobytesMetricTransformationUnit enum Kilobytes
KilobytesSecond
Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
Megabits
MegabitsMetricTransformationUnit enum Megabits
MegabitsSecond
Megabits/SecondMetricTransformationUnit enum Megabits/Second
Megabytes
MegabytesMetricTransformationUnit enum Megabytes
MegabytesSecond
Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
Microseconds
MicrosecondsMetricTransformationUnit enum Microseconds
Milliseconds
MillisecondsMetricTransformationUnit enum Milliseconds
None
NoneMetricTransformationUnit enum None
Percent
PercentMetricTransformationUnit enum Percent
Seconds
SecondsMetricTransformationUnit enum Seconds
Terabits
TerabitsMetricTransformationUnit enum Terabits
TerabitsSecond
Terabits/SecondMetricTransformationUnit enum Terabits/Second
Terabytes
TerabytesMetricTransformationUnit enum Terabytes
TerabytesSecond
Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
MetricTransformationUnitBits
BitsMetricTransformationUnit enum Bits
MetricTransformationUnitBitsSecond
Bits/SecondMetricTransformationUnit enum Bits/Second
MetricTransformationUnitBytes
BytesMetricTransformationUnit enum Bytes
MetricTransformationUnitBytesSecond
Bytes/SecondMetricTransformationUnit enum Bytes/Second
MetricTransformationUnitCount
CountMetricTransformationUnit enum Count
MetricTransformationUnitCountSecond
Count/SecondMetricTransformationUnit enum Count/Second
MetricTransformationUnitGigabits
GigabitsMetricTransformationUnit enum Gigabits
MetricTransformationUnitGigabitsSecond
Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
MetricTransformationUnitGigabytes
GigabytesMetricTransformationUnit enum Gigabytes
MetricTransformationUnitGigabytesSecond
Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
MetricTransformationUnitKilobits
KilobitsMetricTransformationUnit enum Kilobits
MetricTransformationUnitKilobitsSecond
Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
MetricTransformationUnitKilobytes
KilobytesMetricTransformationUnit enum Kilobytes
MetricTransformationUnitKilobytesSecond
Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
MetricTransformationUnitMegabits
MegabitsMetricTransformationUnit enum Megabits
MetricTransformationUnitMegabitsSecond
Megabits/SecondMetricTransformationUnit enum Megabits/Second
MetricTransformationUnitMegabytes
MegabytesMetricTransformationUnit enum Megabytes
MetricTransformationUnitMegabytesSecond
Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
MetricTransformationUnitMicroseconds
MicrosecondsMetricTransformationUnit enum Microseconds
MetricTransformationUnitMilliseconds
MillisecondsMetricTransformationUnit enum Milliseconds
MetricTransformationUnitNone
NoneMetricTransformationUnit enum None
MetricTransformationUnitPercent
PercentMetricTransformationUnit enum Percent
MetricTransformationUnitSeconds
SecondsMetricTransformationUnit enum Seconds
MetricTransformationUnitTerabits
TerabitsMetricTransformationUnit enum Terabits
MetricTransformationUnitTerabitsSecond
Terabits/SecondMetricTransformationUnit enum Terabits/Second
MetricTransformationUnitTerabytes
TerabytesMetricTransformationUnit enum Terabytes
MetricTransformationUnitTerabytesSecond
Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
Bits
BitsMetricTransformationUnit enum Bits
BitsSecond
Bits/SecondMetricTransformationUnit enum Bits/Second
Bytes
BytesMetricTransformationUnit enum Bytes
BytesSecond
Bytes/SecondMetricTransformationUnit enum Bytes/Second
Count
CountMetricTransformationUnit enum Count
CountSecond
Count/SecondMetricTransformationUnit enum Count/Second
Gigabits
GigabitsMetricTransformationUnit enum Gigabits
GigabitsSecond
Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
Gigabytes
GigabytesMetricTransformationUnit enum Gigabytes
GigabytesSecond
Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
Kilobits
KilobitsMetricTransformationUnit enum Kilobits
KilobitsSecond
Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
Kilobytes
KilobytesMetricTransformationUnit enum Kilobytes
KilobytesSecond
Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
Megabits
MegabitsMetricTransformationUnit enum Megabits
MegabitsSecond
Megabits/SecondMetricTransformationUnit enum Megabits/Second
Megabytes
MegabytesMetricTransformationUnit enum Megabytes
MegabytesSecond
Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
Microseconds
MicrosecondsMetricTransformationUnit enum Microseconds
Milliseconds
MillisecondsMetricTransformationUnit enum Milliseconds
None
NoneMetricTransformationUnit enum None
Percent
PercentMetricTransformationUnit enum Percent
Seconds
SecondsMetricTransformationUnit enum Seconds
Terabits
TerabitsMetricTransformationUnit enum Terabits
TerabitsSecond
Terabits/SecondMetricTransformationUnit enum Terabits/Second
Terabytes
TerabytesMetricTransformationUnit enum Terabytes
TerabytesSecond
Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
Bits
BitsMetricTransformationUnit enum Bits
BitsSecond
Bits/SecondMetricTransformationUnit enum Bits/Second
Bytes
BytesMetricTransformationUnit enum Bytes
BytesSecond
Bytes/SecondMetricTransformationUnit enum Bytes/Second
Count
CountMetricTransformationUnit enum Count
CountSecond
Count/SecondMetricTransformationUnit enum Count/Second
Gigabits
GigabitsMetricTransformationUnit enum Gigabits
GigabitsSecond
Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
Gigabytes
GigabytesMetricTransformationUnit enum Gigabytes
GigabytesSecond
Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
Kilobits
KilobitsMetricTransformationUnit enum Kilobits
KilobitsSecond
Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
Kilobytes
KilobytesMetricTransformationUnit enum Kilobytes
KilobytesSecond
Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
Megabits
MegabitsMetricTransformationUnit enum Megabits
MegabitsSecond
Megabits/SecondMetricTransformationUnit enum Megabits/Second
Megabytes
MegabytesMetricTransformationUnit enum Megabytes
MegabytesSecond
Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
Microseconds
MicrosecondsMetricTransformationUnit enum Microseconds
Milliseconds
MillisecondsMetricTransformationUnit enum Milliseconds
None
NoneMetricTransformationUnit enum None
Percent
PercentMetricTransformationUnit enum Percent
Seconds
SecondsMetricTransformationUnit enum Seconds
Terabits
TerabitsMetricTransformationUnit enum Terabits
TerabitsSecond
Terabits/SecondMetricTransformationUnit enum Terabits/Second
Terabytes
TerabytesMetricTransformationUnit enum Terabytes
TerabytesSecond
Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
BITS
BitsMetricTransformationUnit enum Bits
BITS_SECOND
Bits/SecondMetricTransformationUnit enum Bits/Second
BYTES
BytesMetricTransformationUnit enum Bytes
BYTES_SECOND
Bytes/SecondMetricTransformationUnit enum Bytes/Second
COUNT
CountMetricTransformationUnit enum Count
COUNT_SECOND
Count/SecondMetricTransformationUnit enum Count/Second
GIGABITS
GigabitsMetricTransformationUnit enum Gigabits
GIGABITS_SECOND
Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
GIGABYTES
GigabytesMetricTransformationUnit enum Gigabytes
GIGABYTES_SECOND
Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
KILOBITS
KilobitsMetricTransformationUnit enum Kilobits
KILOBITS_SECOND
Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
KILOBYTES
KilobytesMetricTransformationUnit enum Kilobytes
KILOBYTES_SECOND
Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
MEGABITS
MegabitsMetricTransformationUnit enum Megabits
MEGABITS_SECOND
Megabits/SecondMetricTransformationUnit enum Megabits/Second
MEGABYTES
MegabytesMetricTransformationUnit enum Megabytes
MEGABYTES_SECOND
Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
MICROSECONDS
MicrosecondsMetricTransformationUnit enum Microseconds
MILLISECONDS
MillisecondsMetricTransformationUnit enum Milliseconds
NONE
NoneMetricTransformationUnit enum None
PERCENT
PercentMetricTransformationUnit enum Percent
SECONDS
SecondsMetricTransformationUnit enum Seconds
TERABITS
TerabitsMetricTransformationUnit enum Terabits
TERABITS_SECOND
Terabits/SecondMetricTransformationUnit enum Terabits/Second
TERABYTES
TerabytesMetricTransformationUnit enum Terabytes
TERABYTES_SECOND
Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
"Bits"
BitsMetricTransformationUnit enum Bits
"Bits/Second"
Bits/SecondMetricTransformationUnit enum Bits/Second
"Bytes"
BytesMetricTransformationUnit enum Bytes
"Bytes/Second"
Bytes/SecondMetricTransformationUnit enum Bytes/Second
"Count"
CountMetricTransformationUnit enum Count
"Count/Second"
Count/SecondMetricTransformationUnit enum Count/Second
"Gigabits"
GigabitsMetricTransformationUnit enum Gigabits
"Gigabits/Second"
Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
"Gigabytes"
GigabytesMetricTransformationUnit enum Gigabytes
"Gigabytes/Second"
Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
"Kilobits"
KilobitsMetricTransformationUnit enum Kilobits
"Kilobits/Second"
Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
"Kilobytes"
KilobytesMetricTransformationUnit enum Kilobytes
"Kilobytes/Second"
Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
"Megabits"
MegabitsMetricTransformationUnit enum Megabits
"Megabits/Second"
Megabits/SecondMetricTransformationUnit enum Megabits/Second
"Megabytes"
MegabytesMetricTransformationUnit enum Megabytes
"Megabytes/Second"
Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
"Microseconds"
MicrosecondsMetricTransformationUnit enum Microseconds
"Milliseconds"
MillisecondsMetricTransformationUnit enum Milliseconds
"None"
NoneMetricTransformationUnit enum None
"Percent"
PercentMetricTransformationUnit enum Percent
"Seconds"
SecondsMetricTransformationUnit enum Seconds
"Terabits"
TerabitsMetricTransformationUnit enum Terabits
"Terabits/Second"
Terabits/SecondMetricTransformationUnit enum Terabits/Second
"Terabytes"
TerabytesMetricTransformationUnit enum Terabytes
"Terabytes/Second"
Terabytes/SecondMetricTransformationUnit enum Terabytes/Second

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:awsconnector:LogsMetricFilter dqrq /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/logsMetricFilters/{name} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi