published on Wednesday, Sep 2, 2026 by sumologic
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:
- 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_PROFILEenv 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_REGIONenvironment variable or the SDK default. - Remove
On boolDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - S3Logging
Lambda stringEnable Id - 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_PROFILEenv 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_REGIONenvironment variable or the SDK default. - Remove
On boolDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - S3Logging
Lambda stringEnable Id - 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_PROFILEenv 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_REGIONenvironment variable or the SDK default. - remove_
on_ booldelete_ stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3_
logging_ stringlambda_ enable_ id - 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_PROFILEenv 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_REGIONenvironment variable or the SDK default. - remove
On BooleanDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3Logging
Lambda StringEnable Id - 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_PROFILEenv 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_REGIONenvironment variable or the SDK default. - remove
On booleanDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3Logging
Lambda stringEnable Id - 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_PROFILEenv 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_REGIONenvironment variable or the SDK default. - remove_
on_ booldelete_ stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3_
logging_ strlambda_ enable_ id - 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_PROFILEenv 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_REGIONenvironment variable or the SDK default. - remove
On BooleanDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3Logging
Lambda StringEnable Id - 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.
- 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 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) -> S3LoggingLambdaEnablefunc 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.
- 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_PROFILEenv 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 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
- The AWS region where the Lambda function is deployed. If not set, falls back to the
AWS_REGIONenvironment variable or the SDK default. - Remove
On boolDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - S3Logging
Lambda stringEnable Id - 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_PROFILEenv 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 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
- The AWS region where the Lambda function is deployed. If not set, falls back to the
AWS_REGIONenvironment variable or the SDK default. - Remove
On boolDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - S3Logging
Lambda stringEnable Id - 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_PROFILEenv 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_ 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
- The AWS region where the Lambda function is deployed. If not set, falls back to the
AWS_REGIONenvironment variable or the SDK default. - remove_
on_ booldelete_ stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3_
logging_ stringlambda_ enable_ id - 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_PROFILEenv 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 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
- The AWS region where the Lambda function is deployed. If not set, falls back to the
AWS_REGIONenvironment variable or the SDK default. - remove
On BooleanDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3Logging
Lambda StringEnable Id - 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_PROFILEenv 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 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
- The AWS region where the Lambda function is deployed. If not set, falls back to the
AWS_REGIONenvironment variable or the SDK default. - remove
On booleanDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3Logging
Lambda stringEnable Id - 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_PROFILEenv 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_ 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
- The AWS region where the Lambda function is deployed. If not set, falls back to the
AWS_REGIONenvironment variable or the SDK default. - remove_
on_ booldelete_ stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3_
logging_ strlambda_ enable_ id - 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_PROFILEenv 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 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
- The AWS region where the Lambda function is deployed. If not set, falls back to the
AWS_REGIONenvironment variable or the SDK default. - remove
On BooleanDelete Stack - Whether to remove the logging configuration when the resource is destroyed. Defaults to
false. - s3Logging
Lambda StringEnable Id - 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
sumologicTerraform Provider.
published on Wednesday, Sep 2, 2026 by sumologic