1. Packages
  2. Azure Native
  3. API Docs
  4. awsconnector
  5. LogsSubscriptionFilter
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.awsconnector.LogsSubscriptionFilter

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

A Microsoft.AwsConnector resource

Uses Azure REST API version 2024-12-01. In version 2.x of the Azure Native provider, it used API version 2024-12-01.

Example Usage

LogsSubscriptionFilters_CreateOrReplace

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

return await Deployment.RunAsync(() => 
{
    var logsSubscriptionFilter = new AzureNative.AwsConnector.LogsSubscriptionFilter("logsSubscriptionFilter", new()
    {
        Location = "chliijcrgqpxjf",
        Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
        Properties = new AzureNative.AwsConnector.Inputs.LogsSubscriptionFilterPropertiesArgs
        {
            Arn = "sbvdldikixyoalpxj",
            AwsAccountId = "fckvzypgfibfyknjwyrvmez",
            AwsProperties = new AzureNative.AwsConnector.Inputs.AwsLogsSubscriptionFilterPropertiesArgs
            {
                DestinationArn = "k",
                Distribution = AzureNative.AwsConnector.Distribution.ByLogStream,
                FilterName = "tboamjix",
                FilterPattern = "ui",
                LogGroupName = "ku",
                RoleArn = "qgjbnrzdeigsxsfrkkfiaf",
            },
            AwsRegion = "oogmbpnzqlvdmcntbzbsi",
            AwsSourceSchema = "anvmszmmknfesvacxje",
            AwsTags = 
            {
                { "key7628", "ipzrwulgfuznh" },
            },
            PublicCloudConnectorsResourceId = "ywjmogqrbdroewncecotnxyijemqjz",
            PublicCloudResourceName = "gilkw",
        },
        ResourceGroupName = "rglogsSubscriptionFilter",
        Tags = 
        {
            { "key9410", "ajuntrgfwfnfaobudwmc" },
        },
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := awsconnector.NewLogsSubscriptionFilter(ctx, "logsSubscriptionFilter", &awsconnector.LogsSubscriptionFilterArgs{
			Location: pulumi.String("chliijcrgqpxjf"),
			Name:     pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
			Properties: &awsconnector.LogsSubscriptionFilterPropertiesArgs{
				Arn:          pulumi.String("sbvdldikixyoalpxj"),
				AwsAccountId: pulumi.String("fckvzypgfibfyknjwyrvmez"),
				AwsProperties: &awsconnector.AwsLogsSubscriptionFilterPropertiesArgs{
					DestinationArn: pulumi.String("k"),
					Distribution:   pulumi.String(awsconnector.DistributionByLogStream),
					FilterName:     pulumi.String("tboamjix"),
					FilterPattern:  pulumi.String("ui"),
					LogGroupName:   pulumi.String("ku"),
					RoleArn:        pulumi.String("qgjbnrzdeigsxsfrkkfiaf"),
				},
				AwsRegion:       pulumi.String("oogmbpnzqlvdmcntbzbsi"),
				AwsSourceSchema: pulumi.String("anvmszmmknfesvacxje"),
				AwsTags: pulumi.StringMap{
					"key7628": pulumi.String("ipzrwulgfuznh"),
				},
				PublicCloudConnectorsResourceId: pulumi.String("ywjmogqrbdroewncecotnxyijemqjz"),
				PublicCloudResourceName:         pulumi.String("gilkw"),
			},
			ResourceGroupName: pulumi.String("rglogsSubscriptionFilter"),
			Tags: pulumi.StringMap{
				"key9410": pulumi.String("ajuntrgfwfnfaobudwmc"),
			},
		})
		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.LogsSubscriptionFilter;
import com.pulumi.azurenative.awsconnector.LogsSubscriptionFilterArgs;
import com.pulumi.azurenative.awsconnector.inputs.LogsSubscriptionFilterPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsLogsSubscriptionFilterPropertiesArgs;
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 logsSubscriptionFilter = new LogsSubscriptionFilter("logsSubscriptionFilter", LogsSubscriptionFilterArgs.builder()
            .location("chliijcrgqpxjf")
            .name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
            .properties(LogsSubscriptionFilterPropertiesArgs.builder()
                .arn("sbvdldikixyoalpxj")
                .awsAccountId("fckvzypgfibfyknjwyrvmez")
                .awsProperties(AwsLogsSubscriptionFilterPropertiesArgs.builder()
                    .destinationArn("k")
                    .distribution("ByLogStream")
                    .filterName("tboamjix")
                    .filterPattern("ui")
                    .logGroupName("ku")
                    .roleArn("qgjbnrzdeigsxsfrkkfiaf")
                    .build())
                .awsRegion("oogmbpnzqlvdmcntbzbsi")
                .awsSourceSchema("anvmszmmknfesvacxje")
                .awsTags(Map.of("key7628", "ipzrwulgfuznh"))
                .publicCloudConnectorsResourceId("ywjmogqrbdroewncecotnxyijemqjz")
                .publicCloudResourceName("gilkw")
                .build())
            .resourceGroupName("rglogsSubscriptionFilter")
            .tags(Map.of("key9410", "ajuntrgfwfnfaobudwmc"))
            .build());

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

const logsSubscriptionFilter = new azure_native.awsconnector.LogsSubscriptionFilter("logsSubscriptionFilter", {
    location: "chliijcrgqpxjf",
    name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties: {
        arn: "sbvdldikixyoalpxj",
        awsAccountId: "fckvzypgfibfyknjwyrvmez",
        awsProperties: {
            destinationArn: "k",
            distribution: azure_native.awsconnector.Distribution.ByLogStream,
            filterName: "tboamjix",
            filterPattern: "ui",
            logGroupName: "ku",
            roleArn: "qgjbnrzdeigsxsfrkkfiaf",
        },
        awsRegion: "oogmbpnzqlvdmcntbzbsi",
        awsSourceSchema: "anvmszmmknfesvacxje",
        awsTags: {
            key7628: "ipzrwulgfuznh",
        },
        publicCloudConnectorsResourceId: "ywjmogqrbdroewncecotnxyijemqjz",
        publicCloudResourceName: "gilkw",
    },
    resourceGroupName: "rglogsSubscriptionFilter",
    tags: {
        key9410: "ajuntrgfwfnfaobudwmc",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

logs_subscription_filter = azure_native.awsconnector.LogsSubscriptionFilter("logsSubscriptionFilter",
    location="chliijcrgqpxjf",
    name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties={
        "arn": "sbvdldikixyoalpxj",
        "aws_account_id": "fckvzypgfibfyknjwyrvmez",
        "aws_properties": {
            "destination_arn": "k",
            "distribution": azure_native.awsconnector.Distribution.BY_LOG_STREAM,
            "filter_name": "tboamjix",
            "filter_pattern": "ui",
            "log_group_name": "ku",
            "role_arn": "qgjbnrzdeigsxsfrkkfiaf",
        },
        "aws_region": "oogmbpnzqlvdmcntbzbsi",
        "aws_source_schema": "anvmszmmknfesvacxje",
        "aws_tags": {
            "key7628": "ipzrwulgfuznh",
        },
        "public_cloud_connectors_resource_id": "ywjmogqrbdroewncecotnxyijemqjz",
        "public_cloud_resource_name": "gilkw",
    },
    resource_group_name="rglogsSubscriptionFilter",
    tags={
        "key9410": "ajuntrgfwfnfaobudwmc",
    })
Copy
resources:
  logsSubscriptionFilter:
    type: azure-native:awsconnector:LogsSubscriptionFilter
    properties:
      location: chliijcrgqpxjf
      name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
      properties:
        arn: sbvdldikixyoalpxj
        awsAccountId: fckvzypgfibfyknjwyrvmez
        awsProperties:
          destinationArn: k
          distribution: ByLogStream
          filterName: tboamjix
          filterPattern: ui
          logGroupName: ku
          roleArn: qgjbnrzdeigsxsfrkkfiaf
        awsRegion: oogmbpnzqlvdmcntbzbsi
        awsSourceSchema: anvmszmmknfesvacxje
        awsTags:
          key7628: ipzrwulgfuznh
        publicCloudConnectorsResourceId: ywjmogqrbdroewncecotnxyijemqjz
        publicCloudResourceName: gilkw
      resourceGroupName: rglogsSubscriptionFilter
      tags:
        key9410: ajuntrgfwfnfaobudwmc
Copy

Create LogsSubscriptionFilter Resource

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

Constructor syntax

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

@overload
def LogsSubscriptionFilter(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           resource_group_name: Optional[str] = None,
                           location: Optional[str] = None,
                           name: Optional[str] = None,
                           properties: Optional[LogsSubscriptionFilterPropertiesArgs] = None,
                           tags: Optional[Mapping[str, str]] = None)
func NewLogsSubscriptionFilter(ctx *Context, name string, args LogsSubscriptionFilterArgs, opts ...ResourceOption) (*LogsSubscriptionFilter, error)
public LogsSubscriptionFilter(string name, LogsSubscriptionFilterArgs args, CustomResourceOptions? opts = null)
public LogsSubscriptionFilter(String name, LogsSubscriptionFilterArgs args)
public LogsSubscriptionFilter(String name, LogsSubscriptionFilterArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:LogsSubscriptionFilter
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. LogsSubscriptionFilterArgs
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. LogsSubscriptionFilterArgs
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. LogsSubscriptionFilterArgs
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. LogsSubscriptionFilterArgs
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. LogsSubscriptionFilterArgs
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 logsSubscriptionFilterResource = new AzureNative.AwsConnector.LogsSubscriptionFilter("logsSubscriptionFilterResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    Properties = new AzureNative.AwsConnector.Inputs.LogsSubscriptionFilterPropertiesArgs
    {
        Arn = "string",
        AwsAccountId = "string",
        AwsProperties = new AzureNative.AwsConnector.Inputs.AwsLogsSubscriptionFilterPropertiesArgs
        {
            DestinationArn = "string",
            Distribution = "string",
            FilterName = "string",
            FilterPattern = "string",
            LogGroupName = "string",
            RoleArn = "string",
        },
        AwsRegion = "string",
        AwsSourceSchema = "string",
        AwsTags = 
        {
            { "string", "string" },
        },
        PublicCloudConnectorsResourceId = "string",
        PublicCloudResourceName = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := awsconnector.NewLogsSubscriptionFilter(ctx, "logsSubscriptionFilterResource", &awsconnector.LogsSubscriptionFilterArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Name:              pulumi.String("string"),
	Properties: &awsconnector.LogsSubscriptionFilterPropertiesArgs{
		Arn:          pulumi.String("string"),
		AwsAccountId: pulumi.String("string"),
		AwsProperties: &awsconnector.AwsLogsSubscriptionFilterPropertiesArgs{
			DestinationArn: pulumi.String("string"),
			Distribution:   pulumi.String("string"),
			FilterName:     pulumi.String("string"),
			FilterPattern:  pulumi.String("string"),
			LogGroupName:   pulumi.String("string"),
			RoleArn:        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 logsSubscriptionFilterResource = new LogsSubscriptionFilter("logsSubscriptionFilterResource", LogsSubscriptionFilterArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .properties(LogsSubscriptionFilterPropertiesArgs.builder()
        .arn("string")
        .awsAccountId("string")
        .awsProperties(AwsLogsSubscriptionFilterPropertiesArgs.builder()
            .destinationArn("string")
            .distribution("string")
            .filterName("string")
            .filterPattern("string")
            .logGroupName("string")
            .roleArn("string")
            .build())
        .awsRegion("string")
        .awsSourceSchema("string")
        .awsTags(Map.of("string", "string"))
        .publicCloudConnectorsResourceId("string")
        .publicCloudResourceName("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
Copy
logs_subscription_filter_resource = azure_native.awsconnector.LogsSubscriptionFilter("logsSubscriptionFilterResource",
    resource_group_name="string",
    location="string",
    name="string",
    properties={
        "arn": "string",
        "aws_account_id": "string",
        "aws_properties": {
            "destination_arn": "string",
            "distribution": "string",
            "filter_name": "string",
            "filter_pattern": "string",
            "log_group_name": "string",
            "role_arn": "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 logsSubscriptionFilterResource = new azure_native.awsconnector.LogsSubscriptionFilter("logsSubscriptionFilterResource", {
    resourceGroupName: "string",
    location: "string",
    name: "string",
    properties: {
        arn: "string",
        awsAccountId: "string",
        awsProperties: {
            destinationArn: "string",
            distribution: "string",
            filterName: "string",
            filterPattern: "string",
            logGroupName: "string",
            roleArn: "string",
        },
        awsRegion: "string",
        awsSourceSchema: "string",
        awsTags: {
            string: "string",
        },
        publicCloudConnectorsResourceId: "string",
        publicCloudResourceName: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:awsconnector:LogsSubscriptionFilter
properties:
    location: string
    name: string
    properties:
        arn: string
        awsAccountId: string
        awsProperties:
            destinationArn: string
            distribution: string
            filterName: string
            filterPattern: string
            logGroupName: string
            roleArn: string
        awsRegion: string
        awsSourceSchema: string
        awsTags:
            string: string
        publicCloudConnectorsResourceId: string
        publicCloudResourceName: string
    resourceGroupName: string
    tags:
        string: string
Copy

LogsSubscriptionFilter 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 LogsSubscriptionFilter 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 LogsSubscriptionFilter
Properties Pulumi.AzureNative.AwsConnector.Inputs.LogsSubscriptionFilterProperties
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 LogsSubscriptionFilter
Properties LogsSubscriptionFilterPropertiesArgs
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 LogsSubscriptionFilter
properties LogsSubscriptionFilterProperties
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 LogsSubscriptionFilter
properties LogsSubscriptionFilterProperties
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 LogsSubscriptionFilter
properties LogsSubscriptionFilterPropertiesArgs
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 LogsSubscriptionFilter
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 LogsSubscriptionFilter resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
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"
AzureApiVersion string
The Azure API version of the resource.
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"
azureApiVersion String
The Azure API version of the resource.
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"
azureApiVersion string
The Azure API version of the resource.
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"
azure_api_version str
The Azure API version of the resource.
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"
azureApiVersion String
The Azure API version of the resource.
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

AwsLogsSubscriptionFilterProperties
, AwsLogsSubscriptionFilterPropertiesArgs

DestinationArn string
The Amazon Resource Name (ARN) of the destination.
Distribution string | Pulumi.AzureNative.AwsConnector.Distribution
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
FilterName string
The name of the subscription filter.
FilterPattern string
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
LogGroupName string
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
RoleArn string
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
DestinationArn string
The Amazon Resource Name (ARN) of the destination.
Distribution string | Distribution
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
FilterName string
The name of the subscription filter.
FilterPattern string
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
LogGroupName string
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
RoleArn string
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
destinationArn String
The Amazon Resource Name (ARN) of the destination.
distribution String | Distribution
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
filterName String
The name of the subscription filter.
filterPattern String
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
logGroupName String
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
roleArn String
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
destinationArn string
The Amazon Resource Name (ARN) of the destination.
distribution string | Distribution
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
filterName string
The name of the subscription filter.
filterPattern string
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
logGroupName string
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
roleArn string
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
destination_arn str
The Amazon Resource Name (ARN) of the destination.
distribution str | Distribution
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
filter_name str
The name of the subscription filter.
filter_pattern str
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
log_group_name str
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
role_arn str
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
destinationArn String
The Amazon Resource Name (ARN) of the destination.
distribution String | "ByLogStream" | "Random"
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
filterName String
The name of the subscription filter.
filterPattern String
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
logGroupName String
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
roleArn String
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.

AwsLogsSubscriptionFilterPropertiesResponse
, AwsLogsSubscriptionFilterPropertiesResponseArgs

DestinationArn string
The Amazon Resource Name (ARN) of the destination.
Distribution string
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
FilterName string
The name of the subscription filter.
FilterPattern string
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
LogGroupName string
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
RoleArn string
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
DestinationArn string
The Amazon Resource Name (ARN) of the destination.
Distribution string
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
FilterName string
The name of the subscription filter.
FilterPattern string
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
LogGroupName string
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
RoleArn string
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
destinationArn String
The Amazon Resource Name (ARN) of the destination.
distribution String
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
filterName String
The name of the subscription filter.
filterPattern String
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
logGroupName String
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
roleArn String
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
destinationArn string
The Amazon Resource Name (ARN) of the destination.
distribution string
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
filterName string
The name of the subscription filter.
filterPattern string
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
logGroupName string
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
roleArn string
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
destination_arn str
The Amazon Resource Name (ARN) of the destination.
distribution str
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
filter_name str
The name of the subscription filter.
filter_pattern str
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
log_group_name str
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
role_arn str
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
destinationArn String
The Amazon Resource Name (ARN) of the destination.
distribution String
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
filterName String
The name of the subscription filter.
filterPattern String
The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax.
logGroupName String
The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
roleArn String
The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.

Distribution
, DistributionArgs

ByLogStream
ByLogStreamDistribution enum ByLogStream
Random
RandomDistribution enum Random
DistributionByLogStream
ByLogStreamDistribution enum ByLogStream
DistributionRandom
RandomDistribution enum Random
ByLogStream
ByLogStreamDistribution enum ByLogStream
Random
RandomDistribution enum Random
ByLogStream
ByLogStreamDistribution enum ByLogStream
Random
RandomDistribution enum Random
BY_LOG_STREAM
ByLogStreamDistribution enum ByLogStream
RANDOM
RandomDistribution enum Random
"ByLogStream"
ByLogStreamDistribution enum ByLogStream
"Random"
RandomDistribution enum Random

LogsSubscriptionFilterProperties
, LogsSubscriptionFilterPropertiesArgs

Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties Pulumi.AzureNative.AwsConnector.Inputs.AwsLogsSubscriptionFilterProperties
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 AwsLogsSubscriptionFilterProperties
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 AwsLogsSubscriptionFilterProperties
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 AwsLogsSubscriptionFilterProperties
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 AwsLogsSubscriptionFilterProperties
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

LogsSubscriptionFilterPropertiesResponse
, LogsSubscriptionFilterPropertiesResponseArgs

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.AwsLogsSubscriptionFilterPropertiesResponse
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 AwsLogsSubscriptionFilterPropertiesResponse
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 AwsLogsSubscriptionFilterPropertiesResponse
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 AwsLogsSubscriptionFilterPropertiesResponse
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 AwsLogsSubscriptionFilterPropertiesResponse
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

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:LogsSubscriptionFilter absefomwvezvofheloadtrcpwldja /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/logsSubscriptionFilters/{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 v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi