sumologic.S3Source
Provides a [Sumologic AWS S3 Source][2].
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 Pulumi;
using SumoLogic = Pulumi.SumoLogic;
return await Deployment.RunAsync(() =>
{
var collector = new SumoLogic.Collector("collector", new()
{
Description = "Just testing this",
});
var s3Source = new SumoLogic.S3Source("s3Source", new()
{
Authentication = new SumoLogic.Inputs.S3SourceAuthenticationArgs
{
AccessKey = "someKey",
SecretKey = "******",
Type = "S3BucketAuthentication",
},
Category = "aws/s3",
CollectorId = collector.Id,
ContentType = "AwsS3Bucket",
Description = "My description",
Path = new SumoLogic.Inputs.S3SourcePathArgs
{
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.NewS3Source(ctx, "s3Source", &sumologic.S3SourceArgs{
Authentication: &sumologic.S3SourceAuthenticationArgs{
AccessKey: pulumi.String("someKey"),
SecretKey: pulumi.String("******"),
Type: pulumi.String("S3BucketAuthentication"),
},
Category: pulumi.String("aws/s3"),
CollectorId: collector.ID(),
ContentType: pulumi.String("AwsS3Bucket"),
Description: pulumi.String("My description"),
Path: &sumologic.S3SourcePathArgs{
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.S3Source;
import com.pulumi.sumologic.S3SourceArgs;
import com.pulumi.sumologic.inputs.S3SourceAuthenticationArgs;
import com.pulumi.sumologic.inputs.S3SourcePathArgs;
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 s3Source = new S3Source("s3Source", S3SourceArgs.builder()
.authentication(S3SourceAuthenticationArgs.builder()
.accessKey("someKey")
.secretKey("******")
.type("S3BucketAuthentication")
.build())
.category("aws/s3")
.collectorId(collector.id())
.contentType("AwsS3Bucket")
.description("My description")
.path(S3SourcePathArgs.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")
s3_source = sumologic.S3Source("s3Source",
authentication=sumologic.S3SourceAuthenticationArgs(
access_key="someKey",
secret_key="******",
type="S3BucketAuthentication",
),
category="aws/s3",
collector_id=collector.id,
content_type="AwsS3Bucket",
description="My description",
path=sumologic.S3SourcePathArgs(
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 s3Source = new sumologic.S3Source("s3Source", {
authentication: {
accessKey: "someKey",
secretKey: "******",
type: "S3BucketAuthentication",
},
category: "aws/s3",
collectorId: collector.id,
contentType: "AwsS3Bucket",
description: "My description",
path: {
bucketName: "Bucket1",
pathExpression: "*",
type: "S3BucketPathExpression",
},
paused: false,
scanInterval: 300000,
});
resources:
s3Source:
type: sumologic:S3Source
properties:
authentication:
accessKey: someKey
secretKey: '******'
type: S3BucketAuthentication
category: aws/s3
collectorId: ${collector.id}
contentType: AwsS3Bucket
description: My description
path:
bucketName: Bucket1
pathExpression: '*'
type: S3BucketPathExpression
paused: false
scanInterval: 300000
collector:
type: sumologic:Collector
properties:
description: Just testing this
Create S3Source Resource
new S3Source(name: string, args: S3SourceArgs, opts?: CustomResourceOptions);
@overload
def S3Source(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[S3SourceAuthenticationArgs] = 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[S3SourceDefaultDateFormatArgs]] = None,
description: Optional[str] = None,
fields: Optional[Mapping[str, str]] = None,
filters: Optional[Sequence[S3SourceFilterArgs]] = 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[S3SourcePathArgs] = None,
paused: Optional[bool] = None,
scan_interval: Optional[int] = None,
timezone: Optional[str] = None,
use_autoline_matching: Optional[bool] = None)
@overload
def S3Source(resource_name: str,
args: S3SourceArgs,
opts: Optional[ResourceOptions] = None)
func NewS3Source(ctx *Context, name string, args S3SourceArgs, opts ...ResourceOption) (*S3Source, error)
public S3Source(string name, S3SourceArgs args, CustomResourceOptions? opts = null)
public S3Source(String name, S3SourceArgs args)
public S3Source(String name, S3SourceArgs args, CustomResourceOptions options)
type: sumologic:S3Source
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args S3SourceArgs
- 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 S3SourceArgs
- 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 S3SourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args S3SourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args S3SourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
S3Source 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 S3Source resource accepts the following input properties:
- Authentication
Pulumi.
Sumo Logic. Inputs. S3Source Authentication Args Authentication details for connecting to the S3 bucket.
- Collector
Id int - Content
Type string The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Path
Pulumi.
Sumo Logic. Inputs. S3Source Path Args 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 boolParsing - Category string
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date List<Pulumi.Formats Sumo Logic. Inputs. S3Source Default Date Format Args> - Description string
- Fields Dictionary<string, string>
- Filters
List<Pulumi.
Sumo Logic. Inputs. S3Source Filter Args> - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Timezone string
- Use
Autoline boolMatching
- Authentication
S3Source
Authentication Args Authentication details for connecting to the S3 bucket.
- Collector
Id int - Content
Type string The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Path
S3Source
Path Args 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 boolParsing - Category string
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date []S3SourceFormats Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]S3Source
Filter Args - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Timezone string
- Use
Autoline boolMatching
- authentication
S3Source
Authentication Args Authentication details for connecting to the S3 bucket.
- collector
Id Integer - content
Type String The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- path
S3Source
Path Args The location to scan for new data.
- paused Boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval Integer Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
- automatic
Date BooleanParsing - category String
- cutoff
Relative StringTime - cutoff
Timestamp Integer - default
Date List<S3SourceFormats Default Date Format Args> - description String
- fields Map<String,String>
- filters
List<S3Source
Filter Args> - force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- timezone String
- use
Autoline BooleanMatching
- authentication
S3Source
Authentication Args Authentication details for connecting to the S3 bucket.
- collector
Id number - content
Type string The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- path
S3Source
Path Args The location to scan for new data.
- paused boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval number Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
- automatic
Date booleanParsing - category string
- cutoff
Relative stringTime - cutoff
Timestamp number - default
Date S3SourceFormats Default Date Format Args[] - description string
- fields {[key: string]: string}
- filters
S3Source
Filter Args[] - force
Timezone boolean - host
Name string - manual
Prefix stringRegexp - multiline
Processing booleanEnabled - name string
- timezone string
- use
Autoline booleanMatching
- authentication
S3Source
Authentication Args 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
S3Source
Path Args 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_ boolparsing - category str
- cutoff_
relative_ strtime - cutoff_
timestamp int - default_
date_ Sequence[S3Sourceformats Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[S3Source
Filter Args] - force_
timezone bool - host_
name str - manual_
prefix_ strregexp - multiline_
processing_ boolenabled - name str
- timezone str
- use_
autoline_ boolmatching
- authentication Property Map
Authentication details for connecting to the S3 bucket.
- collector
Id Number - content
Type 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.
- scan
Interval Number Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
- automatic
Date BooleanParsing - category String
- cutoff
Relative StringTime - cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- timezone String
- use
Autoline BooleanMatching
Outputs
All input properties are implicitly available as output properties. Additionally, the S3Source 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 S3Source Resource
Get an existing S3Source 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?: S3SourceState, opts?: CustomResourceOptions): S3Source
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[S3SourceAuthenticationArgs] = 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[S3SourceDefaultDateFormatArgs]] = None,
description: Optional[str] = None,
fields: Optional[Mapping[str, str]] = None,
filters: Optional[Sequence[S3SourceFilterArgs]] = 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[S3SourcePathArgs] = None,
paused: Optional[bool] = None,
scan_interval: Optional[int] = None,
timezone: Optional[str] = None,
url: Optional[str] = None,
use_autoline_matching: Optional[bool] = None) -> S3Source
func GetS3Source(ctx *Context, name string, id IDInput, state *S3SourceState, opts ...ResourceOption) (*S3Source, error)
public static S3Source Get(string name, Input<string> id, S3SourceState? state, CustomResourceOptions? opts = null)
public static S3Source get(String name, Output<String> id, S3SourceState 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.
- Authentication
Pulumi.
Sumo Logic. Inputs. S3Source Authentication Args Authentication details for connecting to the S3 bucket.
- Automatic
Date boolParsing - Category string
- Collector
Id int - Content
Type string The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date List<Pulumi.Formats Sumo Logic. Inputs. S3Source Default Date Format Args> - Description string
- Fields Dictionary<string, string>
- Filters
List<Pulumi.
Sumo Logic. Inputs. S3Source Filter Args> - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Pulumi.
Sumo Logic. Inputs. S3Source Path Args 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 string
- Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
- Use
Autoline boolMatching
- Authentication
S3Source
Authentication Args Authentication details for connecting to the S3 bucket.
- Automatic
Date boolParsing - Category string
- Collector
Id int - Content
Type string The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date []S3SourceFormats Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]S3Source
Filter Args - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
S3Source
Path Args 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 string
- Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
- Use
Autoline boolMatching
- authentication
S3Source
Authentication Args Authentication details for connecting to the S3 bucket.
- automatic
Date BooleanParsing - category String
- collector
Id Integer - content
Type String The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- cutoff
Relative StringTime - cutoff
Timestamp Integer - default
Date List<S3SourceFormats Default Date Format Args> - description String
- fields Map<String,String>
- filters
List<S3Source
Filter Args> - force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path
S3Source
Path Args The location to scan for new data.
- paused Boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval 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.
- use
Autoline BooleanMatching
- authentication
S3Source
Authentication Args Authentication details for connecting to the S3 bucket.
- automatic
Date booleanParsing - category string
- collector
Id number - content
Type string The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- cutoff
Relative stringTime - cutoff
Timestamp number - default
Date S3SourceFormats Default Date Format Args[] - description string
- fields {[key: string]: string}
- filters
S3Source
Filter Args[] - force
Timezone boolean - host
Name string - manual
Prefix stringRegexp - multiline
Processing booleanEnabled - name string
- path
S3Source
Path Args The location to scan for new data.
- paused boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval 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.
- use
Autoline booleanMatching
- authentication
S3Source
Authentication Args Authentication details for connecting to the S3 bucket.
- automatic_
date_ boolparsing - 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_ strtime - cutoff_
timestamp int - default_
date_ Sequence[S3Sourceformats Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[S3Source
Filter Args] - force_
timezone bool - host_
name str - manual_
prefix_ strregexp - multiline_
processing_ boolenabled - name str
- path
S3Source
Path Args 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_ boolmatching
- authentication Property Map
Authentication details for connecting to the S3 bucket.
- automatic
Date BooleanParsing - category String
- collector
Id Number - content
Type String The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- cutoff
Relative StringTime - cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - 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.
- scan
Interval 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.
- use
Autoline BooleanMatching
Supporting Types
S3SourceAuthentication
- Type string
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- Access
Key string Your AWS access key if using type
S3BucketAuthentication
.- Auth
Provider stringX509Cert Url - Auth
Uri string - Client
Email string - Client
Id string - Client
X509Cert stringUrl - Private
Key string - Private
Key stringId - Project
Id string - Region string
Your AWS Bucket region.
- Role
Arn string Your AWS role ARN if using type
AWSRoleBasedAuthentication
. This is not supported for AWS China regions.- Secret
Key string Your AWS secret key if using type
S3BucketAuthentication
.- Token
Uri string
- Type string
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- Access
Key string Your AWS access key if using type
S3BucketAuthentication
.- Auth
Provider stringX509Cert Url - Auth
Uri string - Client
Email string - Client
Id string - Client
X509Cert stringUrl - Private
Key string - Private
Key stringId - Project
Id string - Region string
Your AWS Bucket region.
- Role
Arn string Your AWS role ARN if using type
AWSRoleBasedAuthentication
. This is not supported for AWS China regions.- Secret
Key string Your AWS secret key if using type
S3BucketAuthentication
.- Token
Uri string
- type String
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- access
Key String Your AWS access key if using type
S3BucketAuthentication
.- auth
Provider StringX509Cert Url - auth
Uri String - client
Email String - client
Id String - client
X509Cert StringUrl - private
Key String - private
Key StringId - project
Id String - region String
Your AWS Bucket region.
- role
Arn String Your AWS role ARN if using type
AWSRoleBasedAuthentication
. This is not supported for AWS China regions.- secret
Key String Your AWS secret key if using type
S3BucketAuthentication
.- token
Uri String
- type string
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- access
Key string Your AWS access key if using type
S3BucketAuthentication
.- auth
Provider stringX509Cert Url - auth
Uri string - client
Email string - client
Id string - client
X509Cert stringUrl - private
Key string - private
Key stringId - project
Id string - region string
Your AWS Bucket region.
- role
Arn string Your AWS role ARN if using type
AWSRoleBasedAuthentication
. This is not supported for AWS China regions.- secret
Key string Your AWS secret key if using type
S3BucketAuthentication
.- token
Uri string
- type str
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- access_
key str Your AWS access key if using type
S3BucketAuthentication
.- auth_
provider_ strx509_ cert_ url - auth_
uri str - client_
email str - client_
id str - client_
x509_ strcert_ url - private_
key str - private_
key_ strid - 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
forS3 source
.- access
Key String Your AWS access key if using type
S3BucketAuthentication
.- auth
Provider StringX509Cert Url - auth
Uri String - client
Email String - client
Id String - client
X509Cert StringUrl - private
Key String - private
Key StringId - project
Id String - region String
Your AWS Bucket region.
- role
Arn String Your AWS role ARN if using type
AWSRoleBasedAuthentication
. This is not supported for AWS China regions.- secret
Key String Your AWS secret key if using type
S3BucketAuthentication
.- token
Uri String
S3SourceDefaultDateFormat
S3SourceFilter
- Filter
Type string - Name string
- Regexp string
- Mask string
- Filter
Type string - Name string
- Regexp string
- Mask string
- filter
Type String - name String
- regexp String
- mask String
- filter
Type string - name string
- regexp string
- mask string
- filter_
type str - name str
- regexp str
- mask str
- filter
Type String - name String
- regexp String
- mask String
S3SourcePath
- Type string
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- Bucket
Name string The name of the bucket.
- Custom
Services List<Pulumi.Sumo Logic. Inputs. S3Source Path Custom Service> - Limit
To List<string>Namespaces - Limit
To List<string>Regions - Limit
To List<string>Services - Path
Expression string The path to the data.
- Sns
Topic List<Pulumi.Or Subscription Arns Sumo Logic. Inputs. S3Source Path Sns Topic Or Subscription Arn> This is a computed field for SNS topic/subscription ARN.
- Tag
Filters List<Pulumi.Sumo Logic. Inputs. S3Source Path Tag Filter> - Use
Versioned boolApi Whether to Use AWS versioned APIs. Default is set to
true
. If you're collecting from a Cisco Umbrella bucket this must be set tofalse
.
- Type string
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- Bucket
Name string The name of the bucket.
- Custom
Services []S3SourcePath Custom Service - Limit
To []stringNamespaces - Limit
To []stringRegions - Limit
To []stringServices - Path
Expression string The path to the data.
- Sns
Topic []S3SourceOr Subscription Arns Path Sns Topic Or Subscription Arn This is a computed field for SNS topic/subscription ARN.
- Tag
Filters []S3SourcePath Tag Filter - Use
Versioned boolApi Whether to Use AWS versioned APIs. Default is set to
true
. If you're collecting from a Cisco Umbrella bucket this must be set tofalse
.
- type String
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- bucket
Name String The name of the bucket.
- custom
Services List<S3SourcePath Custom Service> - limit
To List<String>Namespaces - limit
To List<String>Regions - limit
To List<String>Services - path
Expression String The path to the data.
- sns
Topic List<S3SourceOr Subscription Arns Path Sns Topic Or Subscription Arn> This is a computed field for SNS topic/subscription ARN.
- tag
Filters List<S3SourcePath Tag Filter> - use
Versioned BooleanApi Whether to Use AWS versioned APIs. Default is set to
true
. If you're collecting from a Cisco Umbrella bucket this must be set tofalse
.
- type string
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- bucket
Name string The name of the bucket.
- custom
Services S3SourcePath Custom Service[] - limit
To string[]Namespaces - limit
To string[]Regions - limit
To string[]Services - path
Expression string The path to the data.
- sns
Topic S3SourceOr Subscription Arns Path Sns Topic Or Subscription Arn[] This is a computed field for SNS topic/subscription ARN.
- tag
Filters S3SourcePath Tag Filter[] - use
Versioned booleanApi Whether to Use AWS versioned APIs. Default is set to
true
. If you're collecting from a Cisco Umbrella bucket this must be set tofalse
.
- type str
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- bucket_
name str The name of the bucket.
- custom_
services Sequence[S3SourcePath Custom Service] - limit_
to_ Sequence[str]namespaces - limit_
to_ Sequence[str]regions - limit_
to_ Sequence[str]services - path_
expression str The path to the data.
- sns_
topic_ Sequence[S3Sourceor_ subscription_ arns Path Sns Topic Or Subscription Arn] This is a computed field for SNS topic/subscription ARN.
- tag_
filters Sequence[S3SourcePath Tag Filter] - use_
versioned_ boolapi Whether to Use AWS versioned APIs. Default is set to
true
. If you're collecting from a Cisco Umbrella bucket this must be set tofalse
.
- type String
type of polling source. This has to be
S3BucketPathExpression
forS3 source
.- bucket
Name String The name of the bucket.
- custom
Services List<Property Map> - limit
To List<String>Namespaces - limit
To List<String>Regions - limit
To List<String>Services - path
Expression String The path to the data.
- sns
Topic List<Property Map>Or Subscription Arns This is a computed field for SNS topic/subscription ARN.
- tag
Filters List<Property Map> - use
Versioned BooleanApi Whether to Use AWS versioned APIs. Default is set to
true
. If you're collecting from a Cisco Umbrella bucket this must be set tofalse
.
S3SourcePathCustomService
- Prefixes List<string>
- Service
Name string
- Prefixes []string
- Service
Name string
- prefixes List<String>
- service
Name String
- prefixes string[]
- service
Name string
- prefixes Sequence[str]
- service_
name str
- prefixes List<String>
- service
Name String
S3SourcePathSnsTopicOrSubscriptionArn
- arn str
- is_
success bool
S3SourcePathTagFilter
Import
S3 sources can be imported using the collector and source IDs (collector/source
), e.g.hcl
$ pulumi import sumologic:index/s3Source:S3Source test 123/456
S3 sources can be imported using the collector name and source name (collectorName/sourceName
), e.g.hcl
$ pulumi import sumologic:index/s3Source:S3Source 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/AWS-S3-Source
Package Details
- Repository
- Sumo Logic pulumi/pulumi-sumologic
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
sumologic
Terraform Provider.