1. Packages
  2. Sumologic Provider
  3. API Docs
  4. CloudwatchSource
Sumo Logic v1.0.6 published on Tuesday, Mar 11, 2025 by Pulumi

sumologic.CloudwatchSource

Explore with Pulumi AI

Provides a Sumologic CloudWatch source.

IMPORTANT: The AWS credentials are stored in plain-text in the state. This is a potential security issue.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const filters = [{
    name: "Exclude Comments",
    filterType: "Exclude",
    regexp: "#.*",
}];
const tagfilters = [
    {
        type: "TagFilters",
        namespace: "All",
        tags: ["k3=v3"],
    },
    {
        type: "TagFilters",
        namespace: "AWS/Route53",
        tags: ["k1=v1"],
    },
    {
        type: "TagFilters",
        namespace: "AWS/S3",
        tags: ["k2=v2"],
    },
];
const collector = new sumologic.Collector("collector", {
    name: "my-collector",
    description: "Just testing this",
});
const cloudwatchSource = new sumologic.CloudwatchSource("cloudwatch_source", {
    name: "CloudWatch Metrics",
    description: "My description",
    category: "aws/cw",
    contentType: "AwsCloudWatch",
    scanInterval: 300000,
    paused: false,
    collectorId: collector.id,
    authentication: {
        type: "AWSRoleBasedAuthentication",
        roleArn: "arn:aws:iam::01234567890:role/sumo-role",
    },
    path: {
        tagFilters: tagfilters.map((v, k) => ({key: k, value: v})).map(entry => ({
            type: entry.value.type,
            namespace: entry.value.namespace,
            tags: entry.value.tags,
        })),
        type: "CloudWatchPath",
        limitToRegions: ["us-west-2"],
        limitToNamespaces: [
            "AWS/Route53",
            "AWS/S3",
            "customNamespace",
        ],
    },
});
Copy
import pulumi
import pulumi_sumologic as sumologic

filters = [{
    "name": "Exclude Comments",
    "filterType": "Exclude",
    "regexp": "#.*",
}]
tagfilters = [
    {
        "type": "TagFilters",
        "namespace": "All",
        "tags": ["k3=v3"],
    },
    {
        "type": "TagFilters",
        "namespace": "AWS/Route53",
        "tags": ["k1=v1"],
    },
    {
        "type": "TagFilters",
        "namespace": "AWS/S3",
        "tags": ["k2=v2"],
    },
]
collector = sumologic.Collector("collector",
    name="my-collector",
    description="Just testing this")
cloudwatch_source = sumologic.CloudwatchSource("cloudwatch_source",
    name="CloudWatch Metrics",
    description="My description",
    category="aws/cw",
    content_type="AwsCloudWatch",
    scan_interval=300000,
    paused=False,
    collector_id=collector.id,
    authentication={
        "type": "AWSRoleBasedAuthentication",
        "role_arn": "arn:aws:iam::01234567890:role/sumo-role",
    },
    path={
        "tag_filters": [{
            "type": entry["value"]["type"],
            "namespace": entry["value"]["namespace"],
            "tags": entry["value"]["tags"],
        } for entry in [{"key": k, "value": v} for k, v in tagfilters]],
        "type": "CloudWatchPath",
        "limit_to_regions": ["us-west-2"],
        "limit_to_namespaces": [
            "AWS/Route53",
            "AWS/S3",
            "customNamespace",
        ],
    })
Copy
Coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var filters = new[]
    {
        
        {
            { "name", "Exclude Comments" },
            { "filterType", "Exclude" },
            { "regexp", "#.*" },
        },
    };

    var tagfilters = new[]
    {
        
        {
            { "type", "TagFilters" },
            { "namespace", "All" },
            { "tags", new[]
            {
                "k3=v3",
            } },
        },
        
        {
            { "type", "TagFilters" },
            { "namespace", "AWS/Route53" },
            { "tags", new[]
            {
                "k1=v1",
            } },
        },
        
        {
            { "type", "TagFilters" },
            { "namespace", "AWS/S3" },
            { "tags", new[]
            {
                "k2=v2",
            } },
        },
    };

    var collector = new SumoLogic.Collector("collector", new()
    {
        Name = "my-collector",
        Description = "Just testing this",
    });

    var cloudwatchSource = new SumoLogic.CloudwatchSource("cloudwatch_source", new()
    {
        Name = "CloudWatch Metrics",
        Description = "My description",
        Category = "aws/cw",
        ContentType = "AwsCloudWatch",
        ScanInterval = 300000,
        Paused = false,
        CollectorId = collector.Id,
        Authentication = new SumoLogic.Inputs.CloudwatchSourceAuthenticationArgs
        {
            Type = "AWSRoleBasedAuthentication",
            RoleArn = "arn:aws:iam::01234567890:role/sumo-role",
        },
        Path = new SumoLogic.Inputs.CloudwatchSourcePathArgs
        {
            TagFilters = tagfilters.Select((v, k) => new { Key = k, Value = v }).Select(entry => 
            {
                return new SumoLogic.Inputs.CloudwatchSourcePathTagFilterArgs
                {
                    Type = entry.Value.Type,
                    Namespace = entry.Value.Namespace,
                    Tags = entry.Value.Tags,
                };
            }).ToList(),
            Type = "CloudWatchPath",
            LimitToRegions = new[]
            {
                "us-west-2",
            },
            LimitToNamespaces = new[]
            {
                "AWS/Route53",
                "AWS/S3",
                "customNamespace",
            },
        },
    });

});
Copy
Coming soon!
Coming soon!

Create CloudwatchSource Resource

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

Constructor syntax

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

@overload
def CloudwatchSource(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     content_type: Optional[str] = None,
                     path: Optional[CloudwatchSourcePathArgs] = None,
                     authentication: Optional[CloudwatchSourceAuthenticationArgs] = None,
                     collector_id: Optional[int] = None,
                     filters: Optional[Sequence[CloudwatchSourceFilterArgs]] = None,
                     host_name: Optional[str] = None,
                     cutoff_timestamp: Optional[int] = None,
                     default_date_formats: Optional[Sequence[CloudwatchSourceDefaultDateFormatArgs]] = None,
                     description: Optional[str] = None,
                     fields: Optional[Mapping[str, str]] = None,
                     category: Optional[str] = None,
                     force_timezone: Optional[bool] = None,
                     hash_algorithm: Optional[str] = None,
                     cutoff_relative_time: Optional[str] = None,
                     manual_prefix_regexp: Optional[str] = None,
                     multiline_processing_enabled: Optional[bool] = None,
                     name: Optional[str] = None,
                     automatic_date_parsing: Optional[bool] = None,
                     paused: Optional[bool] = None,
                     scan_interval: Optional[int] = None,
                     timezone: Optional[str] = None,
                     use_autoline_matching: Optional[bool] = None)
func NewCloudwatchSource(ctx *Context, name string, args CloudwatchSourceArgs, opts ...ResourceOption) (*CloudwatchSource, error)
public CloudwatchSource(string name, CloudwatchSourceArgs args, CustomResourceOptions? opts = null)
public CloudwatchSource(String name, CloudwatchSourceArgs args)
public CloudwatchSource(String name, CloudwatchSourceArgs args, CustomResourceOptions options)
type: sumologic:CloudwatchSource
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. CloudwatchSourceArgs
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. CloudwatchSourceArgs
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. CloudwatchSourceArgs
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. CloudwatchSourceArgs
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. CloudwatchSourceArgs
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 cloudwatchSourceResource = new SumoLogic.CloudwatchSource("cloudwatchSourceResource", new()
{
    ContentType = "string",
    Path = new SumoLogic.Inputs.CloudwatchSourcePathArgs
    {
        Type = "string",
        LimitToServices = new[]
        {
            "string",
        },
        Namespace = "string",
        CustomServices = new[]
        {
            new SumoLogic.Inputs.CloudwatchSourcePathCustomServiceArgs
            {
                Prefixes = new[]
                {
                    "string",
                },
                ServiceName = "string",
            },
        },
        Environment = "string",
        EventHubName = "string",
        LimitToNamespaces = new[]
        {
            "string",
        },
        ConsumerGroup = "string",
        AzureTagFilters = new[]
        {
            new SumoLogic.Inputs.CloudwatchSourcePathAzureTagFilterArgs
            {
                Type = "string",
                Namespace = "string",
                Tags = new[]
                {
                    new SumoLogic.Inputs.CloudwatchSourcePathAzureTagFilterTagArgs
                    {
                        Name = "string",
                        Values = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        LimitToRegions = new[]
        {
            "string",
        },
        PathExpression = "string",
        Region = "string",
        SnsTopicOrSubscriptionArns = new[]
        {
            new SumoLogic.Inputs.CloudwatchSourcePathSnsTopicOrSubscriptionArnArgs
            {
                Arn = "string",
                IsSuccess = false,
            },
        },
        TagFilters = new[]
        {
            new SumoLogic.Inputs.CloudwatchSourcePathTagFilterArgs
            {
                Namespace = "string",
                Tags = new[]
                {
                    "string",
                },
                Type = "string",
            },
        },
        BucketName = "string",
        UseVersionedApi = false,
    },
    Authentication = new SumoLogic.Inputs.CloudwatchSourceAuthenticationArgs
    {
        Type = "string",
        PrivateKeyId = "string",
        ClientSecret = "string",
        ProjectId = "string",
        ClientId = "string",
        Region = "string",
        ClientX509CertUrl = "string",
        PrivateKey = "string",
        RoleArn = "string",
        ClientEmail = "string",
        AuthUri = "string",
        AccessKey = "string",
        SecretKey = "string",
        SharedAccessPolicyKey = "string",
        SharedAccessPolicyName = "string",
        TenantId = "string",
        TokenUri = "string",
        AuthProviderX509CertUrl = "string",
    },
    CollectorId = 0,
    Filters = new[]
    {
        new SumoLogic.Inputs.CloudwatchSourceFilterArgs
        {
            FilterType = "string",
            Name = "string",
            Regexp = "string",
            Mask = "string",
        },
    },
    HostName = "string",
    CutoffTimestamp = 0,
    DefaultDateFormats = new[]
    {
        new SumoLogic.Inputs.CloudwatchSourceDefaultDateFormatArgs
        {
            Format = "string",
            Locator = "string",
        },
    },
    Description = "string",
    Fields = 
    {
        { "string", "string" },
    },
    Category = "string",
    ForceTimezone = false,
    HashAlgorithm = "string",
    CutoffRelativeTime = "string",
    ManualPrefixRegexp = "string",
    MultilineProcessingEnabled = false,
    Name = "string",
    AutomaticDateParsing = false,
    Paused = false,
    ScanInterval = 0,
    Timezone = "string",
    UseAutolineMatching = false,
});
Copy
example, err := sumologic.NewCloudwatchSource(ctx, "cloudwatchSourceResource", &sumologic.CloudwatchSourceArgs{
	ContentType: pulumi.String("string"),
	Path: &sumologic.CloudwatchSourcePathArgs{
		Type: pulumi.String("string"),
		LimitToServices: pulumi.StringArray{
			pulumi.String("string"),
		},
		Namespace: pulumi.String("string"),
		CustomServices: sumologic.CloudwatchSourcePathCustomServiceArray{
			&sumologic.CloudwatchSourcePathCustomServiceArgs{
				Prefixes: pulumi.StringArray{
					pulumi.String("string"),
				},
				ServiceName: pulumi.String("string"),
			},
		},
		Environment:  pulumi.String("string"),
		EventHubName: pulumi.String("string"),
		LimitToNamespaces: pulumi.StringArray{
			pulumi.String("string"),
		},
		ConsumerGroup: pulumi.String("string"),
		AzureTagFilters: sumologic.CloudwatchSourcePathAzureTagFilterArray{
			&sumologic.CloudwatchSourcePathAzureTagFilterArgs{
				Type:      pulumi.String("string"),
				Namespace: pulumi.String("string"),
				Tags: sumologic.CloudwatchSourcePathAzureTagFilterTagArray{
					&sumologic.CloudwatchSourcePathAzureTagFilterTagArgs{
						Name: pulumi.String("string"),
						Values: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
			},
		},
		LimitToRegions: pulumi.StringArray{
			pulumi.String("string"),
		},
		PathExpression: pulumi.String("string"),
		Region:         pulumi.String("string"),
		SnsTopicOrSubscriptionArns: sumologic.CloudwatchSourcePathSnsTopicOrSubscriptionArnArray{
			&sumologic.CloudwatchSourcePathSnsTopicOrSubscriptionArnArgs{
				Arn:       pulumi.String("string"),
				IsSuccess: pulumi.Bool(false),
			},
		},
		TagFilters: sumologic.CloudwatchSourcePathTagFilterArray{
			&sumologic.CloudwatchSourcePathTagFilterArgs{
				Namespace: pulumi.String("string"),
				Tags: pulumi.StringArray{
					pulumi.String("string"),
				},
				Type: pulumi.String("string"),
			},
		},
		BucketName:      pulumi.String("string"),
		UseVersionedApi: pulumi.Bool(false),
	},
	Authentication: &sumologic.CloudwatchSourceAuthenticationArgs{
		Type:                    pulumi.String("string"),
		PrivateKeyId:            pulumi.String("string"),
		ClientSecret:            pulumi.String("string"),
		ProjectId:               pulumi.String("string"),
		ClientId:                pulumi.String("string"),
		Region:                  pulumi.String("string"),
		ClientX509CertUrl:       pulumi.String("string"),
		PrivateKey:              pulumi.String("string"),
		RoleArn:                 pulumi.String("string"),
		ClientEmail:             pulumi.String("string"),
		AuthUri:                 pulumi.String("string"),
		AccessKey:               pulumi.String("string"),
		SecretKey:               pulumi.String("string"),
		SharedAccessPolicyKey:   pulumi.String("string"),
		SharedAccessPolicyName:  pulumi.String("string"),
		TenantId:                pulumi.String("string"),
		TokenUri:                pulumi.String("string"),
		AuthProviderX509CertUrl: pulumi.String("string"),
	},
	CollectorId: pulumi.Int(0),
	Filters: sumologic.CloudwatchSourceFilterArray{
		&sumologic.CloudwatchSourceFilterArgs{
			FilterType: pulumi.String("string"),
			Name:       pulumi.String("string"),
			Regexp:     pulumi.String("string"),
			Mask:       pulumi.String("string"),
		},
	},
	HostName:        pulumi.String("string"),
	CutoffTimestamp: pulumi.Int(0),
	DefaultDateFormats: sumologic.CloudwatchSourceDefaultDateFormatArray{
		&sumologic.CloudwatchSourceDefaultDateFormatArgs{
			Format:  pulumi.String("string"),
			Locator: pulumi.String("string"),
		},
	},
	Description: pulumi.String("string"),
	Fields: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Category:                   pulumi.String("string"),
	ForceTimezone:              pulumi.Bool(false),
	HashAlgorithm:              pulumi.String("string"),
	CutoffRelativeTime:         pulumi.String("string"),
	ManualPrefixRegexp:         pulumi.String("string"),
	MultilineProcessingEnabled: pulumi.Bool(false),
	Name:                       pulumi.String("string"),
	AutomaticDateParsing:       pulumi.Bool(false),
	Paused:                     pulumi.Bool(false),
	ScanInterval:               pulumi.Int(0),
	Timezone:                   pulumi.String("string"),
	UseAutolineMatching:        pulumi.Bool(false),
})
Copy
var cloudwatchSourceResource = new CloudwatchSource("cloudwatchSourceResource", CloudwatchSourceArgs.builder()
    .contentType("string")
    .path(CloudwatchSourcePathArgs.builder()
        .type("string")
        .limitToServices("string")
        .namespace("string")
        .customServices(CloudwatchSourcePathCustomServiceArgs.builder()
            .prefixes("string")
            .serviceName("string")
            .build())
        .environment("string")
        .eventHubName("string")
        .limitToNamespaces("string")
        .consumerGroup("string")
        .azureTagFilters(CloudwatchSourcePathAzureTagFilterArgs.builder()
            .type("string")
            .namespace("string")
            .tags(CloudwatchSourcePathAzureTagFilterTagArgs.builder()
                .name("string")
                .values("string")
                .build())
            .build())
        .limitToRegions("string")
        .pathExpression("string")
        .region("string")
        .snsTopicOrSubscriptionArns(CloudwatchSourcePathSnsTopicOrSubscriptionArnArgs.builder()
            .arn("string")
            .isSuccess(false)
            .build())
        .tagFilters(CloudwatchSourcePathTagFilterArgs.builder()
            .namespace("string")
            .tags("string")
            .type("string")
            .build())
        .bucketName("string")
        .useVersionedApi(false)
        .build())
    .authentication(CloudwatchSourceAuthenticationArgs.builder()
        .type("string")
        .privateKeyId("string")
        .clientSecret("string")
        .projectId("string")
        .clientId("string")
        .region("string")
        .clientX509CertUrl("string")
        .privateKey("string")
        .roleArn("string")
        .clientEmail("string")
        .authUri("string")
        .accessKey("string")
        .secretKey("string")
        .sharedAccessPolicyKey("string")
        .sharedAccessPolicyName("string")
        .tenantId("string")
        .tokenUri("string")
        .authProviderX509CertUrl("string")
        .build())
    .collectorId(0)
    .filters(CloudwatchSourceFilterArgs.builder()
        .filterType("string")
        .name("string")
        .regexp("string")
        .mask("string")
        .build())
    .hostName("string")
    .cutoffTimestamp(0)
    .defaultDateFormats(CloudwatchSourceDefaultDateFormatArgs.builder()
        .format("string")
        .locator("string")
        .build())
    .description("string")
    .fields(Map.of("string", "string"))
    .category("string")
    .forceTimezone(false)
    .hashAlgorithm("string")
    .cutoffRelativeTime("string")
    .manualPrefixRegexp("string")
    .multilineProcessingEnabled(false)
    .name("string")
    .automaticDateParsing(false)
    .paused(false)
    .scanInterval(0)
    .timezone("string")
    .useAutolineMatching(false)
    .build());
Copy
cloudwatch_source_resource = sumologic.CloudwatchSource("cloudwatchSourceResource",
    content_type="string",
    path={
        "type": "string",
        "limit_to_services": ["string"],
        "namespace": "string",
        "custom_services": [{
            "prefixes": ["string"],
            "service_name": "string",
        }],
        "environment": "string",
        "event_hub_name": "string",
        "limit_to_namespaces": ["string"],
        "consumer_group": "string",
        "azure_tag_filters": [{
            "type": "string",
            "namespace": "string",
            "tags": [{
                "name": "string",
                "values": ["string"],
            }],
        }],
        "limit_to_regions": ["string"],
        "path_expression": "string",
        "region": "string",
        "sns_topic_or_subscription_arns": [{
            "arn": "string",
            "is_success": False,
        }],
        "tag_filters": [{
            "namespace": "string",
            "tags": ["string"],
            "type": "string",
        }],
        "bucket_name": "string",
        "use_versioned_api": False,
    },
    authentication={
        "type": "string",
        "private_key_id": "string",
        "client_secret": "string",
        "project_id": "string",
        "client_id": "string",
        "region": "string",
        "client_x509_cert_url": "string",
        "private_key": "string",
        "role_arn": "string",
        "client_email": "string",
        "auth_uri": "string",
        "access_key": "string",
        "secret_key": "string",
        "shared_access_policy_key": "string",
        "shared_access_policy_name": "string",
        "tenant_id": "string",
        "token_uri": "string",
        "auth_provider_x509_cert_url": "string",
    },
    collector_id=0,
    filters=[{
        "filter_type": "string",
        "name": "string",
        "regexp": "string",
        "mask": "string",
    }],
    host_name="string",
    cutoff_timestamp=0,
    default_date_formats=[{
        "format": "string",
        "locator": "string",
    }],
    description="string",
    fields={
        "string": "string",
    },
    category="string",
    force_timezone=False,
    hash_algorithm="string",
    cutoff_relative_time="string",
    manual_prefix_regexp="string",
    multiline_processing_enabled=False,
    name="string",
    automatic_date_parsing=False,
    paused=False,
    scan_interval=0,
    timezone="string",
    use_autoline_matching=False)
Copy
const cloudwatchSourceResource = new sumologic.CloudwatchSource("cloudwatchSourceResource", {
    contentType: "string",
    path: {
        type: "string",
        limitToServices: ["string"],
        namespace: "string",
        customServices: [{
            prefixes: ["string"],
            serviceName: "string",
        }],
        environment: "string",
        eventHubName: "string",
        limitToNamespaces: ["string"],
        consumerGroup: "string",
        azureTagFilters: [{
            type: "string",
            namespace: "string",
            tags: [{
                name: "string",
                values: ["string"],
            }],
        }],
        limitToRegions: ["string"],
        pathExpression: "string",
        region: "string",
        snsTopicOrSubscriptionArns: [{
            arn: "string",
            isSuccess: false,
        }],
        tagFilters: [{
            namespace: "string",
            tags: ["string"],
            type: "string",
        }],
        bucketName: "string",
        useVersionedApi: false,
    },
    authentication: {
        type: "string",
        privateKeyId: "string",
        clientSecret: "string",
        projectId: "string",
        clientId: "string",
        region: "string",
        clientX509CertUrl: "string",
        privateKey: "string",
        roleArn: "string",
        clientEmail: "string",
        authUri: "string",
        accessKey: "string",
        secretKey: "string",
        sharedAccessPolicyKey: "string",
        sharedAccessPolicyName: "string",
        tenantId: "string",
        tokenUri: "string",
        authProviderX509CertUrl: "string",
    },
    collectorId: 0,
    filters: [{
        filterType: "string",
        name: "string",
        regexp: "string",
        mask: "string",
    }],
    hostName: "string",
    cutoffTimestamp: 0,
    defaultDateFormats: [{
        format: "string",
        locator: "string",
    }],
    description: "string",
    fields: {
        string: "string",
    },
    category: "string",
    forceTimezone: false,
    hashAlgorithm: "string",
    cutoffRelativeTime: "string",
    manualPrefixRegexp: "string",
    multilineProcessingEnabled: false,
    name: "string",
    automaticDateParsing: false,
    paused: false,
    scanInterval: 0,
    timezone: "string",
    useAutolineMatching: false,
});
Copy
type: sumologic:CloudwatchSource
properties:
    authentication:
        accessKey: string
        authProviderX509CertUrl: string
        authUri: string
        clientEmail: string
        clientId: string
        clientSecret: string
        clientX509CertUrl: string
        privateKey: string
        privateKeyId: string
        projectId: string
        region: string
        roleArn: string
        secretKey: string
        sharedAccessPolicyKey: string
        sharedAccessPolicyName: string
        tenantId: string
        tokenUri: string
        type: string
    automaticDateParsing: false
    category: string
    collectorId: 0
    contentType: string
    cutoffRelativeTime: string
    cutoffTimestamp: 0
    defaultDateFormats:
        - format: string
          locator: string
    description: string
    fields:
        string: string
    filters:
        - filterType: string
          mask: string
          name: string
          regexp: string
    forceTimezone: false
    hashAlgorithm: string
    hostName: string
    manualPrefixRegexp: string
    multilineProcessingEnabled: false
    name: string
    path:
        azureTagFilters:
            - namespace: string
              tags:
                - name: string
                  values:
                    - string
              type: string
        bucketName: string
        consumerGroup: string
        customServices:
            - prefixes:
                - string
              serviceName: string
        environment: string
        eventHubName: string
        limitToNamespaces:
            - string
        limitToRegions:
            - string
        limitToServices:
            - string
        namespace: string
        pathExpression: string
        region: string
        snsTopicOrSubscriptionArns:
            - arn: string
              isSuccess: false
        tagFilters:
            - namespace: string
              tags:
                - string
              type: string
        type: string
        useVersionedApi: false
    paused: false
    scanInterval: 0
    timezone: string
    useAutolineMatching: false
Copy

CloudwatchSource 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 CloudwatchSource resource accepts the following input properties:

Authentication
This property is required.
Changes to this property will trigger replacement.
Pulumi.SumoLogic.Inputs.CloudwatchSourceAuthentication
Authentication details for connecting to the S3 bucket.
CollectorId
This property is required.
Changes to this property will trigger replacement.
int
ContentType
This property is required.
Changes to this property will trigger replacement.
string
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
Path
This property is required.
Changes to this property will trigger replacement.
Pulumi.SumoLogic.Inputs.CloudwatchSourcePath
The location to scan for new data.
AutomaticDateParsing bool
Category string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats List<Pulumi.SumoLogic.Inputs.CloudwatchSourceDefaultDateFormat>
Description string
Fields Dictionary<string, string>
Filters List<Pulumi.SumoLogic.Inputs.CloudwatchSourceFilter>
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Paused bool
When set to true, the scanner is paused. To disable, set to false.
ScanInterval int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
Timezone string
UseAutolineMatching bool
Authentication
This property is required.
Changes to this property will trigger replacement.
CloudwatchSourceAuthenticationArgs
Authentication details for connecting to the S3 bucket.
CollectorId
This property is required.
Changes to this property will trigger replacement.
int
ContentType
This property is required.
Changes to this property will trigger replacement.
string
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
Path
This property is required.
Changes to this property will trigger replacement.
CloudwatchSourcePathArgs
The location to scan for new data.
AutomaticDateParsing bool
Category string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats []CloudwatchSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []CloudwatchSourceFilterArgs
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Paused bool
When set to true, the scanner is paused. To disable, set to false.
ScanInterval int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
Timezone string
UseAutolineMatching bool
authentication
This property is required.
Changes to this property will trigger replacement.
CloudwatchSourceAuthentication
Authentication details for connecting to the S3 bucket.
collectorId
This property is required.
Changes to this property will trigger replacement.
Integer
contentType
This property is required.
Changes to this property will trigger replacement.
String
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
path
This property is required.
Changes to this property will trigger replacement.
CloudwatchSourcePath
The location to scan for new data.
automaticDateParsing Boolean
category String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Integer
defaultDateFormats List<CloudwatchSourceDefaultDateFormat>
description String
fields Map<String,String>
filters List<CloudwatchSourceFilter>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
paused Boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval Integer
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone String
useAutolineMatching Boolean
authentication
This property is required.
Changes to this property will trigger replacement.
CloudwatchSourceAuthentication
Authentication details for connecting to the S3 bucket.
collectorId
This property is required.
Changes to this property will trigger replacement.
number
contentType
This property is required.
Changes to this property will trigger replacement.
string
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
path
This property is required.
Changes to this property will trigger replacement.
CloudwatchSourcePath
The location to scan for new data.
automaticDateParsing boolean
category string
cutoffRelativeTime Changes to this property will trigger replacement. string
cutoffTimestamp number
defaultDateFormats CloudwatchSourceDefaultDateFormat[]
description string
fields {[key: string]: string}
filters CloudwatchSourceFilter[]
forceTimezone boolean
hashAlgorithm string
hostName string
manualPrefixRegexp string
multilineProcessingEnabled boolean
name string
paused boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval number
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone string
useAutolineMatching boolean
authentication
This property is required.
Changes to this property will trigger replacement.
CloudwatchSourceAuthenticationArgs
Authentication details for connecting to the S3 bucket.
collector_id
This property is required.
Changes to this property will trigger replacement.
int
content_type
This property is required.
Changes to this property will trigger replacement.
str
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
path
This property is required.
Changes to this property will trigger replacement.
CloudwatchSourcePathArgs
The location to scan for new data.
automatic_date_parsing bool
category str
cutoff_relative_time Changes to this property will trigger replacement. str
cutoff_timestamp int
default_date_formats Sequence[CloudwatchSourceDefaultDateFormatArgs]
description str
fields Mapping[str, str]
filters Sequence[CloudwatchSourceFilterArgs]
force_timezone bool
hash_algorithm str
host_name str
manual_prefix_regexp str
multiline_processing_enabled bool
name str
paused bool
When set to true, the scanner is paused. To disable, set to false.
scan_interval int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone str
use_autoline_matching bool
authentication
This property is required.
Changes to this property will trigger replacement.
Property Map
Authentication details for connecting to the S3 bucket.
collectorId
This property is required.
Changes to this property will trigger replacement.
Number
contentType
This property is required.
Changes to this property will trigger replacement.
String
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
path
This property is required.
Changes to this property will trigger replacement.
Property Map
The location to scan for new data.
automaticDateParsing Boolean
category String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
paused Boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval Number
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone String
useAutolineMatching Boolean

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
Id string
The provider-assigned unique ID for this managed resource.
Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
id String
The provider-assigned unique ID for this managed resource.
url String
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
id string
The provider-assigned unique ID for this managed resource.
url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
id str
The provider-assigned unique ID for this managed resource.
url str
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
id String
The provider-assigned unique ID for this managed resource.
url String
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.

Look up Existing CloudwatchSource Resource

Get an existing CloudwatchSource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: CloudwatchSourceState, opts?: CustomResourceOptions): CloudwatchSource
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication: Optional[CloudwatchSourceAuthenticationArgs] = None,
        automatic_date_parsing: Optional[bool] = None,
        category: Optional[str] = None,
        collector_id: Optional[int] = None,
        content_type: Optional[str] = None,
        cutoff_relative_time: Optional[str] = None,
        cutoff_timestamp: Optional[int] = None,
        default_date_formats: Optional[Sequence[CloudwatchSourceDefaultDateFormatArgs]] = None,
        description: Optional[str] = None,
        fields: Optional[Mapping[str, str]] = None,
        filters: Optional[Sequence[CloudwatchSourceFilterArgs]] = None,
        force_timezone: Optional[bool] = None,
        hash_algorithm: Optional[str] = None,
        host_name: Optional[str] = None,
        manual_prefix_regexp: Optional[str] = None,
        multiline_processing_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        path: Optional[CloudwatchSourcePathArgs] = None,
        paused: Optional[bool] = None,
        scan_interval: Optional[int] = None,
        timezone: Optional[str] = None,
        url: Optional[str] = None,
        use_autoline_matching: Optional[bool] = None) -> CloudwatchSource
func GetCloudwatchSource(ctx *Context, name string, id IDInput, state *CloudwatchSourceState, opts ...ResourceOption) (*CloudwatchSource, error)
public static CloudwatchSource Get(string name, Input<string> id, CloudwatchSourceState? state, CustomResourceOptions? opts = null)
public static CloudwatchSource get(String name, Output<String> id, CloudwatchSourceState state, CustomResourceOptions options)
resources:  _:    type: sumologic:CloudwatchSource    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Authentication Changes to this property will trigger replacement. Pulumi.SumoLogic.Inputs.CloudwatchSourceAuthentication
Authentication details for connecting to the S3 bucket.
AutomaticDateParsing bool
Category string
CollectorId Changes to this property will trigger replacement. int
ContentType Changes to this property will trigger replacement. string
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats List<Pulumi.SumoLogic.Inputs.CloudwatchSourceDefaultDateFormat>
Description string
Fields Dictionary<string, string>
Filters List<Pulumi.SumoLogic.Inputs.CloudwatchSourceFilter>
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Path Changes to this property will trigger replacement. Pulumi.SumoLogic.Inputs.CloudwatchSourcePath
The location to scan for new data.
Paused bool
When set to true, the scanner is paused. To disable, set to false.
ScanInterval int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
Timezone string
Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
UseAutolineMatching bool
Authentication Changes to this property will trigger replacement. CloudwatchSourceAuthenticationArgs
Authentication details for connecting to the S3 bucket.
AutomaticDateParsing bool
Category string
CollectorId Changes to this property will trigger replacement. int
ContentType Changes to this property will trigger replacement. string
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats []CloudwatchSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []CloudwatchSourceFilterArgs
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Path Changes to this property will trigger replacement. CloudwatchSourcePathArgs
The location to scan for new data.
Paused bool
When set to true, the scanner is paused. To disable, set to false.
ScanInterval int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
Timezone string
Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
UseAutolineMatching bool
authentication Changes to this property will trigger replacement. CloudwatchSourceAuthentication
Authentication details for connecting to the S3 bucket.
automaticDateParsing Boolean
category String
collectorId Changes to this property will trigger replacement. Integer
contentType Changes to this property will trigger replacement. String
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Integer
defaultDateFormats List<CloudwatchSourceDefaultDateFormat>
description String
fields Map<String,String>
filters List<CloudwatchSourceFilter>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path Changes to this property will trigger replacement. CloudwatchSourcePath
The location to scan for new data.
paused Boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval Integer
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone String
url String
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
useAutolineMatching Boolean
authentication Changes to this property will trigger replacement. CloudwatchSourceAuthentication
Authentication details for connecting to the S3 bucket.
automaticDateParsing boolean
category string
collectorId Changes to this property will trigger replacement. number
contentType Changes to this property will trigger replacement. string
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
cutoffRelativeTime Changes to this property will trigger replacement. string
cutoffTimestamp number
defaultDateFormats CloudwatchSourceDefaultDateFormat[]
description string
fields {[key: string]: string}
filters CloudwatchSourceFilter[]
forceTimezone boolean
hashAlgorithm string
hostName string
manualPrefixRegexp string
multilineProcessingEnabled boolean
name string
path Changes to this property will trigger replacement. CloudwatchSourcePath
The location to scan for new data.
paused boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval number
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone string
url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
useAutolineMatching boolean
authentication Changes to this property will trigger replacement. CloudwatchSourceAuthenticationArgs
Authentication details for connecting to the S3 bucket.
automatic_date_parsing bool
category str
collector_id Changes to this property will trigger replacement. int
content_type Changes to this property will trigger replacement. str
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
cutoff_relative_time Changes to this property will trigger replacement. str
cutoff_timestamp int
default_date_formats Sequence[CloudwatchSourceDefaultDateFormatArgs]
description str
fields Mapping[str, str]
filters Sequence[CloudwatchSourceFilterArgs]
force_timezone bool
hash_algorithm str
host_name str
manual_prefix_regexp str
multiline_processing_enabled bool
name str
path Changes to this property will trigger replacement. CloudwatchSourcePathArgs
The location to scan for new data.
paused bool
When set to true, the scanner is paused. To disable, set to false.
scan_interval int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone str
url str
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
use_autoline_matching bool
authentication Changes to this property will trigger replacement. Property Map
Authentication details for connecting to the S3 bucket.
automaticDateParsing Boolean
category String
collectorId Changes to this property will trigger replacement. Number
contentType Changes to this property will trigger replacement. String
The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path Changes to this property will trigger replacement. Property Map
The location to scan for new data.
paused Boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval Number
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone String
url String
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
useAutolineMatching Boolean

Supporting Types

CloudwatchSourceAuthentication
, CloudwatchSourceAuthenticationArgs

Type This property is required. string
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
AccessKey string
Your AWS access key if using type S3BucketAuthentication
AuthProviderX509CertUrl string
AuthUri string
ClientEmail string
ClientId string
ClientSecret string
ClientX509CertUrl string
PrivateKey string
PrivateKeyId string
ProjectId string
Region string
Your AWS Bucket region.
RoleArn string
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
SecretKey string
Your AWS secret key if using type S3BucketAuthentication
SharedAccessPolicyKey string
SharedAccessPolicyName string
TenantId string
TokenUri string
Type This property is required. string
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
AccessKey string
Your AWS access key if using type S3BucketAuthentication
AuthProviderX509CertUrl string
AuthUri string
ClientEmail string
ClientId string
ClientSecret string
ClientX509CertUrl string
PrivateKey string
PrivateKeyId string
ProjectId string
Region string
Your AWS Bucket region.
RoleArn string
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
SecretKey string
Your AWS secret key if using type S3BucketAuthentication
SharedAccessPolicyKey string
SharedAccessPolicyName string
TenantId string
TokenUri string
type This property is required. String
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
accessKey String
Your AWS access key if using type S3BucketAuthentication
authProviderX509CertUrl String
authUri String
clientEmail String
clientId String
clientSecret String
clientX509CertUrl String
privateKey String
privateKeyId String
projectId String
region String
Your AWS Bucket region.
roleArn String
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
secretKey String
Your AWS secret key if using type S3BucketAuthentication
sharedAccessPolicyKey String
sharedAccessPolicyName String
tenantId String
tokenUri String
type This property is required. string
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
accessKey string
Your AWS access key if using type S3BucketAuthentication
authProviderX509CertUrl string
authUri string
clientEmail string
clientId string
clientSecret string
clientX509CertUrl string
privateKey string
privateKeyId string
projectId string
region string
Your AWS Bucket region.
roleArn string
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
secretKey string
Your AWS secret key if using type S3BucketAuthentication
sharedAccessPolicyKey string
sharedAccessPolicyName string
tenantId string
tokenUri string
type This property is required. str
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
access_key str
Your AWS access key if using type S3BucketAuthentication
auth_provider_x509_cert_url str
auth_uri str
client_email str
client_id str
client_secret str
client_x509_cert_url str
private_key str
private_key_id str
project_id str
region str
Your AWS Bucket region.
role_arn str
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
secret_key str
Your AWS secret key if using type S3BucketAuthentication
shared_access_policy_key str
shared_access_policy_name str
tenant_id str
token_uri str
type This property is required. String
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
accessKey String
Your AWS access key if using type S3BucketAuthentication
authProviderX509CertUrl String
authUri String
clientEmail String
clientId String
clientSecret String
clientX509CertUrl String
privateKey String
privateKeyId String
projectId String
region String
Your AWS Bucket region.
roleArn String
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
secretKey String
Your AWS secret key if using type S3BucketAuthentication
sharedAccessPolicyKey String
sharedAccessPolicyName String
tenantId String
tokenUri String

CloudwatchSourceDefaultDateFormat
, CloudwatchSourceDefaultDateFormatArgs

Format This property is required. string
Locator string
Format This property is required. string
Locator string
format This property is required. String
locator String
format This property is required. string
locator string
format This property is required. str
locator str
format This property is required. String
locator String

CloudwatchSourceFilter
, CloudwatchSourceFilterArgs

FilterType This property is required. string
Name This property is required. string
Regexp This property is required. string
Mask string
FilterType This property is required. string
Name This property is required. string
Regexp This property is required. string
Mask string
filterType This property is required. String
name This property is required. String
regexp This property is required. String
mask String
filterType This property is required. string
name This property is required. string
regexp This property is required. string
mask string
filter_type This property is required. str
name This property is required. str
regexp This property is required. str
mask str
filterType This property is required. String
name This property is required. String
regexp This property is required. String
mask String

CloudwatchSourcePath
, CloudwatchSourcePathArgs

Type This property is required. string
type of polling source. This has to be CloudWatchPath for CloudWatch source.
AzureTagFilters List<Pulumi.SumoLogic.Inputs.CloudwatchSourcePathAzureTagFilter>
BucketName string
ConsumerGroup string
CustomServices List<Pulumi.SumoLogic.Inputs.CloudwatchSourcePathCustomService>
Environment string
EventHubName string
LimitToNamespaces List<string>
List of namespaces. By default all namespaces are selected. Details can be found here. You can also specify custom namespace.
LimitToRegions List<string>
List of Amazon regions.
LimitToServices List<string>
Namespace string
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
PathExpression string
Region string
Your AWS Bucket region.
SnsTopicOrSubscriptionArns List<Pulumi.SumoLogic.Inputs.CloudwatchSourcePathSnsTopicOrSubscriptionArn>
TagFilters List<Pulumi.SumoLogic.Inputs.CloudwatchSourcePathTagFilter>
Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. More info on tag filters can be found here
UseVersionedApi bool
Type This property is required. string
type of polling source. This has to be CloudWatchPath for CloudWatch source.
AzureTagFilters []CloudwatchSourcePathAzureTagFilter
BucketName string
ConsumerGroup string
CustomServices []CloudwatchSourcePathCustomService
Environment string
EventHubName string
LimitToNamespaces []string
List of namespaces. By default all namespaces are selected. Details can be found here. You can also specify custom namespace.
LimitToRegions []string
List of Amazon regions.
LimitToServices []string
Namespace string
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
PathExpression string
Region string
Your AWS Bucket region.
SnsTopicOrSubscriptionArns []CloudwatchSourcePathSnsTopicOrSubscriptionArn
TagFilters []CloudwatchSourcePathTagFilter
Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. More info on tag filters can be found here
UseVersionedApi bool
type This property is required. String
type of polling source. This has to be CloudWatchPath for CloudWatch source.
azureTagFilters List<CloudwatchSourcePathAzureTagFilter>
bucketName String
consumerGroup String
customServices List<CloudwatchSourcePathCustomService>
environment String
eventHubName String
limitToNamespaces List<String>
List of namespaces. By default all namespaces are selected. Details can be found here. You can also specify custom namespace.
limitToRegions List<String>
List of Amazon regions.
limitToServices List<String>
namespace String
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
pathExpression String
region String
Your AWS Bucket region.
snsTopicOrSubscriptionArns List<CloudwatchSourcePathSnsTopicOrSubscriptionArn>
tagFilters List<CloudwatchSourcePathTagFilter>
Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. More info on tag filters can be found here
useVersionedApi Boolean
type This property is required. string
type of polling source. This has to be CloudWatchPath for CloudWatch source.
azureTagFilters CloudwatchSourcePathAzureTagFilter[]
bucketName string
consumerGroup string
customServices CloudwatchSourcePathCustomService[]
environment string
eventHubName string
limitToNamespaces string[]
List of namespaces. By default all namespaces are selected. Details can be found here. You can also specify custom namespace.
limitToRegions string[]
List of Amazon regions.
limitToServices string[]
namespace string
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
pathExpression string
region string
Your AWS Bucket region.
snsTopicOrSubscriptionArns CloudwatchSourcePathSnsTopicOrSubscriptionArn[]
tagFilters CloudwatchSourcePathTagFilter[]
Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. More info on tag filters can be found here
useVersionedApi boolean
type This property is required. str
type of polling source. This has to be CloudWatchPath for CloudWatch source.
azure_tag_filters Sequence[CloudwatchSourcePathAzureTagFilter]
bucket_name str
consumer_group str
custom_services Sequence[CloudwatchSourcePathCustomService]
environment str
event_hub_name str
limit_to_namespaces Sequence[str]
List of namespaces. By default all namespaces are selected. Details can be found here. You can also specify custom namespace.
limit_to_regions Sequence[str]
List of Amazon regions.
limit_to_services Sequence[str]
namespace str
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
path_expression str
region str
Your AWS Bucket region.
sns_topic_or_subscription_arns Sequence[CloudwatchSourcePathSnsTopicOrSubscriptionArn]
tag_filters Sequence[CloudwatchSourcePathTagFilter]
Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. More info on tag filters can be found here
use_versioned_api bool
type This property is required. String
type of polling source. This has to be CloudWatchPath for CloudWatch source.
azureTagFilters List<Property Map>
bucketName String
consumerGroup String
customServices List<Property Map>
environment String
eventHubName String
limitToNamespaces List<String>
List of namespaces. By default all namespaces are selected. Details can be found here. You can also specify custom namespace.
limitToRegions List<String>
List of Amazon regions.
limitToServices List<String>
namespace String
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
pathExpression String
region String
Your AWS Bucket region.
snsTopicOrSubscriptionArns List<Property Map>
tagFilters List<Property Map>
Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. More info on tag filters can be found here
useVersionedApi Boolean

CloudwatchSourcePathAzureTagFilter
, CloudwatchSourcePathAzureTagFilterArgs

Type This property is required. string
Namespace string
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
Tags List<Pulumi.SumoLogic.Inputs.CloudwatchSourcePathAzureTagFilterTag>
List of key-value pairs of tag filters. Eg: ["k3=v3"]
Type This property is required. string
Namespace string
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
Tags []CloudwatchSourcePathAzureTagFilterTag
List of key-value pairs of tag filters. Eg: ["k3=v3"]
type This property is required. String
namespace String
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
tags List<CloudwatchSourcePathAzureTagFilterTag>
List of key-value pairs of tag filters. Eg: ["k3=v3"]
type This property is required. string
namespace string
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
tags CloudwatchSourcePathAzureTagFilterTag[]
List of key-value pairs of tag filters. Eg: ["k3=v3"]
type This property is required. str
namespace str
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
tags Sequence[CloudwatchSourcePathAzureTagFilterTag]
List of key-value pairs of tag filters. Eg: ["k3=v3"]
type This property is required. String
namespace String
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
tags List<Property Map>
List of key-value pairs of tag filters. Eg: ["k3=v3"]

CloudwatchSourcePathAzureTagFilterTag
, CloudwatchSourcePathAzureTagFilterTagArgs

Name This property is required. string
Values List<string>
Name This property is required. string
Values []string
name This property is required. String
values List<String>
name This property is required. string
values string[]
name This property is required. str
values Sequence[str]
name This property is required. String
values List<String>

CloudwatchSourcePathCustomService
, CloudwatchSourcePathCustomServiceArgs

Prefixes List<string>
ServiceName string
Prefixes []string
ServiceName string
prefixes List<String>
serviceName String
prefixes string[]
serviceName string
prefixes Sequence[str]
service_name str
prefixes List<String>
serviceName String

CloudwatchSourcePathSnsTopicOrSubscriptionArn
, CloudwatchSourcePathSnsTopicOrSubscriptionArnArgs

Arn string
IsSuccess bool
Arn string
IsSuccess bool
arn String
isSuccess Boolean
arn string
isSuccess boolean
arn str
is_success bool
arn String
isSuccess Boolean

CloudwatchSourcePathTagFilter
, CloudwatchSourcePathTagFilterArgs

Namespace string
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
Tags List<string>
List of key-value pairs of tag filters. Eg: ["k3=v3"]
Type string
This value has to be set to TagFilters
Namespace string
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
Tags []string
List of key-value pairs of tag filters. Eg: ["k3=v3"]
Type string
This value has to be set to TagFilters
namespace String
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
tags List<String>
List of key-value pairs of tag filters. Eg: ["k3=v3"]
type String
This value has to be set to TagFilters
namespace string
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
tags string[]
List of key-value pairs of tag filters. Eg: ["k3=v3"]
type string
This value has to be set to TagFilters
namespace str
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
tags Sequence[str]
List of key-value pairs of tag filters. Eg: ["k3=v3"]
type str
This value has to be set to TagFilters
namespace String
Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
tags List<String>
List of key-value pairs of tag filters. Eg: ["k3=v3"]
type String
This value has to be set to TagFilters

Import

CloudWatch sources can be imported using the collector and source IDs (collector/source), e.g.:

hcl

$ pulumi import sumologic:index/cloudwatchSource:CloudwatchSource test 123/456
Copy

CloudWatch sources can be imported using the collector name and source name (collectorName/sourceName), e.g.:

hcl

$ pulumi import sumologic:index/cloudwatchSource:CloudwatchSource test my-test-collector/my-test-source
Copy

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

Package Details

Repository
Sumo Logic pulumi/pulumi-sumologic
License
Apache-2.0
Notes
This Pulumi package is based on the sumologic Terraform Provider.