1. Registry
  2. Packages
  3. Sumologic Provider
  4. API Docs
  5. S3LoggingLambdaEnable
Viewing docs for sumologic 3.3.2
published on Wednesday, Sep 2, 2026 by sumologic
sumologic logo
Viewing docs for sumologic 3.3.2
published on Wednesday, Sep 2, 2026 by sumologic

    Provides a resource to invoke an AWS Lambda function for enabling S3 logging and other auto-enable operations as part of AWS Observability setup.

    This resource creates its own AWS Lambda client. It does not use the Sumo Logic provider credentials for AWS operations.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const enableS3Logging = new sumologic.S3LoggingLambdaEnable("enable_s3_logging", {
        lambdaName: "SumologicEnableExistingResources",
        awsResource: "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-alb/abc123",
        bucketName: "my-access-logs-bucket",
        filter: "'Type': 'application'|'type': 'application'",
        bucketPrefix: "elasticloadbalancing",
        accountId: "123456789012",
        removeOnDeleteStack: true,
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    enable_s3_logging = sumologic.S3LoggingLambdaEnable("enable_s3_logging",
        lambda_name="SumologicEnableExistingResources",
        aws_resource="arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-alb/abc123",
        bucket_name="my-access-logs-bucket",
        filter="'Type': 'application'|'type': 'application'",
        bucket_prefix="elasticloadbalancing",
        account_id="123456789012",
        remove_on_delete_stack=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sumologic.NewS3LoggingLambdaEnable(ctx, "enable_s3_logging", &sumologic.S3LoggingLambdaEnableArgs{
    			LambdaName:          pulumi.String("SumologicEnableExistingResources"),
    			AwsResource:         pulumi.String("arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-alb/abc123"),
    			BucketName:          pulumi.String("my-access-logs-bucket"),
    			Filter:              pulumi.String("'Type': 'application'|'type': 'application'"),
    			BucketPrefix:        pulumi.String("elasticloadbalancing"),
    			AccountId:           pulumi.String("123456789012"),
    			RemoveOnDeleteStack: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sumologic = Pulumi.Sumologic;
    
    return await Deployment.RunAsync(() => 
    {
        var enableS3Logging = new Sumologic.S3LoggingLambdaEnable("enable_s3_logging", new()
        {
            LambdaName = "SumologicEnableExistingResources",
            AwsResource = "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-alb/abc123",
            BucketName = "my-access-logs-bucket",
            Filter = "'Type': 'application'|'type': 'application'",
            BucketPrefix = "elasticloadbalancing",
            AccountId = "123456789012",
            RemoveOnDeleteStack = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.S3LoggingLambdaEnable;
    import com.pulumi.sumologic.S3LoggingLambdaEnableArgs;
    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 enableS3Logging = new S3LoggingLambdaEnable("enableS3Logging", S3LoggingLambdaEnableArgs.builder()
                .lambdaName("SumologicEnableExistingResources")
                .awsResource("arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-alb/abc123")
                .bucketName("my-access-logs-bucket")
                .filter("'Type': 'application'|'type': 'application'")
                .bucketPrefix("elasticloadbalancing")
                .accountId("123456789012")
                .removeOnDeleteStack(true)
                .build());
    
        }
    }
    
    resources:
      enableS3Logging:
        type: sumologic:S3LoggingLambdaEnable
        name: enable_s3_logging
        properties:
          lambdaName: SumologicEnableExistingResources
          awsResource: arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-alb/abc123
          bucketName: my-access-logs-bucket
          filter: '''Type'': ''application''|''type'': ''application'''
          bucketPrefix: elasticloadbalancing
          accountId: '123456789012'
          removeOnDeleteStack: true
    
    Example coming soon!
    

    AWS Authentication

    This resource requires AWS credentials configured via environment variables:

    export AWS_REGION="us-east-1"
    export AWS_PROFILE="my-profile"
    # or
    export AWS_ACCESS_KEY_ID="..."
    export AWS_SECRET_ACCESS_KEY="..."
    

    The resource does not use the Sumo Logic provider’s access_id/access_key for AWS operations.

    Create S3LoggingLambdaEnable Resource

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

    Constructor syntax

    new S3LoggingLambdaEnable(name: string, args: S3LoggingLambdaEnableArgs, opts?: CustomResourceOptions);
    @overload
    def S3LoggingLambdaEnable(resource_name: str,
                              args: S3LoggingLambdaEnableArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def S3LoggingLambdaEnable(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              account_id: Optional[str] = None,
                              aws_resource: Optional[str] = None,
                              bucket_name: Optional[str] = None,
                              lambda_name: Optional[str] = None,
                              aws_profile: Optional[str] = None,
                              bucket_prefix: Optional[str] = None,
                              filter: Optional[str] = None,
                              region: Optional[str] = None,
                              remove_on_delete_stack: Optional[bool] = None,
                              s3_logging_lambda_enable_id: Optional[str] = None)
    func NewS3LoggingLambdaEnable(ctx *Context, name string, args S3LoggingLambdaEnableArgs, opts ...ResourceOption) (*S3LoggingLambdaEnable, error)
    public S3LoggingLambdaEnable(string name, S3LoggingLambdaEnableArgs args, CustomResourceOptions? opts = null)
    public S3LoggingLambdaEnable(String name, S3LoggingLambdaEnableArgs args)
    public S3LoggingLambdaEnable(String name, S3LoggingLambdaEnableArgs args, CustomResourceOptions options)
    
    type: sumologic:S3LoggingLambdaEnable
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "sumologic_s3_logging_lambda_enable" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args S3LoggingLambdaEnableArgs
    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 S3LoggingLambdaEnableArgs
    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 S3LoggingLambdaEnableArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args S3LoggingLambdaEnableArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args S3LoggingLambdaEnableArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var s3loggingLambdaEnableResource = new Sumologic.S3LoggingLambdaEnable("s3loggingLambdaEnableResource", new()
    {
        AccountId = "string",
        AwsResource = "string",
        BucketName = "string",
        LambdaName = "string",
        AwsProfile = "string",
        BucketPrefix = "string",
        Filter = "string",
        Region = "string",
        RemoveOnDeleteStack = false,
        S3LoggingLambdaEnableId = "string",
    });
    
    example, err := sumologic.NewS3LoggingLambdaEnable(ctx, "s3loggingLambdaEnableResource", &sumologic.S3LoggingLambdaEnableArgs{
    	AccountId:               pulumi.String("string"),
    	AwsResource:             pulumi.String("string"),
    	BucketName:              pulumi.String("string"),
    	LambdaName:              pulumi.String("string"),
    	AwsProfile:              pulumi.String("string"),
    	BucketPrefix:            pulumi.String("string"),
    	Filter:                  pulumi.String("string"),
    	Region:                  pulumi.String("string"),
    	RemoveOnDeleteStack:     pulumi.Bool(false),
    	S3LoggingLambdaEnableId: pulumi.String("string"),
    })
    
    resource "sumologic_s3_logging_lambda_enable" "s3loggingLambdaEnableResource" {
      lifecycle {
        create_before_destroy = true
      }
      account_id                  = "string"
      aws_resource                = "string"
      bucket_name                 = "string"
      lambda_name                 = "string"
      aws_profile                 = "string"
      bucket_prefix               = "string"
      filter                      = "string"
      region                      = "string"
      remove_on_delete_stack      = false
      s3_logging_lambda_enable_id = "string"
    }
    
    var s3loggingLambdaEnableResource = new S3LoggingLambdaEnable("s3loggingLambdaEnableResource", S3LoggingLambdaEnableArgs.builder()
        .accountId("string")
        .awsResource("string")
        .bucketName("string")
        .lambdaName("string")
        .awsProfile("string")
        .bucketPrefix("string")
        .filter("string")
        .region("string")
        .removeOnDeleteStack(false)
        .s3LoggingLambdaEnableId("string")
        .build());
    
    s3logging_lambda_enable_resource = sumologic.S3LoggingLambdaEnable("s3loggingLambdaEnableResource",
        account_id="string",
        aws_resource="string",
        bucket_name="string",
        lambda_name="string",
        aws_profile="string",
        bucket_prefix="string",
        filter="string",
        region="string",
        remove_on_delete_stack=False,
        s3_logging_lambda_enable_id="string")
    
    const s3loggingLambdaEnableResource = new sumologic.S3LoggingLambdaEnable("s3loggingLambdaEnableResource", {
        accountId: "string",
        awsResource: "string",
        bucketName: "string",
        lambdaName: "string",
        awsProfile: "string",
        bucketPrefix: "string",
        filter: "string",
        region: "string",
        removeOnDeleteStack: false,
        s3LoggingLambdaEnableId: "string",
    });
    
    type: sumologic:S3LoggingLambdaEnable
    properties:
        accountId: string
        awsProfile: string
        awsResource: string
        bucketName: string
        bucketPrefix: string
        filter: string
        lambdaName: string
        region: string
        removeOnDeleteStack: false
        s3LoggingLambdaEnableId: string
    

    S3LoggingLambdaEnable Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The S3LoggingLambdaEnable resource accepts the following input properties:

    AccountId string
    The AWS account ID.
    AwsResource string
    The ARN or identifier of the AWS resource to enable logging for.
    BucketName string
    The S3 bucket name where logs will be delivered.
    LambdaName string
    The name of the AWS Lambda function to invoke.
    AwsProfile string
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    BucketPrefix string
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    Filter string
    A filter expression to match specific resources. Defaults to "".
    Region string
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    RemoveOnDeleteStack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    S3LoggingLambdaEnableId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    AccountId string
    The AWS account ID.
    AwsResource string
    The ARN or identifier of the AWS resource to enable logging for.
    BucketName string
    The S3 bucket name where logs will be delivered.
    LambdaName string
    The name of the AWS Lambda function to invoke.
    AwsProfile string
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    BucketPrefix string
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    Filter string
    A filter expression to match specific resources. Defaults to "".
    Region string
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    RemoveOnDeleteStack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    S3LoggingLambdaEnableId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    account_id string
    The AWS account ID.
    aws_resource string
    The ARN or identifier of the AWS resource to enable logging for.
    bucket_name string
    The S3 bucket name where logs will be delivered.
    lambda_name string
    The name of the AWS Lambda function to invoke.
    aws_profile string
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    bucket_prefix string
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter string
    A filter expression to match specific resources. Defaults to "".
    region string
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    remove_on_delete_stack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3_logging_lambda_enable_id string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    accountId String
    The AWS account ID.
    awsResource String
    The ARN or identifier of the AWS resource to enable logging for.
    bucketName String
    The S3 bucket name where logs will be delivered.
    lambdaName String
    The name of the AWS Lambda function to invoke.
    awsProfile String
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    bucketPrefix String
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter String
    A filter expression to match specific resources. Defaults to "".
    region String
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    removeOnDeleteStack Boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3LoggingLambdaEnableId String
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    accountId string
    The AWS account ID.
    awsResource string
    The ARN or identifier of the AWS resource to enable logging for.
    bucketName string
    The S3 bucket name where logs will be delivered.
    lambdaName string
    The name of the AWS Lambda function to invoke.
    awsProfile string
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    bucketPrefix string
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter string
    A filter expression to match specific resources. Defaults to "".
    region string
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    removeOnDeleteStack boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3LoggingLambdaEnableId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    account_id str
    The AWS account ID.
    aws_resource str
    The ARN or identifier of the AWS resource to enable logging for.
    bucket_name str
    The S3 bucket name where logs will be delivered.
    lambda_name str
    The name of the AWS Lambda function to invoke.
    aws_profile str
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    bucket_prefix str
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter str
    A filter expression to match specific resources. Defaults to "".
    region str
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    remove_on_delete_stack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3_logging_lambda_enable_id str
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    accountId String
    The AWS account ID.
    awsResource String
    The ARN or identifier of the AWS resource to enable logging for.
    bucketName String
    The S3 bucket name where logs will be delivered.
    lambdaName String
    The name of the AWS Lambda function to invoke.
    awsProfile String
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    bucketPrefix String
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter String
    A filter expression to match specific resources. Defaults to "".
    region String
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    removeOnDeleteStack Boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3LoggingLambdaEnableId String
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LastLambdaOutput string
    The output returned by the most recent Lambda invocation.
    LastResourceProperties string
    JSON string of the resource properties sent in the most recent Lambda invocation.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastLambdaOutput string
    The output returned by the most recent Lambda invocation.
    LastResourceProperties string
    JSON string of the resource properties sent in the most recent Lambda invocation.
    id string
    The provider-assigned unique ID for this managed resource.
    last_lambda_output string
    The output returned by the most recent Lambda invocation.
    last_resource_properties string
    JSON string of the resource properties sent in the most recent Lambda invocation.
    id String
    The provider-assigned unique ID for this managed resource.
    lastLambdaOutput String
    The output returned by the most recent Lambda invocation.
    lastResourceProperties String
    JSON string of the resource properties sent in the most recent Lambda invocation.
    id string
    The provider-assigned unique ID for this managed resource.
    lastLambdaOutput string
    The output returned by the most recent Lambda invocation.
    lastResourceProperties string
    JSON string of the resource properties sent in the most recent Lambda invocation.
    id str
    The provider-assigned unique ID for this managed resource.
    last_lambda_output str
    The output returned by the most recent Lambda invocation.
    last_resource_properties str
    JSON string of the resource properties sent in the most recent Lambda invocation.
    id String
    The provider-assigned unique ID for this managed resource.
    lastLambdaOutput String
    The output returned by the most recent Lambda invocation.
    lastResourceProperties String
    JSON string of the resource properties sent in the most recent Lambda invocation.

    Look up Existing S3LoggingLambdaEnable Resource

    Get an existing S3LoggingLambdaEnable 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?: S3LoggingLambdaEnableState, opts?: CustomResourceOptions): S3LoggingLambdaEnable
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            aws_profile: Optional[str] = None,
            aws_resource: Optional[str] = None,
            bucket_name: Optional[str] = None,
            bucket_prefix: Optional[str] = None,
            filter: Optional[str] = None,
            lambda_name: Optional[str] = None,
            last_lambda_output: Optional[str] = None,
            last_resource_properties: Optional[str] = None,
            region: Optional[str] = None,
            remove_on_delete_stack: Optional[bool] = None,
            s3_logging_lambda_enable_id: Optional[str] = None) -> S3LoggingLambdaEnable
    func GetS3LoggingLambdaEnable(ctx *Context, name string, id IDInput, state *S3LoggingLambdaEnableState, opts ...ResourceOption) (*S3LoggingLambdaEnable, error)
    public static S3LoggingLambdaEnable Get(string name, Input<string> id, S3LoggingLambdaEnableState? state, CustomResourceOptions? opts = null)
    public static S3LoggingLambdaEnable get(String name, Output<String> id, S3LoggingLambdaEnableState state, CustomResourceOptions options)
    resources:  _:    type: sumologic:S3LoggingLambdaEnable    get:      id: ${id}
    import {
      to = sumologic_s3_logging_lambda_enable.example
      id = "${id}"
    }
    
    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:
    AccountId string
    The AWS account ID.
    AwsProfile string
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    AwsResource string
    The ARN or identifier of the AWS resource to enable logging for.
    BucketName string
    The S3 bucket name where logs will be delivered.
    BucketPrefix string
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    Filter string
    A filter expression to match specific resources. Defaults to "".
    LambdaName string
    The name of the AWS Lambda function to invoke.
    LastLambdaOutput string
    The output returned by the most recent Lambda invocation.
    LastResourceProperties string
    JSON string of the resource properties sent in the most recent Lambda invocation.
    Region string
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    RemoveOnDeleteStack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    S3LoggingLambdaEnableId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    AccountId string
    The AWS account ID.
    AwsProfile string
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    AwsResource string
    The ARN or identifier of the AWS resource to enable logging for.
    BucketName string
    The S3 bucket name where logs will be delivered.
    BucketPrefix string
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    Filter string
    A filter expression to match specific resources. Defaults to "".
    LambdaName string
    The name of the AWS Lambda function to invoke.
    LastLambdaOutput string
    The output returned by the most recent Lambda invocation.
    LastResourceProperties string
    JSON string of the resource properties sent in the most recent Lambda invocation.
    Region string
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    RemoveOnDeleteStack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    S3LoggingLambdaEnableId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    account_id string
    The AWS account ID.
    aws_profile string
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    aws_resource string
    The ARN or identifier of the AWS resource to enable logging for.
    bucket_name string
    The S3 bucket name where logs will be delivered.
    bucket_prefix string
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter string
    A filter expression to match specific resources. Defaults to "".
    lambda_name string
    The name of the AWS Lambda function to invoke.
    last_lambda_output string
    The output returned by the most recent Lambda invocation.
    last_resource_properties string
    JSON string of the resource properties sent in the most recent Lambda invocation.
    region string
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    remove_on_delete_stack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3_logging_lambda_enable_id string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    accountId String
    The AWS account ID.
    awsProfile String
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    awsResource String
    The ARN or identifier of the AWS resource to enable logging for.
    bucketName String
    The S3 bucket name where logs will be delivered.
    bucketPrefix String
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter String
    A filter expression to match specific resources. Defaults to "".
    lambdaName String
    The name of the AWS Lambda function to invoke.
    lastLambdaOutput String
    The output returned by the most recent Lambda invocation.
    lastResourceProperties String
    JSON string of the resource properties sent in the most recent Lambda invocation.
    region String
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    removeOnDeleteStack Boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3LoggingLambdaEnableId String
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    accountId string
    The AWS account ID.
    awsProfile string
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    awsResource string
    The ARN or identifier of the AWS resource to enable logging for.
    bucketName string
    The S3 bucket name where logs will be delivered.
    bucketPrefix string
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter string
    A filter expression to match specific resources. Defaults to "".
    lambdaName string
    The name of the AWS Lambda function to invoke.
    lastLambdaOutput string
    The output returned by the most recent Lambda invocation.
    lastResourceProperties string
    JSON string of the resource properties sent in the most recent Lambda invocation.
    region string
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    removeOnDeleteStack boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3LoggingLambdaEnableId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    account_id str
    The AWS account ID.
    aws_profile str
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    aws_resource str
    The ARN or identifier of the AWS resource to enable logging for.
    bucket_name str
    The S3 bucket name where logs will be delivered.
    bucket_prefix str
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter str
    A filter expression to match specific resources. Defaults to "".
    lambda_name str
    The name of the AWS Lambda function to invoke.
    last_lambda_output str
    The output returned by the most recent Lambda invocation.
    last_resource_properties str
    JSON string of the resource properties sent in the most recent Lambda invocation.
    region str
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    remove_on_delete_stack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3_logging_lambda_enable_id str
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    accountId String
    The AWS account ID.
    awsProfile String
    The AWS credentials profile to use. If not set, uses the default credential chain (AWS_PROFILE env var, instance profile, etc.).
    awsResource String
    The ARN or identifier of the AWS resource to enable logging for.
    bucketName String
    The S3 bucket name where logs will be delivered.
    bucketPrefix String
    The prefix path within the S3 bucket for log delivery. Defaults to "".
    filter String
    A filter expression to match specific resources. Defaults to "".
    lambdaName String
    The name of the AWS Lambda function to invoke.
    lastLambdaOutput String
    The output returned by the most recent Lambda invocation.
    lastResourceProperties String
    JSON string of the resource properties sent in the most recent Lambda invocation.
    region String
    The AWS region where the Lambda function is deployed. If not set, falls back to the AWS_REGION environment variable or the SDK default.
    removeOnDeleteStack Boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    s3LoggingLambdaEnableId String
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).

    Import

    This resource does not support import.

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

    Package Details

    Repository
    Sumo Logic sumologic/terraform-provider-sumologic
    License
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Viewing docs for sumologic 3.3.2
    published on Wednesday, Sep 2, 2026 by sumologic

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial