1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. lambdaweb
  6. FunctionRevision
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi

    Manages an AWS Lambda Web function revision. A revision represents a specific version of the function code and configuration and is immutable (updating any attribute recreates the resource).

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const exampleFunction = new aws.lambdaweb.Function("example", {functionName: "example-function"});
    const example = new aws.lambdaweb.FunctionRevision("example", {
        buildConfig: {
            runtimeConfig: {
                runtime: "nodejs24.x",
            },
            codeConfig: {
                s3Object: {
                    bucket: exampleAwsS3Object.bucket,
                    key: exampleAwsS3Object.key,
                },
            },
        },
        serviceConfig: {
            executionRoleArn: exampleAwsIamRole.arn,
        },
        functionName: exampleFunction.functionName,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example_function = aws.lambdaweb.Function("example", function_name="example-function")
    example = aws.lambdaweb.FunctionRevision("example",
        build_config={
            "runtime_config": {
                "runtime": "nodejs24.x",
            },
            "code_config": {
                "s3_object": {
                    "bucket": example_aws_s3_object["bucket"],
                    "key": example_aws_s3_object["key"],
                },
            },
        },
        service_config={
            "execution_role_arn": example_aws_iam_role["arn"],
        },
        function_name=example_function.function_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambdaweb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleFunction, err := lambdaweb.NewFunction(ctx, "example", &lambdaweb.FunctionArgs{
    			FunctionName: pulumi.String("example-function"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = lambdaweb.NewFunctionRevision(ctx, "example", &lambdaweb.FunctionRevisionArgs{
    			BuildConfig: &lambdaweb.FunctionRevisionBuildConfigArgs{
    				RuntimeConfig: &lambdaweb.FunctionRevisionBuildConfigRuntimeConfigArgs{
    					Runtime: pulumi.String("nodejs24.x"),
    				},
    				CodeConfig: &lambdaweb.FunctionRevisionBuildConfigCodeConfigArgs{
    					S3Object: &lambdaweb.FunctionRevisionBuildConfigCodeConfigS3ObjectArgs{
    						Bucket: pulumi.Any(exampleAwsS3Object.Bucket),
    						Key:    pulumi.Any(exampleAwsS3Object.Key),
    					},
    				},
    			},
    			ServiceConfig: &lambdaweb.FunctionRevisionServiceConfigArgs{
    				ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    			},
    			FunctionName: exampleFunction.FunctionName,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleFunction = new Aws.LambdaWeb.Function("example", new()
        {
            FunctionName = "example-function",
        });
    
        var example = new Aws.LambdaWeb.FunctionRevision("example", new()
        {
            BuildConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionBuildConfigArgs
            {
                RuntimeConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionBuildConfigRuntimeConfigArgs
                {
                    Runtime = "nodejs24.x",
                },
                CodeConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionBuildConfigCodeConfigArgs
                {
                    S3Object = new Aws.LambdaWeb.Inputs.FunctionRevisionBuildConfigCodeConfigS3ObjectArgs
                    {
                        Bucket = exampleAwsS3Object.Bucket,
                        Key = exampleAwsS3Object.Key,
                    },
                },
            },
            ServiceConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionServiceConfigArgs
            {
                ExecutionRoleArn = exampleAwsIamRole.Arn,
            },
            FunctionName = exampleFunction.FunctionName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.lambdaweb.Function;
    import com.pulumi.aws.lambdaweb.FunctionArgs;
    import com.pulumi.aws.lambdaweb.FunctionRevision;
    import com.pulumi.aws.lambdaweb.FunctionRevisionArgs;
    import com.pulumi.aws.lambdaweb.inputs.FunctionRevisionBuildConfigArgs;
    import com.pulumi.aws.lambdaweb.inputs.FunctionRevisionBuildConfigRuntimeConfigArgs;
    import com.pulumi.aws.lambdaweb.inputs.FunctionRevisionBuildConfigCodeConfigArgs;
    import com.pulumi.aws.lambdaweb.inputs.FunctionRevisionBuildConfigCodeConfigS3ObjectArgs;
    import com.pulumi.aws.lambdaweb.inputs.FunctionRevisionServiceConfigArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 exampleFunction = new Function("exampleFunction", FunctionArgs.builder()
                .functionName("example-function")
                .build());
    
            var example = new FunctionRevision("example", FunctionRevisionArgs.builder()
                .buildConfig(FunctionRevisionBuildConfigArgs.builder()
                    .runtimeConfig(FunctionRevisionBuildConfigRuntimeConfigArgs.builder()
                        .runtime("nodejs24.x")
                        .build())
                    .codeConfig(FunctionRevisionBuildConfigCodeConfigArgs.builder()
                        .s3Object(FunctionRevisionBuildConfigCodeConfigS3ObjectArgs.builder()
                            .bucket(exampleAwsS3Object.get("bucket"))
                            .key(exampleAwsS3Object.get("key"))
                            .build())
                        .build())
                    .build())
                .serviceConfig(FunctionRevisionServiceConfigArgs.builder()
                    .executionRoleArn(exampleAwsIamRole.get("arn"))
                    .build())
                .functionName(exampleFunction.functionName())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:lambdaweb:FunctionRevision
        properties:
          buildConfig:
            runtimeConfig:
              runtime: nodejs24.x
            codeConfig:
              s3Object:
                bucket: ${exampleAwsS3Object.bucket}
                key: ${exampleAwsS3Object.key}
          serviceConfig:
            executionRoleArn: ${exampleAwsIamRole.arn}
          functionName: ${exampleFunction.functionName}
      exampleFunction:
        type: aws:lambdaweb:Function
        name: example
        properties:
          functionName: example-function
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_lambdaweb_function_revision" "example" {
      lifecycle {
        create_before_destroy = true
      }
      build_config {
        runtime_config {
          runtime = "nodejs24.x"
        }
        code_config {
          s3_object {
            bucket = exampleAwsS3Object.bucket
            key    = exampleAwsS3Object.key
          }
        }
      }
      service_config {
        execution_role_arn = exampleAwsIamRole.arn
      }
      function_name = aws_lambdaweb_function.example.function_name
    }
    resource "aws_lambdaweb_function" "example" {
      lifecycle {
        create_before_destroy = true
      }
      function_name = "example-function"
    }
    

    Create FunctionRevision Resource

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

    Constructor syntax

    new FunctionRevision(name: string, args: FunctionRevisionArgs, opts?: CustomResourceOptions);
    @overload
    def FunctionRevision(resource_name: str,
                         args: FunctionRevisionArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def FunctionRevision(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         build_config: Optional[FunctionRevisionBuildConfigArgs] = None,
                         function_name: Optional[str] = None,
                         service_config: Optional[FunctionRevisionServiceConfigArgs] = None,
                         description: Optional[str] = None,
                         kms_key_arn: Optional[str] = None,
                         region: Optional[str] = None,
                         timeouts: Optional[FunctionRevisionTimeoutsArgs] = None)
    func NewFunctionRevision(ctx *Context, name string, args FunctionRevisionArgs, opts ...ResourceOption) (*FunctionRevision, error)
    public FunctionRevision(string name, FunctionRevisionArgs args, CustomResourceOptions? opts = null)
    public FunctionRevision(String name, FunctionRevisionArgs args)
    public FunctionRevision(String name, FunctionRevisionArgs args, CustomResourceOptions options)
    
    type: aws:lambdaweb:FunctionRevision
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_lambdaweb_function_revision" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FunctionRevisionArgs
    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 FunctionRevisionArgs
    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 FunctionRevisionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FunctionRevisionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FunctionRevisionArgs
    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 functionRevisionResource = new Aws.LambdaWeb.FunctionRevision("functionRevisionResource", new()
    {
        BuildConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionBuildConfigArgs
        {
            CodeConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionBuildConfigCodeConfigArgs
            {
                S3Object = new Aws.LambdaWeb.Inputs.FunctionRevisionBuildConfigCodeConfigS3ObjectArgs
                {
                    Bucket = "string",
                    Key = "string",
                    VersionId = "string",
                },
            },
            RuntimeConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionBuildConfigRuntimeConfigArgs
            {
                Runtime = "string",
            },
        },
        FunctionName = "string",
        ServiceConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionServiceConfigArgs
        {
            ExecutionRoleArn = "string",
            EgressNetworkConnectorArn = "string",
            EnvironmentVariables = 
            {
                { "string", "string" },
            },
            MaxConcurrencyPerEnvironment = 0,
            TelemetryConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionServiceConfigTelemetryConfigArgs
            {
                LoggingConfig = new Aws.LambdaWeb.Inputs.FunctionRevisionServiceConfigTelemetryConfigLoggingConfigArgs
                {
                    ApplicationLogLevel = "string",
                    LogGroup = "string",
                    SystemLogLevel = "string",
                },
            },
            TelemetryConfigActuals = new[]
            {
                new Aws.LambdaWeb.Inputs.FunctionRevisionServiceConfigTelemetryConfigActualArgs
                {
                    LoggingConfigs = new[]
                    {
                        new Aws.LambdaWeb.Inputs.FunctionRevisionServiceConfigTelemetryConfigActualLoggingConfigArgs
                        {
                            ApplicationLogLevel = "string",
                            LogGroup = "string",
                            SystemLogLevel = "string",
                        },
                    },
                },
            },
            TimeoutSeconds = 0,
        },
        Description = "string",
        KmsKeyArn = "string",
        Region = "string",
        Timeouts = new Aws.LambdaWeb.Inputs.FunctionRevisionTimeoutsArgs
        {
            Create = "string",
        },
    });
    
    example, err := lambdaweb.NewFunctionRevision(ctx, "functionRevisionResource", &lambdaweb.FunctionRevisionArgs{
    	BuildConfig: &lambdaweb.FunctionRevisionBuildConfigArgs{
    		CodeConfig: &lambdaweb.FunctionRevisionBuildConfigCodeConfigArgs{
    			S3Object: &lambdaweb.FunctionRevisionBuildConfigCodeConfigS3ObjectArgs{
    				Bucket:    pulumi.String("string"),
    				Key:       pulumi.String("string"),
    				VersionId: pulumi.String("string"),
    			},
    		},
    		RuntimeConfig: &lambdaweb.FunctionRevisionBuildConfigRuntimeConfigArgs{
    			Runtime: pulumi.String("string"),
    		},
    	},
    	FunctionName: pulumi.String("string"),
    	ServiceConfig: &lambdaweb.FunctionRevisionServiceConfigArgs{
    		ExecutionRoleArn:          pulumi.String("string"),
    		EgressNetworkConnectorArn: pulumi.String("string"),
    		EnvironmentVariables: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		MaxConcurrencyPerEnvironment: pulumi.Int(0),
    		TelemetryConfig: &lambdaweb.FunctionRevisionServiceConfigTelemetryConfigArgs{
    			LoggingConfig: &lambdaweb.FunctionRevisionServiceConfigTelemetryConfigLoggingConfigArgs{
    				ApplicationLogLevel: pulumi.String("string"),
    				LogGroup:            pulumi.String("string"),
    				SystemLogLevel:      pulumi.String("string"),
    			},
    		},
    		TelemetryConfigActuals: lambdaweb.FunctionRevisionServiceConfigTelemetryConfigActualArray{
    			&lambdaweb.FunctionRevisionServiceConfigTelemetryConfigActualArgs{
    				LoggingConfigs: lambdaweb.FunctionRevisionServiceConfigTelemetryConfigActualLoggingConfigArray{
    					&lambdaweb.FunctionRevisionServiceConfigTelemetryConfigActualLoggingConfigArgs{
    						ApplicationLogLevel: pulumi.String("string"),
    						LogGroup:            pulumi.String("string"),
    						SystemLogLevel:      pulumi.String("string"),
    					},
    				},
    			},
    		},
    		TimeoutSeconds: pulumi.Int(0),
    	},
    	Description: pulumi.String("string"),
    	KmsKeyArn:   pulumi.String("string"),
    	Region:      pulumi.String("string"),
    	Timeouts: &lambdaweb.FunctionRevisionTimeoutsArgs{
    		Create: pulumi.String("string"),
    	},
    })
    
    resource "aws_lambdaweb_function_revision" "functionRevisionResource" {
      lifecycle {
        create_before_destroy = true
      }
      build_config = {
        code_config = {
          s3_object = {
            bucket     = "string"
            key        = "string"
            version_id = "string"
          }
        }
        runtime_config = {
          runtime = "string"
        }
      }
      function_name = "string"
      service_config = {
        execution_role_arn           = "string"
        egress_network_connector_arn = "string"
        environment_variables = {
          "string" = "string"
        }
        max_concurrency_per_environment = 0
        telemetry_config = {
          logging_config = {
            application_log_level = "string"
            log_group             = "string"
            system_log_level      = "string"
          }
        }
        telemetry_config_actuals = [{
          logging_configs = [{
            application_log_level = "string"
            log_group             = "string"
            system_log_level      = "string"
          }]
        }]
        timeout_seconds = 0
      }
      description = "string"
      kms_key_arn = "string"
      region      = "string"
      _ {
        timeouts = {
          create = "string"
        }
      }
    }
    
    var functionRevisionResource = new FunctionRevision("functionRevisionResource", FunctionRevisionArgs.builder()
        .buildConfig(FunctionRevisionBuildConfigArgs.builder()
            .codeConfig(FunctionRevisionBuildConfigCodeConfigArgs.builder()
                .s3Object(FunctionRevisionBuildConfigCodeConfigS3ObjectArgs.builder()
                    .bucket("string")
                    .key("string")
                    .versionId("string")
                    .build())
                .build())
            .runtimeConfig(FunctionRevisionBuildConfigRuntimeConfigArgs.builder()
                .runtime("string")
                .build())
            .build())
        .functionName("string")
        .serviceConfig(FunctionRevisionServiceConfigArgs.builder()
            .executionRoleArn("string")
            .egressNetworkConnectorArn("string")
            .environmentVariables(Map.of("string", "string"))
            .maxConcurrencyPerEnvironment(0)
            .telemetryConfig(FunctionRevisionServiceConfigTelemetryConfigArgs.builder()
                .loggingConfig(FunctionRevisionServiceConfigTelemetryConfigLoggingConfigArgs.builder()
                    .applicationLogLevel("string")
                    .logGroup("string")
                    .systemLogLevel("string")
                    .build())
                .build())
            .telemetryConfigActuals(FunctionRevisionServiceConfigTelemetryConfigActualArgs.builder()
                .loggingConfigs(FunctionRevisionServiceConfigTelemetryConfigActualLoggingConfigArgs.builder()
                    .applicationLogLevel("string")
                    .logGroup("string")
                    .systemLogLevel("string")
                    .build())
                .build())
            .timeoutSeconds(0)
            .build())
        .description("string")
        .kmsKeyArn("string")
        .region("string")
        .timeouts(FunctionRevisionTimeoutsArgs.builder()
            .create("string")
            .build())
        .build());
    
    function_revision_resource = aws.lambdaweb.FunctionRevision("functionRevisionResource",
        build_config={
            "code_config": {
                "s3_object": {
                    "bucket": "string",
                    "key": "string",
                    "version_id": "string",
                },
            },
            "runtime_config": {
                "runtime": "string",
            },
        },
        function_name="string",
        service_config={
            "execution_role_arn": "string",
            "egress_network_connector_arn": "string",
            "environment_variables": {
                "string": "string",
            },
            "max_concurrency_per_environment": 0,
            "telemetry_config": {
                "logging_config": {
                    "application_log_level": "string",
                    "log_group": "string",
                    "system_log_level": "string",
                },
            },
            "telemetry_config_actuals": [{
                "logging_configs": [{
                    "application_log_level": "string",
                    "log_group": "string",
                    "system_log_level": "string",
                }],
            }],
            "timeout_seconds": 0,
        },
        description="string",
        kms_key_arn="string",
        region="string",
        timeouts={
            "create": "string",
        })
    
    const functionRevisionResource = new aws.lambdaweb.FunctionRevision("functionRevisionResource", {
        buildConfig: {
            codeConfig: {
                s3Object: {
                    bucket: "string",
                    key: "string",
                    versionId: "string",
                },
            },
            runtimeConfig: {
                runtime: "string",
            },
        },
        functionName: "string",
        serviceConfig: {
            executionRoleArn: "string",
            egressNetworkConnectorArn: "string",
            environmentVariables: {
                string: "string",
            },
            maxConcurrencyPerEnvironment: 0,
            telemetryConfig: {
                loggingConfig: {
                    applicationLogLevel: "string",
                    logGroup: "string",
                    systemLogLevel: "string",
                },
            },
            telemetryConfigActuals: [{
                loggingConfigs: [{
                    applicationLogLevel: "string",
                    logGroup: "string",
                    systemLogLevel: "string",
                }],
            }],
            timeoutSeconds: 0,
        },
        description: "string",
        kmsKeyArn: "string",
        region: "string",
        timeouts: {
            create: "string",
        },
    });
    
    type: aws:lambdaweb:FunctionRevision
    properties:
        buildConfig:
            codeConfig:
                s3Object:
                    bucket: string
                    key: string
                    versionId: string
            runtimeConfig:
                runtime: string
        description: string
        functionName: string
        kmsKeyArn: string
        region: string
        serviceConfig:
            egressNetworkConnectorArn: string
            environmentVariables:
                string: string
            executionRoleArn: string
            maxConcurrencyPerEnvironment: 0
            telemetryConfig:
                loggingConfig:
                    applicationLogLevel: string
                    logGroup: string
                    systemLogLevel: string
            telemetryConfigActuals:
                - loggingConfigs:
                    - applicationLogLevel: string
                      logGroup: string
                      systemLogLevel: string
            timeoutSeconds: 0
        timeouts:
            create: string
    

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

    BuildConfig FunctionRevisionBuildConfig
    Build configuration for the revision. See buildConfig Block below.
    FunctionName string
    Web function name.
    ServiceConfig FunctionRevisionServiceConfig

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    Description string
    Description of the revision.
    KmsKeyArn string
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Timeouts FunctionRevisionTimeouts
    BuildConfig FunctionRevisionBuildConfigArgs
    Build configuration for the revision. See buildConfig Block below.
    FunctionName string
    Web function name.
    ServiceConfig FunctionRevisionServiceConfigArgs

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    Description string
    Description of the revision.
    KmsKeyArn string
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Timeouts FunctionRevisionTimeoutsArgs
    build_config object
    Build configuration for the revision. See buildConfig Block below.
    function_name string
    Web function name.
    service_config object

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    description string
    Description of the revision.
    kms_key_arn string
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts object
    buildConfig FunctionRevisionBuildConfig
    Build configuration for the revision. See buildConfig Block below.
    functionName String
    Web function name.
    serviceConfig FunctionRevisionServiceConfig

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    description String
    Description of the revision.
    kmsKeyArn String
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts FunctionRevisionTimeouts
    buildConfig FunctionRevisionBuildConfig
    Build configuration for the revision. See buildConfig Block below.
    functionName string
    Web function name.
    serviceConfig FunctionRevisionServiceConfig

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    description string
    Description of the revision.
    kmsKeyArn string
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts FunctionRevisionTimeouts
    build_config FunctionRevisionBuildConfigArgs
    Build configuration for the revision. See buildConfig Block below.
    function_name str
    Web function name.
    service_config FunctionRevisionServiceConfigArgs

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    description str
    Description of the revision.
    kms_key_arn str
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts FunctionRevisionTimeoutsArgs
    buildConfig Property Map
    Build configuration for the revision. See buildConfig Block below.
    functionName String
    Web function name.
    serviceConfig Property Map

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    description String
    Description of the revision.
    kmsKeyArn String
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    timeouts Property Map

    Outputs

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

    Arn string
    ARN of the revision.
    Id string
    The provider-assigned unique ID for this managed resource.
    RevisionId string
    ID of the revision.
    Arn string
    ARN of the revision.
    Id string
    The provider-assigned unique ID for this managed resource.
    RevisionId string
    ID of the revision.
    arn string
    ARN of the revision.
    id string
    The provider-assigned unique ID for this managed resource.
    revision_id string
    ID of the revision.
    arn String
    ARN of the revision.
    id String
    The provider-assigned unique ID for this managed resource.
    revisionId String
    ID of the revision.
    arn string
    ARN of the revision.
    id string
    The provider-assigned unique ID for this managed resource.
    revisionId string
    ID of the revision.
    arn str
    ARN of the revision.
    id str
    The provider-assigned unique ID for this managed resource.
    revision_id str
    ID of the revision.
    arn String
    ARN of the revision.
    id String
    The provider-assigned unique ID for this managed resource.
    revisionId String
    ID of the revision.

    Look up Existing FunctionRevision Resource

    Get an existing FunctionRevision 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?: FunctionRevisionState, opts?: CustomResourceOptions): FunctionRevision
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            build_config: Optional[FunctionRevisionBuildConfigArgs] = None,
            description: Optional[str] = None,
            function_name: Optional[str] = None,
            kms_key_arn: Optional[str] = None,
            region: Optional[str] = None,
            revision_id: Optional[str] = None,
            service_config: Optional[FunctionRevisionServiceConfigArgs] = None,
            timeouts: Optional[FunctionRevisionTimeoutsArgs] = None) -> FunctionRevision
    func GetFunctionRevision(ctx *Context, name string, id IDInput, state *FunctionRevisionState, opts ...ResourceOption) (*FunctionRevision, error)
    public static FunctionRevision Get(string name, Input<string> id, FunctionRevisionState? state, CustomResourceOptions? opts = null)
    public static FunctionRevision get(String name, Output<String> id, FunctionRevisionState state, CustomResourceOptions options)
    resources:  existingFunctionRevision:    type: aws:lambdaweb:FunctionRevision    get:      id: ${id}
    import {
      to = aws_lambdaweb_function_revision.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state FunctionRevisionState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state FunctionRevisionState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state FunctionRevisionState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state FunctionRevisionState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the revision.
    BuildConfig FunctionRevisionBuildConfig
    Build configuration for the revision. See buildConfig Block below.
    Description string
    Description of the revision.
    FunctionName string
    Web function name.
    KmsKeyArn string
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RevisionId string
    ID of the revision.
    ServiceConfig FunctionRevisionServiceConfig

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    Timeouts FunctionRevisionTimeouts
    Arn string
    ARN of the revision.
    BuildConfig FunctionRevisionBuildConfigArgs
    Build configuration for the revision. See buildConfig Block below.
    Description string
    Description of the revision.
    FunctionName string
    Web function name.
    KmsKeyArn string
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RevisionId string
    ID of the revision.
    ServiceConfig FunctionRevisionServiceConfigArgs

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    Timeouts FunctionRevisionTimeoutsArgs
    arn string
    ARN of the revision.
    build_config object
    Build configuration for the revision. See buildConfig Block below.
    description string
    Description of the revision.
    function_name string
    Web function name.
    kms_key_arn string
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revision_id string
    ID of the revision.
    service_config object

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    timeouts object
    arn String
    ARN of the revision.
    buildConfig FunctionRevisionBuildConfig
    Build configuration for the revision. See buildConfig Block below.
    description String
    Description of the revision.
    functionName String
    Web function name.
    kmsKeyArn String
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revisionId String
    ID of the revision.
    serviceConfig FunctionRevisionServiceConfig

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    timeouts FunctionRevisionTimeouts
    arn string
    ARN of the revision.
    buildConfig FunctionRevisionBuildConfig
    Build configuration for the revision. See buildConfig Block below.
    description string
    Description of the revision.
    functionName string
    Web function name.
    kmsKeyArn string
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revisionId string
    ID of the revision.
    serviceConfig FunctionRevisionServiceConfig

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    timeouts FunctionRevisionTimeouts
    arn str
    ARN of the revision.
    build_config FunctionRevisionBuildConfigArgs
    Build configuration for the revision. See buildConfig Block below.
    description str
    Description of the revision.
    function_name str
    Web function name.
    kms_key_arn str
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revision_id str
    ID of the revision.
    service_config FunctionRevisionServiceConfigArgs

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    timeouts FunctionRevisionTimeoutsArgs
    arn String
    ARN of the revision.
    buildConfig Property Map
    Build configuration for the revision. See buildConfig Block below.
    description String
    Description of the revision.
    functionName String
    Web function name.
    kmsKeyArn String
    ARN of the KMS key used to encrypt the revision's code and environment variables.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    revisionId String
    ID of the revision.
    serviceConfig Property Map

    Service configuration for the revision. See serviceConfig Block below.

    The following arguments are optional:

    timeouts Property Map

    Supporting Types

    FunctionRevisionBuildConfig, FunctionRevisionBuildConfigArgs

    CodeConfig FunctionRevisionBuildConfigCodeConfig
    Code configuration. See build_config.code_config Block below.
    RuntimeConfig FunctionRevisionBuildConfigRuntimeConfig
    Runtime configuration for the revision. See build_config.runtime_config Block below.
    CodeConfig FunctionRevisionBuildConfigCodeConfig
    Code configuration. See build_config.code_config Block below.
    RuntimeConfig FunctionRevisionBuildConfigRuntimeConfig
    Runtime configuration for the revision. See build_config.runtime_config Block below.
    code_config object
    Code configuration. See build_config.code_config Block below.
    runtime_config object
    Runtime configuration for the revision. See build_config.runtime_config Block below.
    codeConfig FunctionRevisionBuildConfigCodeConfig
    Code configuration. See build_config.code_config Block below.
    runtimeConfig FunctionRevisionBuildConfigRuntimeConfig
    Runtime configuration for the revision. See build_config.runtime_config Block below.
    codeConfig FunctionRevisionBuildConfigCodeConfig
    Code configuration. See build_config.code_config Block below.
    runtimeConfig FunctionRevisionBuildConfigRuntimeConfig
    Runtime configuration for the revision. See build_config.runtime_config Block below.
    code_config FunctionRevisionBuildConfigCodeConfig
    Code configuration. See build_config.code_config Block below.
    runtime_config FunctionRevisionBuildConfigRuntimeConfig
    Runtime configuration for the revision. See build_config.runtime_config Block below.
    codeConfig Property Map
    Code configuration. See build_config.code_config Block below.
    runtimeConfig Property Map
    Runtime configuration for the revision. See build_config.runtime_config Block below.

    FunctionRevisionBuildConfigCodeConfig, FunctionRevisionBuildConfigCodeConfigArgs

    S3Object FunctionRevisionBuildConfigCodeConfigS3Object
    Amazon S3 location of the deployment artifact. See build_config.code_config.s3_object Block below.
    S3Object FunctionRevisionBuildConfigCodeConfigS3Object
    Amazon S3 location of the deployment artifact. See build_config.code_config.s3_object Block below.
    s3_object object
    Amazon S3 location of the deployment artifact. See build_config.code_config.s3_object Block below.
    s3Object FunctionRevisionBuildConfigCodeConfigS3Object
    Amazon S3 location of the deployment artifact. See build_config.code_config.s3_object Block below.
    s3Object FunctionRevisionBuildConfigCodeConfigS3Object
    Amazon S3 location of the deployment artifact. See build_config.code_config.s3_object Block below.
    s3_object FunctionRevisionBuildConfigCodeConfigS3Object
    Amazon S3 location of the deployment artifact. See build_config.code_config.s3_object Block below.
    s3Object Property Map
    Amazon S3 location of the deployment artifact. See build_config.code_config.s3_object Block below.

    FunctionRevisionBuildConfigCodeConfigS3Object, FunctionRevisionBuildConfigCodeConfigS3ObjectArgs

    Bucket string
    Name of the Amazon S3 bucket.
    Key string
    Amazon S3 object key.
    VersionId string
    Version ID of the Amazon S3 object.
    Bucket string
    Name of the Amazon S3 bucket.
    Key string
    Amazon S3 object key.
    VersionId string
    Version ID of the Amazon S3 object.
    bucket string
    Name of the Amazon S3 bucket.
    key string
    Amazon S3 object key.
    version_id string
    Version ID of the Amazon S3 object.
    bucket String
    Name of the Amazon S3 bucket.
    key String
    Amazon S3 object key.
    versionId String
    Version ID of the Amazon S3 object.
    bucket string
    Name of the Amazon S3 bucket.
    key string
    Amazon S3 object key.
    versionId string
    Version ID of the Amazon S3 object.
    bucket str
    Name of the Amazon S3 bucket.
    key str
    Amazon S3 object key.
    version_id str
    Version ID of the Amazon S3 object.
    bucket String
    Name of the Amazon S3 bucket.
    key String
    Amazon S3 object key.
    versionId String
    Version ID of the Amazon S3 object.

    FunctionRevisionBuildConfigRuntimeConfig, FunctionRevisionBuildConfigRuntimeConfigArgs

    Runtime string
    Runtime identifier for the web function, e.g. nodejs24.x.
    Runtime string
    Runtime identifier for the web function, e.g. nodejs24.x.
    runtime string
    Runtime identifier for the web function, e.g. nodejs24.x.
    runtime String
    Runtime identifier for the web function, e.g. nodejs24.x.
    runtime string
    Runtime identifier for the web function, e.g. nodejs24.x.
    runtime str
    Runtime identifier for the web function, e.g. nodejs24.x.
    runtime String
    Runtime identifier for the web function, e.g. nodejs24.x.

    FunctionRevisionServiceConfig, FunctionRevisionServiceConfigArgs

    ExecutionRoleArn string
    ARN of the IAM role that the web function assumes when it runs. The trust principal must be lambda.amazonaws.com.
    EgressNetworkConnectorArn string
    ARN of the Lambda network connector that gives the web function access to resources in a VPC. Specify the fully qualified ARN, including the connector version, which pins the revision to that version. Supported only with HomeRegion endpoints.
    EnvironmentVariables Dictionary<string, string>
    Map of environment variable key-value pairs available to the web function at runtime.
    MaxConcurrencyPerEnvironment int
    Maximum number of concurrent requests handled per execution environment. The default is 64.
    TelemetryConfig FunctionRevisionServiceConfigTelemetryConfig
    Telemetry configuration for the web function. See service_config.telemetry_config Block below.
    TelemetryConfigActuals List<FunctionRevisionServiceConfigTelemetryConfigActual>
    Actual deployed telemetry configuration.
    TimeoutSeconds int
    Amount of time (in seconds) that Lambda allows the web function to run before stopping it. The default is 30.
    ExecutionRoleArn string
    ARN of the IAM role that the web function assumes when it runs. The trust principal must be lambda.amazonaws.com.
    EgressNetworkConnectorArn string
    ARN of the Lambda network connector that gives the web function access to resources in a VPC. Specify the fully qualified ARN, including the connector version, which pins the revision to that version. Supported only with HomeRegion endpoints.
    EnvironmentVariables map[string]string
    Map of environment variable key-value pairs available to the web function at runtime.
    MaxConcurrencyPerEnvironment int
    Maximum number of concurrent requests handled per execution environment. The default is 64.
    TelemetryConfig FunctionRevisionServiceConfigTelemetryConfig
    Telemetry configuration for the web function. See service_config.telemetry_config Block below.
    TelemetryConfigActuals []FunctionRevisionServiceConfigTelemetryConfigActual
    Actual deployed telemetry configuration.
    TimeoutSeconds int
    Amount of time (in seconds) that Lambda allows the web function to run before stopping it. The default is 30.
    execution_role_arn string
    ARN of the IAM role that the web function assumes when it runs. The trust principal must be lambda.amazonaws.com.
    egress_network_connector_arn string
    ARN of the Lambda network connector that gives the web function access to resources in a VPC. Specify the fully qualified ARN, including the connector version, which pins the revision to that version. Supported only with HomeRegion endpoints.
    environment_variables map(string)
    Map of environment variable key-value pairs available to the web function at runtime.
    max_concurrency_per_environment number
    Maximum number of concurrent requests handled per execution environment. The default is 64.
    telemetry_config object
    Telemetry configuration for the web function. See service_config.telemetry_config Block below.
    telemetry_config_actuals list(object)
    Actual deployed telemetry configuration.
    timeout_seconds number
    Amount of time (in seconds) that Lambda allows the web function to run before stopping it. The default is 30.
    executionRoleArn String
    ARN of the IAM role that the web function assumes when it runs. The trust principal must be lambda.amazonaws.com.
    egressNetworkConnectorArn String
    ARN of the Lambda network connector that gives the web function access to resources in a VPC. Specify the fully qualified ARN, including the connector version, which pins the revision to that version. Supported only with HomeRegion endpoints.
    environmentVariables Map<String,String>
    Map of environment variable key-value pairs available to the web function at runtime.
    maxConcurrencyPerEnvironment Integer
    Maximum number of concurrent requests handled per execution environment. The default is 64.
    telemetryConfig FunctionRevisionServiceConfigTelemetryConfig
    Telemetry configuration for the web function. See service_config.telemetry_config Block below.
    telemetryConfigActuals List<FunctionRevisionServiceConfigTelemetryConfigActual>
    Actual deployed telemetry configuration.
    timeoutSeconds Integer
    Amount of time (in seconds) that Lambda allows the web function to run before stopping it. The default is 30.
    executionRoleArn string
    ARN of the IAM role that the web function assumes when it runs. The trust principal must be lambda.amazonaws.com.
    egressNetworkConnectorArn string
    ARN of the Lambda network connector that gives the web function access to resources in a VPC. Specify the fully qualified ARN, including the connector version, which pins the revision to that version. Supported only with HomeRegion endpoints.
    environmentVariables {[key: string]: string}
    Map of environment variable key-value pairs available to the web function at runtime.
    maxConcurrencyPerEnvironment number
    Maximum number of concurrent requests handled per execution environment. The default is 64.
    telemetryConfig FunctionRevisionServiceConfigTelemetryConfig
    Telemetry configuration for the web function. See service_config.telemetry_config Block below.
    telemetryConfigActuals FunctionRevisionServiceConfigTelemetryConfigActual[]
    Actual deployed telemetry configuration.
    timeoutSeconds number
    Amount of time (in seconds) that Lambda allows the web function to run before stopping it. The default is 30.
    execution_role_arn str
    ARN of the IAM role that the web function assumes when it runs. The trust principal must be lambda.amazonaws.com.
    egress_network_connector_arn str
    ARN of the Lambda network connector that gives the web function access to resources in a VPC. Specify the fully qualified ARN, including the connector version, which pins the revision to that version. Supported only with HomeRegion endpoints.
    environment_variables Mapping[str, str]
    Map of environment variable key-value pairs available to the web function at runtime.
    max_concurrency_per_environment int
    Maximum number of concurrent requests handled per execution environment. The default is 64.
    telemetry_config FunctionRevisionServiceConfigTelemetryConfig
    Telemetry configuration for the web function. See service_config.telemetry_config Block below.
    telemetry_config_actuals Sequence[FunctionRevisionServiceConfigTelemetryConfigActual]
    Actual deployed telemetry configuration.
    timeout_seconds int
    Amount of time (in seconds) that Lambda allows the web function to run before stopping it. The default is 30.
    executionRoleArn String
    ARN of the IAM role that the web function assumes when it runs. The trust principal must be lambda.amazonaws.com.
    egressNetworkConnectorArn String
    ARN of the Lambda network connector that gives the web function access to resources in a VPC. Specify the fully qualified ARN, including the connector version, which pins the revision to that version. Supported only with HomeRegion endpoints.
    environmentVariables Map<String>
    Map of environment variable key-value pairs available to the web function at runtime.
    maxConcurrencyPerEnvironment Number
    Maximum number of concurrent requests handled per execution environment. The default is 64.
    telemetryConfig Property Map
    Telemetry configuration for the web function. See service_config.telemetry_config Block below.
    telemetryConfigActuals List<Property Map>
    Actual deployed telemetry configuration.
    timeoutSeconds Number
    Amount of time (in seconds) that Lambda allows the web function to run before stopping it. The default is 30.

    FunctionRevisionServiceConfigTelemetryConfig, FunctionRevisionServiceConfigTelemetryConfigArgs

    logging_config object
    Deployed logging configuration.
    loggingConfig Property Map
    Deployed logging configuration.

    FunctionRevisionServiceConfigTelemetryConfigActual, FunctionRevisionServiceConfigTelemetryConfigActualArgs

    logging_configs list(object)
    Deployed logging configuration.
    loggingConfigs List<Property Map>
    Deployed logging configuration.

    FunctionRevisionServiceConfigTelemetryConfigActualLoggingConfig, FunctionRevisionServiceConfigTelemetryConfigActualLoggingConfigArgs

    ApplicationLogLevel string
    Log level for application logs emitted by the web function.
    LogGroup string
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    SystemLogLevel string
    Log level for system logs emitted by the Lambda runtime.
    ApplicationLogLevel string
    Log level for application logs emitted by the web function.
    LogGroup string
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    SystemLogLevel string
    Log level for system logs emitted by the Lambda runtime.
    application_log_level string
    Log level for application logs emitted by the web function.
    log_group string
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    system_log_level string
    Log level for system logs emitted by the Lambda runtime.
    applicationLogLevel String
    Log level for application logs emitted by the web function.
    logGroup String
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    systemLogLevel String
    Log level for system logs emitted by the Lambda runtime.
    applicationLogLevel string
    Log level for application logs emitted by the web function.
    logGroup string
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    systemLogLevel string
    Log level for system logs emitted by the Lambda runtime.
    application_log_level str
    Log level for application logs emitted by the web function.
    log_group str
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    system_log_level str
    Log level for system logs emitted by the Lambda runtime.
    applicationLogLevel String
    Log level for application logs emitted by the web function.
    logGroup String
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    systemLogLevel String
    Log level for system logs emitted by the Lambda runtime.

    FunctionRevisionServiceConfigTelemetryConfigLoggingConfig, FunctionRevisionServiceConfigTelemetryConfigLoggingConfigArgs

    ApplicationLogLevel string
    Log level for application logs emitted by the web function.
    LogGroup string
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    SystemLogLevel string
    Log level for system logs emitted by the Lambda runtime.
    ApplicationLogLevel string
    Log level for application logs emitted by the web function.
    LogGroup string
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    SystemLogLevel string
    Log level for system logs emitted by the Lambda runtime.
    application_log_level string
    Log level for application logs emitted by the web function.
    log_group string
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    system_log_level string
    Log level for system logs emitted by the Lambda runtime.
    applicationLogLevel String
    Log level for application logs emitted by the web function.
    logGroup String
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    systemLogLevel String
    Log level for system logs emitted by the Lambda runtime.
    applicationLogLevel string
    Log level for application logs emitted by the web function.
    logGroup string
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    systemLogLevel string
    Log level for system logs emitted by the Lambda runtime.
    application_log_level str
    Log level for application logs emitted by the web function.
    log_group str
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    system_log_level str
    Log level for system logs emitted by the Lambda runtime.
    applicationLogLevel String
    Log level for application logs emitted by the web function.
    logGroup String
    Name of the Amazon CloudWatch Logs log group the web function sends logs to.
    systemLogLevel String
    Log level for system logs emitted by the Lambda runtime.

    FunctionRevisionTimeouts, FunctionRevisionTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Identity Schema

    Required

    • functionName (String) Web function name.
    • revisionId (String) ID of the revision.

    Optional

    • accountId (String) AWS Account where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import a revision using functionName and revisionId separated by a comma (,). For example:

    $ pulumi import aws:lambdaweb/functionRevision:FunctionRevision example example-function,rev-sglsh
    

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

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.55.0
    published on Friday, Nov 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial