1. Packages
  2. Sumo Logic
  3. API Docs
  4. ElbSource
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

sumologic.ElbSource

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

    Provides a Sumologic ELB 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 collector = new sumologic.Collector("collector", {
        name: "my-collector",
        description: "Just testing this",
    });
    const elbSource = new sumologic.ElbSource("elb_source", {
        name: "Amazon EBS",
        description: "My description",
        category: "aws/elb",
        contentType: "AwsElbBucket",
        scanInterval: 300000,
        paused: false,
        collectorId: collector.id,
        authentication: {
            type: "S3BucketAuthentication",
            accessKey: "someKey",
            secretKey: "******",
        },
        path: {
            type: "S3BucketPathExpression",
            bucketName: "Bucket1",
            pathExpression: "*",
        },
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    collector = sumologic.Collector("collector",
        name="my-collector",
        description="Just testing this")
    elb_source = sumologic.ElbSource("elb_source",
        name="Amazon EBS",
        description="My description",
        category="aws/elb",
        content_type="AwsElbBucket",
        scan_interval=300000,
        paused=False,
        collector_id=collector.id,
        authentication=sumologic.ElbSourceAuthenticationArgs(
            type="S3BucketAuthentication",
            access_key="someKey",
            secret_key="******",
        ),
        path=sumologic.ElbSourcePathArgs(
            type="S3BucketPathExpression",
            bucket_name="Bucket1",
            path_expression="*",
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		collector, err := sumologic.NewCollector(ctx, "collector", &sumologic.CollectorArgs{
    			Name:        pulumi.String("my-collector"),
    			Description: pulumi.String("Just testing this"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sumologic.NewElbSource(ctx, "elb_source", &sumologic.ElbSourceArgs{
    			Name:         pulumi.String("Amazon EBS"),
    			Description:  pulumi.String("My description"),
    			Category:     pulumi.String("aws/elb"),
    			ContentType:  pulumi.String("AwsElbBucket"),
    			ScanInterval: pulumi.Int(300000),
    			Paused:       pulumi.Bool(false),
    			CollectorId:  collector.ID(),
    			Authentication: &sumologic.ElbSourceAuthenticationArgs{
    				Type:      pulumi.String("S3BucketAuthentication"),
    				AccessKey: pulumi.String("someKey"),
    				SecretKey: pulumi.String("******"),
    			},
    			Path: &sumologic.ElbSourcePathArgs{
    				Type:           pulumi.String("S3BucketPathExpression"),
    				BucketName:     pulumi.String("Bucket1"),
    				PathExpression: pulumi.String("*"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SumoLogic = Pulumi.SumoLogic;
    
    return await Deployment.RunAsync(() => 
    {
        var collector = new SumoLogic.Collector("collector", new()
        {
            Name = "my-collector",
            Description = "Just testing this",
        });
    
        var elbSource = new SumoLogic.ElbSource("elb_source", new()
        {
            Name = "Amazon EBS",
            Description = "My description",
            Category = "aws/elb",
            ContentType = "AwsElbBucket",
            ScanInterval = 300000,
            Paused = false,
            CollectorId = collector.Id,
            Authentication = new SumoLogic.Inputs.ElbSourceAuthenticationArgs
            {
                Type = "S3BucketAuthentication",
                AccessKey = "someKey",
                SecretKey = "******",
            },
            Path = new SumoLogic.Inputs.ElbSourcePathArgs
            {
                Type = "S3BucketPathExpression",
                BucketName = "Bucket1",
                PathExpression = "*",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.Collector;
    import com.pulumi.sumologic.CollectorArgs;
    import com.pulumi.sumologic.ElbSource;
    import com.pulumi.sumologic.ElbSourceArgs;
    import com.pulumi.sumologic.inputs.ElbSourceAuthenticationArgs;
    import com.pulumi.sumologic.inputs.ElbSourcePathArgs;
    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 collector = new Collector("collector", CollectorArgs.builder()
                .name("my-collector")
                .description("Just testing this")
                .build());
    
            var elbSource = new ElbSource("elbSource", ElbSourceArgs.builder()
                .name("Amazon EBS")
                .description("My description")
                .category("aws/elb")
                .contentType("AwsElbBucket")
                .scanInterval(300000)
                .paused(false)
                .collectorId(collector.id())
                .authentication(ElbSourceAuthenticationArgs.builder()
                    .type("S3BucketAuthentication")
                    .accessKey("someKey")
                    .secretKey("******")
                    .build())
                .path(ElbSourcePathArgs.builder()
                    .type("S3BucketPathExpression")
                    .bucketName("Bucket1")
                    .pathExpression("*")
                    .build())
                .build());
    
        }
    }
    
    resources:
      elbSource:
        type: sumologic:ElbSource
        name: elb_source
        properties:
          name: Amazon EBS
          description: My description
          category: aws/elb
          contentType: AwsElbBucket
          scanInterval: 300000
          paused: false
          collectorId: ${collector.id}
          authentication:
            type: S3BucketAuthentication
            accessKey: someKey
            secretKey: '******'
          path:
            type: S3BucketPathExpression
            bucketName: Bucket1
            pathExpression: '*'
      collector:
        type: sumologic:Collector
        properties:
          name: my-collector
          description: Just testing this
    

    Create ElbSource Resource

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

    Constructor syntax

    new ElbSource(name: string, args: ElbSourceArgs, opts?: CustomResourceOptions);
    @overload
    def ElbSource(resource_name: str,
                  args: ElbSourceArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElbSource(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  content_type: Optional[str] = None,
                  path: Optional[ElbSourcePathArgs] = None,
                  authentication: Optional[ElbSourceAuthenticationArgs] = None,
                  collector_id: Optional[int] = None,
                  filters: Optional[Sequence[ElbSourceFilterArgs]] = None,
                  manual_prefix_regexp: Optional[str] = None,
                  cutoff_timestamp: Optional[int] = None,
                  default_date_formats: Optional[Sequence[ElbSourceDefaultDateFormatArgs]] = None,
                  description: Optional[str] = None,
                  fields: Optional[Mapping[str, str]] = None,
                  category: Optional[str] = None,
                  force_timezone: Optional[bool] = None,
                  host_name: Optional[str] = None,
                  cutoff_relative_time: 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 NewElbSource(ctx *Context, name string, args ElbSourceArgs, opts ...ResourceOption) (*ElbSource, error)
    public ElbSource(string name, ElbSourceArgs args, CustomResourceOptions? opts = null)
    public ElbSource(String name, ElbSourceArgs args)
    public ElbSource(String name, ElbSourceArgs args, CustomResourceOptions options)
    
    type: sumologic:ElbSource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ElbSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ElbSourceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ElbSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElbSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElbSourceArgs
    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 elbSourceResource = new SumoLogic.ElbSource("elbSourceResource", new()
    {
        ContentType = "string",
        Path = new SumoLogic.Inputs.ElbSourcePathArgs
        {
            Type = "string",
            LimitToServices = new[]
            {
                "string",
            },
            CustomServices = new[]
            {
                new SumoLogic.Inputs.ElbSourcePathCustomServiceArgs
                {
                    Prefixes = new[]
                    {
                        "string",
                    },
                    ServiceName = "string",
                },
            },
            EventHubName = "string",
            LimitToNamespaces = new[]
            {
                "string",
            },
            LimitToRegions = new[]
            {
                "string",
            },
            BucketName = "string",
            Namespace = "string",
            PathExpression = "string",
            Region = "string",
            SnsTopicOrSubscriptionArns = new[]
            {
                new SumoLogic.Inputs.ElbSourcePathSnsTopicOrSubscriptionArnArgs
                {
                    Arn = "string",
                    IsSuccess = false,
                },
            },
            TagFilters = new[]
            {
                new SumoLogic.Inputs.ElbSourcePathTagFilterArgs
                {
                    Namespace = "string",
                    Tags = new[]
                    {
                        "string",
                    },
                    Type = "string",
                },
            },
            ConsumerGroup = "string",
            UseVersionedApi = false,
        },
        Authentication = new SumoLogic.Inputs.ElbSourceAuthenticationArgs
        {
            Type = "string",
            ProjectId = "string",
            Region = "string",
            ClientEmail = "string",
            ClientId = "string",
            ClientX509CertUrl = "string",
            PrivateKey = "string",
            AuthUri = "string",
            AccessKey = "string",
            PrivateKeyId = "string",
            RoleArn = "string",
            SecretKey = "string",
            SharedAccessPolicyKey = "string",
            SharedAccessPolicyName = "string",
            TokenUri = "string",
            AuthProviderX509CertUrl = "string",
        },
        CollectorId = 0,
        Filters = new[]
        {
            new SumoLogic.Inputs.ElbSourceFilterArgs
            {
                FilterType = "string",
                Name = "string",
                Regexp = "string",
                Mask = "string",
            },
        },
        ManualPrefixRegexp = "string",
        CutoffTimestamp = 0,
        DefaultDateFormats = new[]
        {
            new SumoLogic.Inputs.ElbSourceDefaultDateFormatArgs
            {
                Format = "string",
                Locator = "string",
            },
        },
        Description = "string",
        Fields = 
        {
            { "string", "string" },
        },
        Category = "string",
        ForceTimezone = false,
        HostName = "string",
        CutoffRelativeTime = "string",
        MultilineProcessingEnabled = false,
        Name = "string",
        AutomaticDateParsing = false,
        Paused = false,
        ScanInterval = 0,
        Timezone = "string",
        UseAutolineMatching = false,
    });
    
    example, err := sumologic.NewElbSource(ctx, "elbSourceResource", &sumologic.ElbSourceArgs{
    	ContentType: pulumi.String("string"),
    	Path: &sumologic.ElbSourcePathArgs{
    		Type: pulumi.String("string"),
    		LimitToServices: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		CustomServices: sumologic.ElbSourcePathCustomServiceArray{
    			&sumologic.ElbSourcePathCustomServiceArgs{
    				Prefixes: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				ServiceName: pulumi.String("string"),
    			},
    		},
    		EventHubName: pulumi.String("string"),
    		LimitToNamespaces: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		LimitToRegions: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		BucketName:     pulumi.String("string"),
    		Namespace:      pulumi.String("string"),
    		PathExpression: pulumi.String("string"),
    		Region:         pulumi.String("string"),
    		SnsTopicOrSubscriptionArns: sumologic.ElbSourcePathSnsTopicOrSubscriptionArnArray{
    			&sumologic.ElbSourcePathSnsTopicOrSubscriptionArnArgs{
    				Arn:       pulumi.String("string"),
    				IsSuccess: pulumi.Bool(false),
    			},
    		},
    		TagFilters: sumologic.ElbSourcePathTagFilterArray{
    			&sumologic.ElbSourcePathTagFilterArgs{
    				Namespace: pulumi.String("string"),
    				Tags: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Type: pulumi.String("string"),
    			},
    		},
    		ConsumerGroup:   pulumi.String("string"),
    		UseVersionedApi: pulumi.Bool(false),
    	},
    	Authentication: &sumologic.ElbSourceAuthenticationArgs{
    		Type:                    pulumi.String("string"),
    		ProjectId:               pulumi.String("string"),
    		Region:                  pulumi.String("string"),
    		ClientEmail:             pulumi.String("string"),
    		ClientId:                pulumi.String("string"),
    		ClientX509CertUrl:       pulumi.String("string"),
    		PrivateKey:              pulumi.String("string"),
    		AuthUri:                 pulumi.String("string"),
    		AccessKey:               pulumi.String("string"),
    		PrivateKeyId:            pulumi.String("string"),
    		RoleArn:                 pulumi.String("string"),
    		SecretKey:               pulumi.String("string"),
    		SharedAccessPolicyKey:   pulumi.String("string"),
    		SharedAccessPolicyName:  pulumi.String("string"),
    		TokenUri:                pulumi.String("string"),
    		AuthProviderX509CertUrl: pulumi.String("string"),
    	},
    	CollectorId: pulumi.Int(0),
    	Filters: sumologic.ElbSourceFilterArray{
    		&sumologic.ElbSourceFilterArgs{
    			FilterType: pulumi.String("string"),
    			Name:       pulumi.String("string"),
    			Regexp:     pulumi.String("string"),
    			Mask:       pulumi.String("string"),
    		},
    	},
    	ManualPrefixRegexp: pulumi.String("string"),
    	CutoffTimestamp:    pulumi.Int(0),
    	DefaultDateFormats: sumologic.ElbSourceDefaultDateFormatArray{
    		&sumologic.ElbSourceDefaultDateFormatArgs{
    			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),
    	HostName:                   pulumi.String("string"),
    	CutoffRelativeTime:         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),
    })
    
    var elbSourceResource = new ElbSource("elbSourceResource", ElbSourceArgs.builder()
        .contentType("string")
        .path(ElbSourcePathArgs.builder()
            .type("string")
            .limitToServices("string")
            .customServices(ElbSourcePathCustomServiceArgs.builder()
                .prefixes("string")
                .serviceName("string")
                .build())
            .eventHubName("string")
            .limitToNamespaces("string")
            .limitToRegions("string")
            .bucketName("string")
            .namespace("string")
            .pathExpression("string")
            .region("string")
            .snsTopicOrSubscriptionArns(ElbSourcePathSnsTopicOrSubscriptionArnArgs.builder()
                .arn("string")
                .isSuccess(false)
                .build())
            .tagFilters(ElbSourcePathTagFilterArgs.builder()
                .namespace("string")
                .tags("string")
                .type("string")
                .build())
            .consumerGroup("string")
            .useVersionedApi(false)
            .build())
        .authentication(ElbSourceAuthenticationArgs.builder()
            .type("string")
            .projectId("string")
            .region("string")
            .clientEmail("string")
            .clientId("string")
            .clientX509CertUrl("string")
            .privateKey("string")
            .authUri("string")
            .accessKey("string")
            .privateKeyId("string")
            .roleArn("string")
            .secretKey("string")
            .sharedAccessPolicyKey("string")
            .sharedAccessPolicyName("string")
            .tokenUri("string")
            .authProviderX509CertUrl("string")
            .build())
        .collectorId(0)
        .filters(ElbSourceFilterArgs.builder()
            .filterType("string")
            .name("string")
            .regexp("string")
            .mask("string")
            .build())
        .manualPrefixRegexp("string")
        .cutoffTimestamp(0)
        .defaultDateFormats(ElbSourceDefaultDateFormatArgs.builder()
            .format("string")
            .locator("string")
            .build())
        .description("string")
        .fields(Map.of("string", "string"))
        .category("string")
        .forceTimezone(false)
        .hostName("string")
        .cutoffRelativeTime("string")
        .multilineProcessingEnabled(false)
        .name("string")
        .automaticDateParsing(false)
        .paused(false)
        .scanInterval(0)
        .timezone("string")
        .useAutolineMatching(false)
        .build());
    
    elb_source_resource = sumologic.ElbSource("elbSourceResource",
        content_type="string",
        path=sumologic.ElbSourcePathArgs(
            type="string",
            limit_to_services=["string"],
            custom_services=[sumologic.ElbSourcePathCustomServiceArgs(
                prefixes=["string"],
                service_name="string",
            )],
            event_hub_name="string",
            limit_to_namespaces=["string"],
            limit_to_regions=["string"],
            bucket_name="string",
            namespace="string",
            path_expression="string",
            region="string",
            sns_topic_or_subscription_arns=[sumologic.ElbSourcePathSnsTopicOrSubscriptionArnArgs(
                arn="string",
                is_success=False,
            )],
            tag_filters=[sumologic.ElbSourcePathTagFilterArgs(
                namespace="string",
                tags=["string"],
                type="string",
            )],
            consumer_group="string",
            use_versioned_api=False,
        ),
        authentication=sumologic.ElbSourceAuthenticationArgs(
            type="string",
            project_id="string",
            region="string",
            client_email="string",
            client_id="string",
            client_x509_cert_url="string",
            private_key="string",
            auth_uri="string",
            access_key="string",
            private_key_id="string",
            role_arn="string",
            secret_key="string",
            shared_access_policy_key="string",
            shared_access_policy_name="string",
            token_uri="string",
            auth_provider_x509_cert_url="string",
        ),
        collector_id=0,
        filters=[sumologic.ElbSourceFilterArgs(
            filter_type="string",
            name="string",
            regexp="string",
            mask="string",
        )],
        manual_prefix_regexp="string",
        cutoff_timestamp=0,
        default_date_formats=[sumologic.ElbSourceDefaultDateFormatArgs(
            format="string",
            locator="string",
        )],
        description="string",
        fields={
            "string": "string",
        },
        category="string",
        force_timezone=False,
        host_name="string",
        cutoff_relative_time="string",
        multiline_processing_enabled=False,
        name="string",
        automatic_date_parsing=False,
        paused=False,
        scan_interval=0,
        timezone="string",
        use_autoline_matching=False)
    
    const elbSourceResource = new sumologic.ElbSource("elbSourceResource", {
        contentType: "string",
        path: {
            type: "string",
            limitToServices: ["string"],
            customServices: [{
                prefixes: ["string"],
                serviceName: "string",
            }],
            eventHubName: "string",
            limitToNamespaces: ["string"],
            limitToRegions: ["string"],
            bucketName: "string",
            namespace: "string",
            pathExpression: "string",
            region: "string",
            snsTopicOrSubscriptionArns: [{
                arn: "string",
                isSuccess: false,
            }],
            tagFilters: [{
                namespace: "string",
                tags: ["string"],
                type: "string",
            }],
            consumerGroup: "string",
            useVersionedApi: false,
        },
        authentication: {
            type: "string",
            projectId: "string",
            region: "string",
            clientEmail: "string",
            clientId: "string",
            clientX509CertUrl: "string",
            privateKey: "string",
            authUri: "string",
            accessKey: "string",
            privateKeyId: "string",
            roleArn: "string",
            secretKey: "string",
            sharedAccessPolicyKey: "string",
            sharedAccessPolicyName: "string",
            tokenUri: "string",
            authProviderX509CertUrl: "string",
        },
        collectorId: 0,
        filters: [{
            filterType: "string",
            name: "string",
            regexp: "string",
            mask: "string",
        }],
        manualPrefixRegexp: "string",
        cutoffTimestamp: 0,
        defaultDateFormats: [{
            format: "string",
            locator: "string",
        }],
        description: "string",
        fields: {
            string: "string",
        },
        category: "string",
        forceTimezone: false,
        hostName: "string",
        cutoffRelativeTime: "string",
        multilineProcessingEnabled: false,
        name: "string",
        automaticDateParsing: false,
        paused: false,
        scanInterval: 0,
        timezone: "string",
        useAutolineMatching: false,
    });
    
    type: sumologic:ElbSource
    properties:
        authentication:
            accessKey: string
            authProviderX509CertUrl: string
            authUri: string
            clientEmail: string
            clientId: string
            clientX509CertUrl: string
            privateKey: string
            privateKeyId: string
            projectId: string
            region: string
            roleArn: string
            secretKey: string
            sharedAccessPolicyKey: string
            sharedAccessPolicyName: 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
        hostName: string
        manualPrefixRegexp: string
        multilineProcessingEnabled: false
        name: string
        path:
            bucketName: string
            consumerGroup: string
            customServices:
                - prefixes:
                    - string
                  serviceName: 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
    

    ElbSource Resource Properties

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

    Inputs

    The ElbSource resource accepts the following input properties:

    Authentication Pulumi.SumoLogic.Inputs.ElbSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    Path Pulumi.SumoLogic.Inputs.ElbSourcePath
    The location to scan for new data.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats List<Pulumi.SumoLogic.Inputs.ElbSourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.ElbSourceFilter>
    ForceTimezone bool
    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 ElbSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    Path ElbSourcePathArgs
    The location to scan for new data.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats []ElbSourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []ElbSourceFilterArgs
    ForceTimezone bool
    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 ElbSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    collectorId Integer
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    path ElbSourcePath
    The location to scan for new data.
    automaticDateParsing Boolean
    category String
    cutoffRelativeTime String
    cutoffTimestamp Integer
    defaultDateFormats List<ElbSourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<ElbSourceFilter>
    forceTimezone Boolean
    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 ElbSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    collectorId number
    contentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    path ElbSourcePath
    The location to scan for new data.
    automaticDateParsing boolean
    category string
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats ElbSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters ElbSourceFilter[]
    forceTimezone boolean
    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 ElbSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    collector_id int
    content_type str
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    path ElbSourcePathArgs
    The location to scan for new data.
    automatic_date_parsing bool
    category str
    cutoff_relative_time str
    cutoff_timestamp int
    default_date_formats Sequence[ElbSourceDefaultDateFormatArgs]
    description str
    fields Mapping[str, str]
    filters Sequence[ElbSourceFilterArgs]
    force_timezone bool
    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 Property Map
    Authentication details for connecting to the S3 bucket.
    collectorId Number
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    path Property Map
    The location to scan for new data.
    automaticDateParsing Boolean
    category String
    cutoffRelativeTime String
    cutoffTimestamp Number
    defaultDateFormats List<Property Map>
    description String
    fields Map<String>
    filters List<Property Map>
    forceTimezone Boolean
    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 ElbSource 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 ElbSource Resource

    Get an existing ElbSource 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?: ElbSourceState, opts?: CustomResourceOptions): ElbSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[ElbSourceAuthenticationArgs] = 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[ElbSourceDefaultDateFormatArgs]] = None,
            description: Optional[str] = None,
            fields: Optional[Mapping[str, str]] = None,
            filters: Optional[Sequence[ElbSourceFilterArgs]] = None,
            force_timezone: Optional[bool] = None,
            host_name: Optional[str] = None,
            manual_prefix_regexp: Optional[str] = None,
            multiline_processing_enabled: Optional[bool] = None,
            name: Optional[str] = None,
            path: Optional[ElbSourcePathArgs] = None,
            paused: Optional[bool] = None,
            scan_interval: Optional[int] = None,
            timezone: Optional[str] = None,
            url: Optional[str] = None,
            use_autoline_matching: Optional[bool] = None) -> ElbSource
    func GetElbSource(ctx *Context, name string, id IDInput, state *ElbSourceState, opts ...ResourceOption) (*ElbSource, error)
    public static ElbSource Get(string name, Input<string> id, ElbSourceState? state, CustomResourceOptions? opts = null)
    public static ElbSource get(String name, Output<String> id, ElbSourceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 Pulumi.SumoLogic.Inputs.ElbSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    AutomaticDateParsing bool
    Category string
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats List<Pulumi.SumoLogic.Inputs.ElbSourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.ElbSourceFilter>
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Path Pulumi.SumoLogic.Inputs.ElbSourcePath
    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 ElbSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    AutomaticDateParsing bool
    Category string
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats []ElbSourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []ElbSourceFilterArgs
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Path ElbSourcePathArgs
    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 ElbSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing Boolean
    category String
    collectorId Integer
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoffRelativeTime String
    cutoffTimestamp Integer
    defaultDateFormats List<ElbSourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<ElbSourceFilter>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    path ElbSourcePath
    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 ElbSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing boolean
    category string
    collectorId number
    contentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats ElbSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters ElbSourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    multilineProcessingEnabled boolean
    name string
    path ElbSourcePath
    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 ElbSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    automatic_date_parsing bool
    category str
    collector_id int
    content_type str
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoff_relative_time str
    cutoff_timestamp int
    default_date_formats Sequence[ElbSourceDefaultDateFormatArgs]
    description str
    fields Mapping[str, str]
    filters Sequence[ElbSourceFilterArgs]
    force_timezone bool
    host_name str
    manual_prefix_regexp str
    multiline_processing_enabled bool
    name str
    path ElbSourcePathArgs
    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 Property Map
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing Boolean
    category String
    collectorId Number
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoffRelativeTime String
    cutoffTimestamp Number
    defaultDateFormats List<Property Map>
    description String
    fields Map<String>
    filters List<Property Map>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    path 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

    ElbSourceAuthentication, ElbSourceAuthenticationArgs

    Type 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
    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
    TokenUri string
    Type 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
    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
    TokenUri string
    type 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
    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
    tokenUri String
    type 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
    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
    tokenUri string
    type 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_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
    token_uri str
    type 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
    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
    tokenUri String

    ElbSourceDefaultDateFormat, ElbSourceDefaultDateFormatArgs

    Format string
    Locator string
    Format string
    Locator string
    format String
    locator String
    format string
    locator string
    format String
    locator String

    ElbSourceFilter, ElbSourceFilterArgs

    FilterType string
    Name string
    Regexp string
    Mask string
    FilterType string
    Name string
    Regexp string
    Mask string
    filterType String
    name String
    regexp String
    mask String
    filterType string
    name string
    regexp string
    mask string
    filterType String
    name String
    regexp String
    mask String

    ElbSourcePath, ElbSourcePathArgs

    Type string
    type of polling source. This has to be S3BucketPathExpression for ELB source.
    BucketName string
    The name of the bucket.
    ConsumerGroup string
    CustomServices List<Pulumi.SumoLogic.Inputs.ElbSourcePathCustomService>
    EventHubName string
    LimitToNamespaces List<string>
    LimitToRegions List<string>
    LimitToServices List<string>
    Namespace string
    PathExpression string
    The path to the data.
    Region string
    SnsTopicOrSubscriptionArns List<Pulumi.SumoLogic.Inputs.ElbSourcePathSnsTopicOrSubscriptionArn>
    This is a computed field for SNS topic/subscription ARN.
    TagFilters List<Pulumi.SumoLogic.Inputs.ElbSourcePathTagFilter>
    UseVersionedApi bool
    Type string
    type of polling source. This has to be S3BucketPathExpression for ELB source.
    BucketName string
    The name of the bucket.
    ConsumerGroup string
    CustomServices []ElbSourcePathCustomService
    EventHubName string
    LimitToNamespaces []string
    LimitToRegions []string
    LimitToServices []string
    Namespace string
    PathExpression string
    The path to the data.
    Region string
    SnsTopicOrSubscriptionArns []ElbSourcePathSnsTopicOrSubscriptionArn
    This is a computed field for SNS topic/subscription ARN.
    TagFilters []ElbSourcePathTagFilter
    UseVersionedApi bool
    type String
    type of polling source. This has to be S3BucketPathExpression for ELB source.
    bucketName String
    The name of the bucket.
    consumerGroup String
    customServices List<ElbSourcePathCustomService>
    eventHubName String
    limitToNamespaces List<String>
    limitToRegions List<String>
    limitToServices List<String>
    namespace String
    pathExpression String
    The path to the data.
    region String
    snsTopicOrSubscriptionArns List<ElbSourcePathSnsTopicOrSubscriptionArn>
    This is a computed field for SNS topic/subscription ARN.
    tagFilters List<ElbSourcePathTagFilter>
    useVersionedApi Boolean
    type string
    type of polling source. This has to be S3BucketPathExpression for ELB source.
    bucketName string
    The name of the bucket.
    consumerGroup string
    customServices ElbSourcePathCustomService[]
    eventHubName string
    limitToNamespaces string[]
    limitToRegions string[]
    limitToServices string[]
    namespace string
    pathExpression string
    The path to the data.
    region string
    snsTopicOrSubscriptionArns ElbSourcePathSnsTopicOrSubscriptionArn[]
    This is a computed field for SNS topic/subscription ARN.
    tagFilters ElbSourcePathTagFilter[]
    useVersionedApi boolean
    type str
    type of polling source. This has to be S3BucketPathExpression for ELB source.
    bucket_name str
    The name of the bucket.
    consumer_group str
    custom_services Sequence[ElbSourcePathCustomService]
    event_hub_name str
    limit_to_namespaces Sequence[str]
    limit_to_regions Sequence[str]
    limit_to_services Sequence[str]
    namespace str
    path_expression str
    The path to the data.
    region str
    sns_topic_or_subscription_arns Sequence[ElbSourcePathSnsTopicOrSubscriptionArn]
    This is a computed field for SNS topic/subscription ARN.
    tag_filters Sequence[ElbSourcePathTagFilter]
    use_versioned_api bool
    type String
    type of polling source. This has to be S3BucketPathExpression for ELB source.
    bucketName String
    The name of the bucket.
    consumerGroup String
    customServices List<Property Map>
    eventHubName String
    limitToNamespaces List<String>
    limitToRegions List<String>
    limitToServices List<String>
    namespace String
    pathExpression String
    The path to the data.
    region String
    snsTopicOrSubscriptionArns List<Property Map>
    This is a computed field for SNS topic/subscription ARN.
    tagFilters List<Property Map>
    useVersionedApi Boolean

    ElbSourcePathCustomService, ElbSourcePathCustomServiceArgs

    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

    ElbSourcePathSnsTopicOrSubscriptionArn, ElbSourcePathSnsTopicOrSubscriptionArnArgs

    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

    ElbSourcePathTagFilter, ElbSourcePathTagFilterArgs

    Namespace string
    Tags List<string>
    Type string
    Namespace string
    Tags []string
    Type string
    namespace String
    tags List<String>
    type String
    namespace string
    tags string[]
    type string
    namespace str
    tags Sequence[str]
    type str
    namespace String
    tags List<String>
    type String

    Import

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

    hcl

    $ pulumi import sumologic:index/elbSource:ElbSource test 123/456
    

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

    hcl

    $ pulumi import sumologic:index/elbSource:ElbSource test my-test-collector/my-test-source
    

    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.
    sumologic logo
    Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi