1. Packages
  2. Sumo Logic
  3. API Docs
  4. AwsInventorySource
Sumo Logic v0.20.3 published on Wednesday, Mar 6, 2024 by Pulumi

sumologic.AwsInventorySource

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.20.3 published on Wednesday, Mar 6, 2024 by Pulumi

    Provides a Sumologic AWS Inventory source to collect AWS resource inventory data.

    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 awsInventorySource = new SumoLogic.AwsInventorySource("awsInventorySource", new()
        {
            Authentication = new SumoLogic.Inputs.AwsInventorySourceAuthenticationArgs
            {
                RoleArn = "arn:aws:iam::01234567890:role/sumo-role",
                Type = "AWSRoleBasedAuthentication",
            },
            Category = "aws/aws_inventory",
            CollectorId = collector.Id,
            ContentType = "AwsInventory",
            Description = "My description",
            Path = new SumoLogic.Inputs.AwsInventorySourcePathArgs
            {
                LimitToNamespaces = new[]
                {
                    "AWS/RDS",
                    "AWS/EC2",
                },
                LimitToRegions = new[]
                {
                    "us-west-2",
                },
                Type = "AwsInventoryPath",
            },
            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.NewAwsInventorySource(ctx, "awsInventorySource", &sumologic.AwsInventorySourceArgs{
    			Authentication: &sumologic.AwsInventorySourceAuthenticationArgs{
    				RoleArn: pulumi.String("arn:aws:iam::01234567890:role/sumo-role"),
    				Type:    pulumi.String("AWSRoleBasedAuthentication"),
    			},
    			Category:    pulumi.String("aws/aws_inventory"),
    			CollectorId: collector.ID(),
    			ContentType: pulumi.String("AwsInventory"),
    			Description: pulumi.String("My description"),
    			Path: &sumologic.AwsInventorySourcePathArgs{
    				LimitToNamespaces: pulumi.StringArray{
    					pulumi.String("AWS/RDS"),
    					pulumi.String("AWS/EC2"),
    				},
    				LimitToRegions: pulumi.StringArray{
    					pulumi.String("us-west-2"),
    				},
    				Type: pulumi.String("AwsInventoryPath"),
    			},
    			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.AwsInventorySource;
    import com.pulumi.sumologic.AwsInventorySourceArgs;
    import com.pulumi.sumologic.inputs.AwsInventorySourceAuthenticationArgs;
    import com.pulumi.sumologic.inputs.AwsInventorySourcePathArgs;
    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 awsInventorySource = new AwsInventorySource("awsInventorySource", AwsInventorySourceArgs.builder()        
                .authentication(AwsInventorySourceAuthenticationArgs.builder()
                    .roleArn("arn:aws:iam::01234567890:role/sumo-role")
                    .type("AWSRoleBasedAuthentication")
                    .build())
                .category("aws/aws_inventory")
                .collectorId(collector.id())
                .contentType("AwsInventory")
                .description("My description")
                .path(AwsInventorySourcePathArgs.builder()
                    .limitToNamespaces(                
                        "AWS/RDS",
                        "AWS/EC2")
                    .limitToRegions("us-west-2")
                    .type("AwsInventoryPath")
                    .build())
                .paused(false)
                .scanInterval(300000)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    collector = sumologic.Collector("collector", description="Just testing this")
    aws_inventory_source = sumologic.AwsInventorySource("awsInventorySource",
        authentication=sumologic.AwsInventorySourceAuthenticationArgs(
            role_arn="arn:aws:iam::01234567890:role/sumo-role",
            type="AWSRoleBasedAuthentication",
        ),
        category="aws/aws_inventory",
        collector_id=collector.id,
        content_type="AwsInventory",
        description="My description",
        path=sumologic.AwsInventorySourcePathArgs(
            limit_to_namespaces=[
                "AWS/RDS",
                "AWS/EC2",
            ],
            limit_to_regions=["us-west-2"],
            type="AwsInventoryPath",
        ),
        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 awsInventorySource = new sumologic.AwsInventorySource("awsInventorySource", {
        authentication: {
            roleArn: "arn:aws:iam::01234567890:role/sumo-role",
            type: "AWSRoleBasedAuthentication",
        },
        category: "aws/aws_inventory",
        collectorId: collector.id,
        contentType: "AwsInventory",
        description: "My description",
        path: {
            limitToNamespaces: [
                "AWS/RDS",
                "AWS/EC2",
            ],
            limitToRegions: ["us-west-2"],
            type: "AwsInventoryPath",
        },
        paused: false,
        scanInterval: 300000,
    });
    
    resources:
      awsInventorySource:
        type: sumologic:AwsInventorySource
        properties:
          authentication:
            roleArn: arn:aws:iam::01234567890:role/sumo-role
            type: AWSRoleBasedAuthentication
          category: aws/aws_inventory
          collectorId: ${collector.id}
          contentType: AwsInventory
          description: My description
          path:
            limitToNamespaces:
              - AWS/RDS
              - AWS/EC2
            limitToRegions:
              - us-west-2
            type: AwsInventoryPath
          paused: false
          scanInterval: 300000
      collector:
        type: sumologic:Collector
        properties:
          description: Just testing this
    

    Create AwsInventorySource Resource

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

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

    Authentication Pulumi.SumoLogic.Inputs.AwsInventorySourceAuthentication
    Authentication details to access AWS Describe* APIs.
    CollectorId int
    ContentType string
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    Path Pulumi.SumoLogic.Inputs.AwsInventorySourcePath
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats List<Pulumi.SumoLogic.Inputs.AwsInventorySourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.AwsInventorySourceFilter>
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Timezone string
    UseAutolineMatching bool
    Authentication AwsInventorySourceAuthenticationArgs
    Authentication details to access AWS Describe* APIs.
    CollectorId int
    ContentType string
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    Path AwsInventorySourcePathArgs
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats []AwsInventorySourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []AwsInventorySourceFilterArgs
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Timezone string
    UseAutolineMatching bool
    authentication AwsInventorySourceAuthentication
    Authentication details to access AWS Describe* APIs.
    collectorId Integer
    contentType String
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    path AwsInventorySourcePath
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    automaticDateParsing Boolean
    category String
    cutoffRelativeTime String
    cutoffTimestamp Integer
    defaultDateFormats List<AwsInventorySourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<AwsInventorySourceFilter>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    timezone String
    useAutolineMatching Boolean
    authentication AwsInventorySourceAuthentication
    Authentication details to access AWS Describe* APIs.
    collectorId number
    contentType string
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    path AwsInventorySourcePath
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    automaticDateParsing boolean
    category string
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats AwsInventorySourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters AwsInventorySourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    multilineProcessingEnabled boolean
    name string
    timezone string
    useAutolineMatching boolean
    authentication AwsInventorySourceAuthenticationArgs
    Authentication details to access AWS Describe* APIs.
    collector_id int
    content_type str
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    path AwsInventorySourcePathArgs
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    automatic_date_parsing bool
    category str
    cutoff_relative_time str
    cutoff_timestamp int
    default_date_formats Sequence[AwsInventorySourceDefaultDateFormatArgs]
    description str
    fields Mapping[str, str]
    filters Sequence[AwsInventorySourceFilterArgs]
    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 to access AWS Describe* APIs.
    collectorId Number
    contentType String
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    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 AwsInventorySource resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    id string
    The provider-assigned unique ID for this managed resource.
    url string
    id str
    The provider-assigned unique ID for this managed resource.
    url str
    id String
    The provider-assigned unique ID for this managed resource.
    url String

    Look up Existing AwsInventorySource Resource

    Get an existing AwsInventorySource 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?: AwsInventorySourceState, opts?: CustomResourceOptions): AwsInventorySource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[AwsInventorySourceAuthenticationArgs] = 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[AwsInventorySourceDefaultDateFormatArgs]] = None,
            description: Optional[str] = None,
            fields: Optional[Mapping[str, str]] = None,
            filters: Optional[Sequence[AwsInventorySourceFilterArgs]] = 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[AwsInventorySourcePathArgs] = None,
            paused: Optional[bool] = None,
            scan_interval: Optional[int] = None,
            timezone: Optional[str] = None,
            url: Optional[str] = None,
            use_autoline_matching: Optional[bool] = None) -> AwsInventorySource
    func GetAwsInventorySource(ctx *Context, name string, id IDInput, state *AwsInventorySourceState, opts ...ResourceOption) (*AwsInventorySource, error)
    public static AwsInventorySource Get(string name, Input<string> id, AwsInventorySourceState? state, CustomResourceOptions? opts = null)
    public static AwsInventorySource get(String name, Output<String> id, AwsInventorySourceState 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.AwsInventorySourceAuthentication
    Authentication details to access AWS Describe* APIs.
    AutomaticDateParsing bool
    Category string
    CollectorId int
    ContentType string
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats List<Pulumi.SumoLogic.Inputs.AwsInventorySourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.AwsInventorySourceFilter>
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Path Pulumi.SumoLogic.Inputs.AwsInventorySourcePath
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    Timezone string
    Url string
    UseAutolineMatching bool
    Authentication AwsInventorySourceAuthenticationArgs
    Authentication details to access AWS Describe* APIs.
    AutomaticDateParsing bool
    Category string
    CollectorId int
    ContentType string
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats []AwsInventorySourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []AwsInventorySourceFilterArgs
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Path AwsInventorySourcePathArgs
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    Timezone string
    Url string
    UseAutolineMatching bool
    authentication AwsInventorySourceAuthentication
    Authentication details to access AWS Describe* APIs.
    automaticDateParsing Boolean
    category String
    collectorId Integer
    contentType String
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    cutoffRelativeTime String
    cutoffTimestamp Integer
    defaultDateFormats List<AwsInventorySourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<AwsInventorySourceFilter>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    path AwsInventorySourcePath
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    timezone String
    url String
    useAutolineMatching Boolean
    authentication AwsInventorySourceAuthentication
    Authentication details to access AWS Describe* APIs.
    automaticDateParsing boolean
    category string
    collectorId number
    contentType string
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats AwsInventorySourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters AwsInventorySourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    multilineProcessingEnabled boolean
    name string
    path AwsInventorySourcePath
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    timezone string
    url string
    useAutolineMatching boolean
    authentication AwsInventorySourceAuthenticationArgs
    Authentication details to access AWS Describe* APIs.
    automatic_date_parsing bool
    category str
    collector_id int
    content_type str
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    cutoff_relative_time str
    cutoff_timestamp int
    default_date_formats Sequence[AwsInventorySourceDefaultDateFormatArgs]
    description str
    fields Mapping[str, str]
    filters Sequence[AwsInventorySourceFilterArgs]
    force_timezone bool
    host_name str
    manual_prefix_regexp str
    multiline_processing_enabled bool
    name str
    path AwsInventorySourcePathArgs
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    timezone str
    url str
    use_autoline_matching bool
    authentication Property Map
    Authentication details to access AWS Describe* APIs.
    automaticDateParsing Boolean
    category String
    collectorId Number
    contentType String
    The content-type of the collected data. This has to be AwsInventoryPath for AWS Inventory source.
    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 minimum value is 1000 milliseconds. Currently this value is not respected.
    timezone String
    url String
    useAutolineMatching Boolean

    Supporting Types

    AwsInventorySourceAuthentication, AwsInventorySourceAuthenticationArgs

    Type string
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    AccessKey string
    AuthProviderX509CertUrl string
    AuthUri string
    ClientEmail string
    ClientId string
    ClientX509CertUrl string
    PrivateKey string
    PrivateKeyId string
    ProjectId string
    Region string
    RoleArn string
    Your AWS role ARN. More details here.
    SecretKey string
    TokenUri string
    Type string
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    AccessKey string
    AuthProviderX509CertUrl string
    AuthUri string
    ClientEmail string
    ClientId string
    ClientX509CertUrl string
    PrivateKey string
    PrivateKeyId string
    ProjectId string
    Region string
    RoleArn string
    Your AWS role ARN. More details here.
    SecretKey string
    TokenUri string
    type String
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    accessKey String
    authProviderX509CertUrl String
    authUri String
    clientEmail String
    clientId String
    clientX509CertUrl String
    privateKey String
    privateKeyId String
    projectId String
    region String
    roleArn String
    Your AWS role ARN. More details here.
    secretKey String
    tokenUri String
    type string
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    accessKey string
    authProviderX509CertUrl string
    authUri string
    clientEmail string
    clientId string
    clientX509CertUrl string
    privateKey string
    privateKeyId string
    projectId string
    region string
    roleArn string
    Your AWS role ARN. More details here.
    secretKey string
    tokenUri string
    type str
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    access_key str
    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
    role_arn str
    Your AWS role ARN. More details here.
    secret_key str
    token_uri str
    type String
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    accessKey String
    authProviderX509CertUrl String
    authUri String
    clientEmail String
    clientId String
    clientX509CertUrl String
    privateKey String
    privateKeyId String
    projectId String
    region String
    roleArn String
    Your AWS role ARN. More details here.
    secretKey String
    tokenUri String

    AwsInventorySourceDefaultDateFormat, AwsInventorySourceDefaultDateFormatArgs

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

    AwsInventorySourceFilter, AwsInventorySourceFilterArgs

    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

    AwsInventorySourcePath, AwsInventorySourcePathArgs

    Type string
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    BucketName string
    CustomServices List<Pulumi.SumoLogic.Inputs.AwsInventorySourcePathCustomService>
    LimitToNamespaces List<string>
    List of namespaces. By default all namespaces are selected. You can also choose a subset from

    • AWS/EC2
    • AWS/AutoScaling
    • AWS/EBS
    • AWS/ELB
    • AWS/ApplicationELB
    • AWS/NetworkELB
    • AWS/Lambda
    • AWS/RDS
    • AWS/Dynamodb
    • AWS/ECS
    • AWS/Elasticache
    • AWS/Redshift
    • AWS/Kinesis
    LimitToRegions List<string>
    List of Amazon regions.
    LimitToServices List<string>
    PathExpression string
    SnsTopicOrSubscriptionArns List<Pulumi.SumoLogic.Inputs.AwsInventorySourcePathSnsTopicOrSubscriptionArn>
    TagFilters List<Pulumi.SumoLogic.Inputs.AwsInventorySourcePathTagFilter>
    UseVersionedApi bool
    Type string
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    BucketName string
    CustomServices []AwsInventorySourcePathCustomService
    LimitToNamespaces []string
    List of namespaces. By default all namespaces are selected. You can also choose a subset from

    • AWS/EC2
    • AWS/AutoScaling
    • AWS/EBS
    • AWS/ELB
    • AWS/ApplicationELB
    • AWS/NetworkELB
    • AWS/Lambda
    • AWS/RDS
    • AWS/Dynamodb
    • AWS/ECS
    • AWS/Elasticache
    • AWS/Redshift
    • AWS/Kinesis
    LimitToRegions []string
    List of Amazon regions.
    LimitToServices []string
    PathExpression string
    SnsTopicOrSubscriptionArns []AwsInventorySourcePathSnsTopicOrSubscriptionArn
    TagFilters []AwsInventorySourcePathTagFilter
    UseVersionedApi bool
    type String
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    bucketName String
    customServices List<AwsInventorySourcePathCustomService>
    limitToNamespaces List<String>
    List of namespaces. By default all namespaces are selected. You can also choose a subset from

    • AWS/EC2
    • AWS/AutoScaling
    • AWS/EBS
    • AWS/ELB
    • AWS/ApplicationELB
    • AWS/NetworkELB
    • AWS/Lambda
    • AWS/RDS
    • AWS/Dynamodb
    • AWS/ECS
    • AWS/Elasticache
    • AWS/Redshift
    • AWS/Kinesis
    limitToRegions List<String>
    List of Amazon regions.
    limitToServices List<String>
    pathExpression String
    snsTopicOrSubscriptionArns List<AwsInventorySourcePathSnsTopicOrSubscriptionArn>
    tagFilters List<AwsInventorySourcePathTagFilter>
    useVersionedApi Boolean
    type string
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    bucketName string
    customServices AwsInventorySourcePathCustomService[]
    limitToNamespaces string[]
    List of namespaces. By default all namespaces are selected. You can also choose a subset from

    • AWS/EC2
    • AWS/AutoScaling
    • AWS/EBS
    • AWS/ELB
    • AWS/ApplicationELB
    • AWS/NetworkELB
    • AWS/Lambda
    • AWS/RDS
    • AWS/Dynamodb
    • AWS/ECS
    • AWS/Elasticache
    • AWS/Redshift
    • AWS/Kinesis
    limitToRegions string[]
    List of Amazon regions.
    limitToServices string[]
    pathExpression string
    snsTopicOrSubscriptionArns AwsInventorySourcePathSnsTopicOrSubscriptionArn[]
    tagFilters AwsInventorySourcePathTagFilter[]
    useVersionedApi boolean
    type str
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    bucket_name str
    custom_services Sequence[AwsInventorySourcePathCustomService]
    limit_to_namespaces Sequence[str]
    List of namespaces. By default all namespaces are selected. You can also choose a subset from

    • AWS/EC2
    • AWS/AutoScaling
    • AWS/EBS
    • AWS/ELB
    • AWS/ApplicationELB
    • AWS/NetworkELB
    • AWS/Lambda
    • AWS/RDS
    • AWS/Dynamodb
    • AWS/ECS
    • AWS/Elasticache
    • AWS/Redshift
    • AWS/Kinesis
    limit_to_regions Sequence[str]
    List of Amazon regions.
    limit_to_services Sequence[str]
    path_expression str
    sns_topic_or_subscription_arns Sequence[AwsInventorySourcePathSnsTopicOrSubscriptionArn]
    tag_filters Sequence[AwsInventorySourcePathTagFilter]
    use_versioned_api bool
    type String
    type of polling source. This has to be AwsInventoryPath for AWS Inventory source.
    bucketName String
    customServices List<Property Map>
    limitToNamespaces List<String>
    List of namespaces. By default all namespaces are selected. You can also choose a subset from

    • AWS/EC2
    • AWS/AutoScaling
    • AWS/EBS
    • AWS/ELB
    • AWS/ApplicationELB
    • AWS/NetworkELB
    • AWS/Lambda
    • AWS/RDS
    • AWS/Dynamodb
    • AWS/ECS
    • AWS/Elasticache
    • AWS/Redshift
    • AWS/Kinesis
    limitToRegions List<String>
    List of Amazon regions.
    limitToServices List<String>
    pathExpression String
    snsTopicOrSubscriptionArns List<Property Map>
    tagFilters List<Property Map>
    useVersionedApi Boolean

    AwsInventorySourcePathCustomService, AwsInventorySourcePathCustomServiceArgs

    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

    AwsInventorySourcePathSnsTopicOrSubscriptionArn, AwsInventorySourcePathSnsTopicOrSubscriptionArnArgs

    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

    AwsInventorySourcePathTagFilter, AwsInventorySourcePathTagFilterArgs

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

    Import

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

    hcl

    $ pulumi import sumologic:index/awsInventorySource:AwsInventorySource test 123/456
    

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

    hcl

    $ pulumi import sumologic:index/awsInventorySource:AwsInventorySource test my-test-collector/my-test-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.3 published on Wednesday, Mar 6, 2024 by Pulumi