1. Packages
  2. Sumo Logic
  3. API Docs
  4. CloudfrontSource
Sumo Logic v0.20.2 published on Friday, Feb 2, 2024 by Pulumi

sumologic.CloudfrontSource

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.20.2 published on Friday, Feb 2, 2024 by Pulumi

    Provides a Sumologic CloudFront source.

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

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SumoLogic = Pulumi.SumoLogic;
    
    return await Deployment.RunAsync(() => 
    {
        var collector = new SumoLogic.Collector("collector", new()
        {
            Description = "Just testing this",
        });
    
        var cloudfrontSource = new SumoLogic.CloudfrontSource("cloudfrontSource", new()
        {
            Authentication = new SumoLogic.Inputs.CloudfrontSourceAuthenticationArgs
            {
                AccessKey = "someKey",
                SecretKey = "******",
                Type = "S3BucketAuthentication",
            },
            Category = "aws/cloudfront",
            CollectorId = collector.Id,
            ContentType = "AwsCloudFrontBucket",
            Description = "My description",
            Path = new SumoLogic.Inputs.CloudfrontSourcePathArgs
            {
                BucketName = "Bucket1",
                PathExpression = "*",
                Type = "S3BucketPathExpression",
            },
            Paused = false,
            ScanInterval = 300000,
        });
    
    });
    
    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{
    			Description: pulumi.String("Just testing this"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sumologic.NewCloudfrontSource(ctx, "cloudfrontSource", &sumologic.CloudfrontSourceArgs{
    			Authentication: &sumologic.CloudfrontSourceAuthenticationArgs{
    				AccessKey: pulumi.String("someKey"),
    				SecretKey: pulumi.String("******"),
    				Type:      pulumi.String("S3BucketAuthentication"),
    			},
    			Category:    pulumi.String("aws/cloudfront"),
    			CollectorId: collector.ID(),
    			ContentType: pulumi.String("AwsCloudFrontBucket"),
    			Description: pulumi.String("My description"),
    			Path: &sumologic.CloudfrontSourcePathArgs{
    				BucketName:     pulumi.String("Bucket1"),
    				PathExpression: pulumi.String("*"),
    				Type:           pulumi.String("S3BucketPathExpression"),
    			},
    			Paused:       pulumi.Bool(false),
    			ScanInterval: pulumi.Int(300000),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.CloudfrontSource;
    import com.pulumi.sumologic.CloudfrontSourceArgs;
    import com.pulumi.sumologic.inputs.CloudfrontSourceAuthenticationArgs;
    import com.pulumi.sumologic.inputs.CloudfrontSourcePathArgs;
    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()        
                .description("Just testing this")
                .build());
    
            var cloudfrontSource = new CloudfrontSource("cloudfrontSource", CloudfrontSourceArgs.builder()        
                .authentication(CloudfrontSourceAuthenticationArgs.builder()
                    .accessKey("someKey")
                    .secretKey("******")
                    .type("S3BucketAuthentication")
                    .build())
                .category("aws/cloudfront")
                .collectorId(collector.id())
                .contentType("AwsCloudFrontBucket")
                .description("My description")
                .path(CloudfrontSourcePathArgs.builder()
                    .bucketName("Bucket1")
                    .pathExpression("*")
                    .type("S3BucketPathExpression")
                    .build())
                .paused(false)
                .scanInterval(300000)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    collector = sumologic.Collector("collector", description="Just testing this")
    cloudfront_source = sumologic.CloudfrontSource("cloudfrontSource",
        authentication=sumologic.CloudfrontSourceAuthenticationArgs(
            access_key="someKey",
            secret_key="******",
            type="S3BucketAuthentication",
        ),
        category="aws/cloudfront",
        collector_id=collector.id,
        content_type="AwsCloudFrontBucket",
        description="My description",
        path=sumologic.CloudfrontSourcePathArgs(
            bucket_name="Bucket1",
            path_expression="*",
            type="S3BucketPathExpression",
        ),
        paused=False,
        scan_interval=300000)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const collector = new sumologic.Collector("collector", {description: "Just testing this"});
    const cloudfrontSource = new sumologic.CloudfrontSource("cloudfrontSource", {
        authentication: {
            accessKey: "someKey",
            secretKey: "******",
            type: "S3BucketAuthentication",
        },
        category: "aws/cloudfront",
        collectorId: collector.id,
        contentType: "AwsCloudFrontBucket",
        description: "My description",
        path: {
            bucketName: "Bucket1",
            pathExpression: "*",
            type: "S3BucketPathExpression",
        },
        paused: false,
        scanInterval: 300000,
    });
    
    resources:
      cloudfrontSource:
        type: sumologic:CloudfrontSource
        properties:
          authentication:
            accessKey: someKey
            secretKey: '******'
            type: S3BucketAuthentication
          category: aws/cloudfront
          collectorId: ${collector.id}
          contentType: AwsCloudFrontBucket
          description: My description
          path:
            bucketName: Bucket1
            pathExpression: '*'
            type: S3BucketPathExpression
          paused: false
          scanInterval: 300000
      collector:
        type: sumologic:Collector
        properties:
          description: Just testing this
    

    Create CloudfrontSource Resource

    new CloudfrontSource(name: string, args: CloudfrontSourceArgs, opts?: CustomResourceOptions);
    @overload
    def CloudfrontSource(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         authentication: Optional[CloudfrontSourceAuthenticationArgs] = 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[CloudfrontSourceDefaultDateFormatArgs]] = None,
                         description: Optional[str] = None,
                         fields: Optional[Mapping[str, str]] = None,
                         filters: Optional[Sequence[CloudfrontSourceFilterArgs]] = 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[CloudfrontSourcePathArgs] = None,
                         paused: Optional[bool] = None,
                         scan_interval: Optional[int] = None,
                         timezone: Optional[str] = None,
                         use_autoline_matching: Optional[bool] = None)
    @overload
    def CloudfrontSource(resource_name: str,
                         args: CloudfrontSourceArgs,
                         opts: Optional[ResourceOptions] = None)
    func NewCloudfrontSource(ctx *Context, name string, args CloudfrontSourceArgs, opts ...ResourceOption) (*CloudfrontSource, error)
    public CloudfrontSource(string name, CloudfrontSourceArgs args, CustomResourceOptions? opts = null)
    public CloudfrontSource(String name, CloudfrontSourceArgs args)
    public CloudfrontSource(String name, CloudfrontSourceArgs args, CustomResourceOptions options)
    
    type: sumologic:CloudfrontSource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args CloudfrontSourceArgs
    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 CloudfrontSourceArgs
    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 CloudfrontSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudfrontSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudfrontSourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Authentication Pulumi.SumoLogic.Inputs.CloudfrontSourceAuthentication
    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.CloudfrontSourcePath
    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.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats List<Pulumi.SumoLogic.Inputs.CloudfrontSourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.CloudfrontSourceFilter>
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Timezone string
    UseAutolineMatching bool
    Authentication CloudfrontSourceAuthenticationArgs
    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 CloudfrontSourcePathArgs
    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.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats []CloudfrontSourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []CloudfrontSourceFilterArgs
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Timezone string
    UseAutolineMatching bool
    authentication CloudfrontSourceAuthentication
    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 CloudfrontSourcePath
    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.
    automaticDateParsing Boolean
    category String
    cutoffRelativeTime String
    cutoffTimestamp Integer
    defaultDateFormats List<CloudfrontSourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<CloudfrontSourceFilter>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    timezone String
    useAutolineMatching Boolean
    authentication CloudfrontSourceAuthentication
    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 CloudfrontSourcePath
    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.
    automaticDateParsing boolean
    category string
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats CloudfrontSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters CloudfrontSourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    multilineProcessingEnabled boolean
    name string
    timezone string
    useAutolineMatching boolean
    authentication CloudfrontSourceAuthenticationArgs
    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 CloudfrontSourcePathArgs
    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.
    automatic_date_parsing bool
    category str
    cutoff_relative_time str
    cutoff_timestamp int
    default_date_formats Sequence[CloudfrontSourceDefaultDateFormatArgs]
    description str
    fields Mapping[str, str]
    filters Sequence[CloudfrontSourceFilterArgs]
    force_timezone bool
    host_name str
    manual_prefix_regexp str
    multiline_processing_enabled bool
    name str
    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.
    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.
    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
    timezone String
    useAutolineMatching Boolean

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudfrontSource 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 CloudfrontSource Resource

    Get an existing CloudfrontSource 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?: CloudfrontSourceState, opts?: CustomResourceOptions): CloudfrontSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[CloudfrontSourceAuthenticationArgs] = 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[CloudfrontSourceDefaultDateFormatArgs]] = None,
            description: Optional[str] = None,
            fields: Optional[Mapping[str, str]] = None,
            filters: Optional[Sequence[CloudfrontSourceFilterArgs]] = 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[CloudfrontSourcePathArgs] = None,
            paused: Optional[bool] = None,
            scan_interval: Optional[int] = None,
            timezone: Optional[str] = None,
            url: Optional[str] = None,
            use_autoline_matching: Optional[bool] = None) -> CloudfrontSource
    func GetCloudfrontSource(ctx *Context, name string, id IDInput, state *CloudfrontSourceState, opts ...ResourceOption) (*CloudfrontSource, error)
    public static CloudfrontSource Get(string name, Input<string> id, CloudfrontSourceState? state, CustomResourceOptions? opts = null)
    public static CloudfrontSource get(String name, Output<String> id, CloudfrontSourceState 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.CloudfrontSourceAuthentication
    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.CloudfrontSourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.CloudfrontSourceFilter>
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Path Pulumi.SumoLogic.Inputs.CloudfrontSourcePath
    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 CloudfrontSourceAuthenticationArgs
    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 []CloudfrontSourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []CloudfrontSourceFilterArgs
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Path CloudfrontSourcePathArgs
    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 CloudfrontSourceAuthentication
    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<CloudfrontSourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<CloudfrontSourceFilter>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    path CloudfrontSourcePath
    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 CloudfrontSourceAuthentication
    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 CloudfrontSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters CloudfrontSourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    multilineProcessingEnabled boolean
    name string
    path CloudfrontSourcePath
    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 CloudfrontSourceAuthenticationArgs
    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[CloudfrontSourceDefaultDateFormatArgs]
    description str
    fields Mapping[str, str]
    filters Sequence[CloudfrontSourceFilterArgs]
    force_timezone bool
    host_name str
    manual_prefix_regexp str
    multiline_processing_enabled bool
    name str
    path CloudfrontSourcePathArgs
    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

    CloudfrontSourceAuthentication, CloudfrontSourceAuthenticationArgs

    Type string
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    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
    TokenUri string
    Type string
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    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
    TokenUri string
    type String
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    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
    tokenUri String
    type string
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    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
    tokenUri string
    type str
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    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
    token_uri str
    type String
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    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
    tokenUri String

    CloudfrontSourceDefaultDateFormat, CloudfrontSourceDefaultDateFormatArgs

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

    CloudfrontSourceFilter, CloudfrontSourceFilterArgs

    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

    CloudfrontSourcePath, CloudfrontSourcePathArgs

    Type string
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    BucketName string
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    CustomServices List<Pulumi.SumoLogic.Inputs.CloudfrontSourcePathCustomService>
    LimitToNamespaces List<string>
    LimitToRegions List<string>
    LimitToServices List<string>
    PathExpression string
    The path to the data. This is needed if using type S3BucketPathExpression.
    SnsTopicOrSubscriptionArns List<Pulumi.SumoLogic.Inputs.CloudfrontSourcePathSnsTopicOrSubscriptionArn>
    This is a computed field for SNS topic/subscription ARN.
    TagFilters List<Pulumi.SumoLogic.Inputs.CloudfrontSourcePathTagFilter>
    UseVersionedApi bool
    Type string
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    BucketName string
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    CustomServices []CloudfrontSourcePathCustomService
    LimitToNamespaces []string
    LimitToRegions []string
    LimitToServices []string
    PathExpression string
    The path to the data. This is needed if using type S3BucketPathExpression.
    SnsTopicOrSubscriptionArns []CloudfrontSourcePathSnsTopicOrSubscriptionArn
    This is a computed field for SNS topic/subscription ARN.
    TagFilters []CloudfrontSourcePathTagFilter
    UseVersionedApi bool
    type String
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    bucketName String
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    customServices List<CloudfrontSourcePathCustomService>
    limitToNamespaces List<String>
    limitToRegions List<String>
    limitToServices List<String>
    pathExpression String
    The path to the data. This is needed if using type S3BucketPathExpression.
    snsTopicOrSubscriptionArns List<CloudfrontSourcePathSnsTopicOrSubscriptionArn>
    This is a computed field for SNS topic/subscription ARN.
    tagFilters List<CloudfrontSourcePathTagFilter>
    useVersionedApi Boolean
    type string
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    bucketName string
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    customServices CloudfrontSourcePathCustomService[]
    limitToNamespaces string[]
    limitToRegions string[]
    limitToServices string[]
    pathExpression string
    The path to the data. This is needed if using type S3BucketPathExpression.
    snsTopicOrSubscriptionArns CloudfrontSourcePathSnsTopicOrSubscriptionArn[]
    This is a computed field for SNS topic/subscription ARN.
    tagFilters CloudfrontSourcePathTagFilter[]
    useVersionedApi boolean
    type str
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    bucket_name str
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    custom_services Sequence[CloudfrontSourcePathCustomService]
    limit_to_namespaces Sequence[str]
    limit_to_regions Sequence[str]
    limit_to_services Sequence[str]
    path_expression str
    The path to the data. This is needed if using type S3BucketPathExpression.
    sns_topic_or_subscription_arns Sequence[CloudfrontSourcePathSnsTopicOrSubscriptionArn]
    This is a computed field for SNS topic/subscription ARN.
    tag_filters Sequence[CloudfrontSourcePathTagFilter]
    use_versioned_api bool
    type String
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    bucketName String
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    customServices List<Property Map>
    limitToNamespaces List<String>
    limitToRegions List<String>
    limitToServices List<String>
    pathExpression String
    The path to the data. This is needed if using type S3BucketPathExpression.
    snsTopicOrSubscriptionArns List<Property Map>
    This is a computed field for SNS topic/subscription ARN.
    tagFilters List<Property Map>
    useVersionedApi Boolean

    CloudfrontSourcePathCustomService, CloudfrontSourcePathCustomServiceArgs

    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

    CloudfrontSourcePathSnsTopicOrSubscriptionArn, CloudfrontSourcePathSnsTopicOrSubscriptionArnArgs

    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

    CloudfrontSourcePathTagFilter, CloudfrontSourcePathTagFilterArgs

    Namespace string
    Tags List<string>
    Type string
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    Namespace string
    Tags []string
    Type string
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    namespace String
    tags List<String>
    type String
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    namespace string
    tags string[]
    type string
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    namespace str
    tags Sequence[str]
    type str
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.
    namespace String
    tags List<String>
    type String
    type of polling source. This has to be S3BucketPathExpression for CloudFront source.

    Import

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

     $ pulumi import sumologic:index/cloudfrontSource:CloudfrontSource test 123/456
    

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

     $ pulumi import sumologic:index/cloudfrontSource:CloudfrontSource test my-test-collector/my-test-source
    

    [1]https://help.sumologic.com/Send_Data/Sources/03Use_JSON_to_Configure_Sources/JSON_Parameters_for_Hosted_Sources [2]https://help.sumologic.com/03Send-Data/Sources/02Sources-for-Hosted-Collectors/Amazon-Web-Services/Amazon-CloudFront-Source

    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.20.2 published on Friday, Feb 2, 2024 by Pulumi