published on Tuesday, Jun 30, 2026 by sumologic
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:
- 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 stringAction Id - 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 boolDelete Stack - 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 stringAction Id - 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 boolDelete Stack - 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_ stringaction_ id - 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_ booldelete_ stack - 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 StringAction Id - 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 BooleanDelete Stack - 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 stringAction Id - 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 booleanDelete Stack - 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_ straction_ id - 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_ booldelete_ stack - 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 StringAction Id - 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 BooleanDelete Stack - 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.
- Last
Lambda stringOutput - The output returned by the most recent Lambda invocation.
- Last
Resource stringProperties - 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 stringOutput - The output returned by the most recent Lambda invocation.
- Last
Resource stringProperties - 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_ stringoutput - The output returned by the most recent Lambda invocation.
- last_
resource_ stringproperties - 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 StringOutput - The output returned by the most recent Lambda invocation.
- last
Resource StringProperties - 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 stringOutput - The output returned by the most recent Lambda invocation.
- last
Resource stringProperties - 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_ stroutput - The output returned by the most recent Lambda invocation.
- last_
resource_ strproperties - 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 StringOutput - The output returned by the most recent Lambda invocation.
- last
Resource StringProperties - 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) -> LambdaInvokeActionfunc 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.
- 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 stringAction Id - The unique identifier for this resource (format:
<lambda_name>-<timestamp>). - Lambda
Name string - The name of the AWS Lambda function to invoke.
- Last
Lambda stringOutput - The output returned by the most recent Lambda invocation.
- Last
Resource stringProperties - 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 boolDelete Stack - 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 stringAction Id - The unique identifier for this resource (format:
<lambda_name>-<timestamp>). - Lambda
Name string - The name of the AWS Lambda function to invoke.
- Last
Lambda stringOutput - The output returned by the most recent Lambda invocation.
- Last
Resource stringProperties - 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 boolDelete Stack - 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_ stringaction_ id - The unique identifier for this resource (format:
<lambda_name>-<timestamp>). - lambda_
name string - The name of the AWS Lambda function to invoke.
- last_
lambda_ stringoutput - The output returned by the most recent Lambda invocation.
- last_
resource_ stringproperties - 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_ booldelete_ stack - 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 StringAction Id - The unique identifier for this resource (format:
<lambda_name>-<timestamp>). - lambda
Name String - The name of the AWS Lambda function to invoke.
- last
Lambda StringOutput - The output returned by the most recent Lambda invocation.
- last
Resource StringProperties - 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 BooleanDelete Stack - 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 stringAction Id - The unique identifier for this resource (format:
<lambda_name>-<timestamp>). - lambda
Name string - The name of the AWS Lambda function to invoke.
- last
Lambda stringOutput - The output returned by the most recent Lambda invocation.
- last
Resource stringProperties - 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 booleanDelete Stack - 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_ straction_ id - The unique identifier for this resource (format:
<lambda_name>-<timestamp>). - lambda_
name str - The name of the AWS Lambda function to invoke.
- last_
lambda_ stroutput - The output returned by the most recent Lambda invocation.
- last_
resource_ strproperties - 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_ booldelete_ stack - 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 StringAction Id - The unique identifier for this resource (format:
<lambda_name>-<timestamp>). - lambda
Name String - The name of the AWS Lambda function to invoke.
- last
Lambda StringOutput - The output returned by the most recent Lambda invocation.
- last
Resource StringProperties - 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 BooleanDelete Stack - 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
sumologicTerraform Provider.
published on Tuesday, Jun 30, 2026 by sumologic