1. Packages
  2. Packages
  3. Sumologic Provider
  4. API Docs
  5. LambdaInvokeAction
Viewing docs for sumologic 3.2.9
published on Tuesday, Jun 30, 2026 by sumologic
sumologic logo
Viewing docs for sumologic 3.2.9
published on Tuesday, Jun 30, 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 using environment variables (AWS_REGION, AWS_PROFILE or AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY). 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.LambdaInvokeAction("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.LambdaInvokeAction("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.NewLambdaInvokeAction(ctx, "enable_s3_logging", &sumologic.LambdaInvokeActionArgs{
    			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.LambdaInvokeAction("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.LambdaInvokeAction;
    import com.pulumi.sumologic.LambdaInvokeActionArgs;
    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 LambdaInvokeAction("enableS3Logging", LambdaInvokeActionArgs.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:LambdaInvokeAction
        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 LambdaInvokeAction Resource

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

    Constructor syntax

    new LambdaInvokeAction(name: string, args: LambdaInvokeActionArgs, opts?: CustomResourceOptions);
    @overload
    def LambdaInvokeAction(resource_name: str,
                           args: LambdaInvokeActionArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def LambdaInvokeAction(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,
                           bucket_prefix: Optional[str] = None,
                           filter: Optional[str] = None,
                           lambda_invoke_action_id: Optional[str] = None,
                           region: Optional[str] = None,
                           remove_on_delete_stack: Optional[bool] = None)
    func NewLambdaInvokeAction(ctx *Context, name string, args LambdaInvokeActionArgs, opts ...ResourceOption) (*LambdaInvokeAction, error)
    public LambdaInvokeAction(string name, LambdaInvokeActionArgs args, CustomResourceOptions? opts = null)
    public LambdaInvokeAction(String name, LambdaInvokeActionArgs args)
    public LambdaInvokeAction(String name, LambdaInvokeActionArgs args, CustomResourceOptions options)
    
    type: sumologic:LambdaInvokeAction
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "sumologic_lambdainvokeaction" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args LambdaInvokeActionArgs
    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 LambdaInvokeActionArgs
    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 LambdaInvokeActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LambdaInvokeActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LambdaInvokeActionArgs
    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 lambdaInvokeActionResource = new Sumologic.LambdaInvokeAction("lambdaInvokeActionResource", new()
    {
        AccountId = "string",
        AwsResource = "string",
        BucketName = "string",
        LambdaName = "string",
        BucketPrefix = "string",
        Filter = "string",
        LambdaInvokeActionId = "string",
        Region = "string",
        RemoveOnDeleteStack = false,
    });
    
    example, err := sumologic.NewLambdaInvokeAction(ctx, "lambdaInvokeActionResource", &sumologic.LambdaInvokeActionArgs{
    	AccountId:            pulumi.String("string"),
    	AwsResource:          pulumi.String("string"),
    	BucketName:           pulumi.String("string"),
    	LambdaName:           pulumi.String("string"),
    	BucketPrefix:         pulumi.String("string"),
    	Filter:               pulumi.String("string"),
    	LambdaInvokeActionId: pulumi.String("string"),
    	Region:               pulumi.String("string"),
    	RemoveOnDeleteStack:  pulumi.Bool(false),
    })
    
    resource "sumologic_lambdainvokeaction" "lambdaInvokeActionResource" {
      account_id              = "string"
      aws_resource            = "string"
      bucket_name             = "string"
      lambda_name             = "string"
      bucket_prefix           = "string"
      filter                  = "string"
      lambda_invoke_action_id = "string"
      region                  = "string"
      remove_on_delete_stack  = false
    }
    
    var lambdaInvokeActionResource = new LambdaInvokeAction("lambdaInvokeActionResource", LambdaInvokeActionArgs.builder()
        .accountId("string")
        .awsResource("string")
        .bucketName("string")
        .lambdaName("string")
        .bucketPrefix("string")
        .filter("string")
        .lambdaInvokeActionId("string")
        .region("string")
        .removeOnDeleteStack(false)
        .build());
    
    lambda_invoke_action_resource = sumologic.LambdaInvokeAction("lambdaInvokeActionResource",
        account_id="string",
        aws_resource="string",
        bucket_name="string",
        lambda_name="string",
        bucket_prefix="string",
        filter="string",
        lambda_invoke_action_id="string",
        region="string",
        remove_on_delete_stack=False)
    
    const lambdaInvokeActionResource = new sumologic.LambdaInvokeAction("lambdaInvokeActionResource", {
        accountId: "string",
        awsResource: "string",
        bucketName: "string",
        lambdaName: "string",
        bucketPrefix: "string",
        filter: "string",
        lambdaInvokeActionId: "string",
        region: "string",
        removeOnDeleteStack: false,
    });
    
    type: sumologic:LambdaInvokeAction
    properties:
        accountId: string
        awsResource: string
        bucketName: string
        bucketPrefix: string
        filter: string
        lambdaInvokeActionId: string
        lambdaName: string
        region: string
        removeOnDeleteStack: false
    

    LambdaInvokeAction 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 LambdaInvokeAction 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.
    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 "".
    LambdaInvokeActionId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    Region string
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    RemoveOnDeleteStack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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 "".
    LambdaInvokeActionId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    Region string
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    RemoveOnDeleteStack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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_invoke_action_id string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    region string
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    remove_on_delete_stack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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 "".
    lambdaInvokeActionId String
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    region String
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    removeOnDeleteStack Boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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 "".
    lambdaInvokeActionId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    region string
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    removeOnDeleteStack boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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_invoke_action_id str
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    region str
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    remove_on_delete_stack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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 "".
    lambdaInvokeActionId String
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    region String
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    removeOnDeleteStack Boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.

    Outputs

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

    Get an existing LambdaInvokeAction 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?: LambdaInvokeActionState, opts?: CustomResourceOptions): LambdaInvokeAction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            aws_resource: Optional[str] = None,
            bucket_name: Optional[str] = None,
            bucket_prefix: Optional[str] = None,
            filter: Optional[str] = None,
            lambda_invoke_action_id: 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) -> LambdaInvokeAction
    func GetLambdaInvokeAction(ctx *Context, name string, id IDInput, state *LambdaInvokeActionState, opts ...ResourceOption) (*LambdaInvokeAction, error)
    public static LambdaInvokeAction Get(string name, Input<string> id, LambdaInvokeActionState? state, CustomResourceOptions? opts = null)
    public static LambdaInvokeAction get(String name, Output<String> id, LambdaInvokeActionState state, CustomResourceOptions options)
    resources:  _:    type: sumologic:LambdaInvokeAction    get:      id: ${id}
    import {
      to = sumologic_lambdainvokeaction.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.
    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 "".
    LambdaInvokeActionId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    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
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    RemoveOnDeleteStack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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 "".
    LambdaInvokeActionId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    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
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    RemoveOnDeleteStack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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_invoke_action_id string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    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
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    remove_on_delete_stack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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 "".
    lambdaInvokeActionId String
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    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
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    removeOnDeleteStack Boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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 "".
    lambdaInvokeActionId string
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    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
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    removeOnDeleteStack boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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_invoke_action_id str
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    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
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    remove_on_delete_stack bool
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.
    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.
    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 "".
    lambdaInvokeActionId String
    The unique identifier for this resource (format: <lambda_name>-<timestamp>).
    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
    AWS region where the Lambda function is deployed. If not set, uses AWS_REGION env var or SDK defaults.
    removeOnDeleteStack Boolean
    Whether to remove the logging configuration when the resource is destroyed. Defaults to false.

    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.2.9
    published on Tuesday, Jun 30, 2026 by sumologic

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial