1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. lambda
  6. getWebFunctionRevision

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource Type definition for AWS::Lambda::WebFunctionRevision. An immutable revision of a Lambda web function, containing the function code and configuration.

    Using getWebFunctionRevision

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWebFunctionRevision(args: GetWebFunctionRevisionArgs, opts?: InvokeOptions): Promise<GetWebFunctionRevisionResult>
    function getWebFunctionRevisionOutput(args: GetWebFunctionRevisionOutputArgs, opts?: InvokeOutputOptions): Output<GetWebFunctionRevisionResult>
    def get_web_function_revision(revision_arn: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetWebFunctionRevisionResult
    def get_web_function_revision_output(revision_arn: pulumi.Input[Optional[str]] = None,
                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetWebFunctionRevisionResult]
    func LookupWebFunctionRevision(ctx *Context, args *LookupWebFunctionRevisionArgs, opts ...InvokeOption) (*LookupWebFunctionRevisionResult, error)
    func LookupWebFunctionRevisionOutput(ctx *Context, args *LookupWebFunctionRevisionOutputArgs, opts ...InvokeOption) LookupWebFunctionRevisionResultOutput

    > Note: This function is named LookupWebFunctionRevision in the Go SDK.

    public static class GetWebFunctionRevision 
    {
        public static Task<GetWebFunctionRevisionResult> InvokeAsync(GetWebFunctionRevisionArgs args, InvokeOptions? opts = null)
        public static Output<GetWebFunctionRevisionResult> Invoke(GetWebFunctionRevisionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetWebFunctionRevisionResult> Invoke(GetWebFunctionRevisionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetWebFunctionRevisionResult> getWebFunctionRevision(GetWebFunctionRevisionArgs args, InvokeOptions options)
    public static Output<GetWebFunctionRevisionResult> getWebFunctionRevision(GetWebFunctionRevisionArgs args, InvokeOptions options)
    public static Output<GetWebFunctionRevisionResult> getWebFunctionRevision(GetWebFunctionRevisionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:lambda:getWebFunctionRevision
      arguments:
        # arguments dictionary
    data "aws-native_lambda_get_web_function_revision" "name" {
        # arguments
    }

    The following arguments are supported:

    RevisionArn string
    The Amazon Resource Name (ARN) of the revision.
    RevisionArn string
    The Amazon Resource Name (ARN) of the revision.
    revision_arn string
    The Amazon Resource Name (ARN) of the revision.
    revisionArn String
    The Amazon Resource Name (ARN) of the revision.
    revisionArn string
    The Amazon Resource Name (ARN) of the revision.
    revision_arn str
    The Amazon Resource Name (ARN) of the revision.
    revisionArn String
    The Amazon Resource Name (ARN) of the revision.

    getWebFunctionRevision Result

    The following output properties are available:

    CreatedAt string
    The timestamp when the revision was created.
    FunctionArn string
    The Amazon Resource Name (ARN) of the function.
    RevisionArn string
    The Amazon Resource Name (ARN) of the revision.
    RevisionId string
    The unique identifier of the revision.
    State Pulumi.AwsNative.Lambda.WebFunctionRevisionState
    The current state of the revision.
    StateReason string
    The reason for the revision's current state.
    CreatedAt string
    The timestamp when the revision was created.
    FunctionArn string
    The Amazon Resource Name (ARN) of the function.
    RevisionArn string
    The Amazon Resource Name (ARN) of the revision.
    RevisionId string
    The unique identifier of the revision.
    State WebFunctionRevisionStateEnum
    The current state of the revision.
    StateReason string
    The reason for the revision's current state.
    created_at string
    The timestamp when the revision was created.
    function_arn string
    The Amazon Resource Name (ARN) of the function.
    revision_arn string
    The Amazon Resource Name (ARN) of the revision.
    revision_id string
    The unique identifier of the revision.
    state "Pending" | "Active" | "Failed"
    The current state of the revision.
    state_reason string
    The reason for the revision's current state.
    createdAt String
    The timestamp when the revision was created.
    functionArn String
    The Amazon Resource Name (ARN) of the function.
    revisionArn String
    The Amazon Resource Name (ARN) of the revision.
    revisionId String
    The unique identifier of the revision.
    state WebFunctionRevisionState
    The current state of the revision.
    stateReason String
    The reason for the revision's current state.
    createdAt string
    The timestamp when the revision was created.
    functionArn string
    The Amazon Resource Name (ARN) of the function.
    revisionArn string
    The Amazon Resource Name (ARN) of the revision.
    revisionId string
    The unique identifier of the revision.
    state WebFunctionRevisionState
    The current state of the revision.
    stateReason string
    The reason for the revision's current state.
    created_at str
    The timestamp when the revision was created.
    function_arn str
    The Amazon Resource Name (ARN) of the function.
    revision_arn str
    The Amazon Resource Name (ARN) of the revision.
    revision_id str
    The unique identifier of the revision.
    state WebFunctionRevisionState
    The current state of the revision.
    state_reason str
    The reason for the revision's current state.
    createdAt String
    The timestamp when the revision was created.
    functionArn String
    The Amazon Resource Name (ARN) of the function.
    revisionArn String
    The Amazon Resource Name (ARN) of the revision.
    revisionId String
    The unique identifier of the revision.
    state "Pending" | "Active" | "Failed"
    The current state of the revision.
    stateReason String
    The reason for the revision's current state.

    Supporting Types

    WebFunctionRevisionState

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial