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

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::WebFunction. Creates a Lambda Web function container.

    Using getWebFunction

    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 getWebFunction(args: GetWebFunctionArgs, opts?: InvokeOptions): Promise<GetWebFunctionResult>
    function getWebFunctionOutput(args: GetWebFunctionOutputArgs, opts?: InvokeOutputOptions): Output<GetWebFunctionResult>
    def get_web_function(function_arn: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetWebFunctionResult
    def get_web_function_output(function_arn: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetWebFunctionResult]
    func LookupWebFunction(ctx *Context, args *LookupWebFunctionArgs, opts ...InvokeOption) (*LookupWebFunctionResult, error)
    func LookupWebFunctionOutput(ctx *Context, args *LookupWebFunctionOutputArgs, opts ...InvokeOption) LookupWebFunctionResultOutput

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

    public static class GetWebFunction 
    {
        public static Task<GetWebFunctionResult> InvokeAsync(GetWebFunctionArgs args, InvokeOptions? opts = null)
        public static Output<GetWebFunctionResult> Invoke(GetWebFunctionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetWebFunctionResult> Invoke(GetWebFunctionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetWebFunctionResult> getWebFunction(GetWebFunctionArgs args, InvokeOptions options)
    public static Output<GetWebFunctionResult> getWebFunction(GetWebFunctionArgs args, InvokeOptions options)
    public static Output<GetWebFunctionResult> getWebFunction(GetWebFunctionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:lambda:getWebFunction
      arguments:
        # arguments dictionary
    data "aws-native_lambda_get_web_function" "name" {
        # arguments
    }

    The following arguments are supported:

    FunctionArn string
    The Amazon Resource Name (ARN) of the function.
    FunctionArn string
    The Amazon Resource Name (ARN) of the function.
    function_arn string
    The Amazon Resource Name (ARN) of the function.
    functionArn String
    The Amazon Resource Name (ARN) of the function.
    functionArn string
    The Amazon Resource Name (ARN) of the function.
    function_arn str
    The Amazon Resource Name (ARN) of the function.
    functionArn String
    The Amazon Resource Name (ARN) of the function.

    getWebFunction Result

    The following output properties are available:

    CreatedAt string
    The timestamp when the function was created.
    FunctionArn string
    The Amazon Resource Name (ARN) of the function.
    State Pulumi.AwsNative.Lambda.WebFunctionState
    The current state of the function.
    StateReason string
    The reason for the function's current state.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of tags to apply to the function.
    UpdatedAt string
    The timestamp when the function was last updated.
    CreatedAt string
    The timestamp when the function was created.
    FunctionArn string
    The Amazon Resource Name (ARN) of the function.
    State WebFunctionStateEnum
    The current state of the function.
    StateReason string
    The reason for the function's current state.
    Tags Tag
    A list of tags to apply to the function.
    UpdatedAt string
    The timestamp when the function was last updated.
    created_at string
    The timestamp when the function was created.
    function_arn string
    The Amazon Resource Name (ARN) of the function.
    state "Pending" | "Active" | "Failed" | "Deleting"
    The current state of the function.
    state_reason string
    The reason for the function's current state.
    tags list(object)
    A list of tags to apply to the function.
    updated_at string
    The timestamp when the function was last updated.
    createdAt String
    The timestamp when the function was created.
    functionArn String
    The Amazon Resource Name (ARN) of the function.
    state WebFunctionState
    The current state of the function.
    stateReason String
    The reason for the function's current state.
    tags List<Tag>
    A list of tags to apply to the function.
    updatedAt String
    The timestamp when the function was last updated.
    createdAt string
    The timestamp when the function was created.
    functionArn string
    The Amazon Resource Name (ARN) of the function.
    state WebFunctionState
    The current state of the function.
    stateReason string
    The reason for the function's current state.
    tags Tag[]
    A list of tags to apply to the function.
    updatedAt string
    The timestamp when the function was last updated.
    created_at str
    The timestamp when the function was created.
    function_arn str
    The Amazon Resource Name (ARN) of the function.
    state WebFunctionState
    The current state of the function.
    state_reason str
    The reason for the function's current state.
    tags Sequence[root_Tag]
    A list of tags to apply to the function.
    updated_at str
    The timestamp when the function was last updated.
    createdAt String
    The timestamp when the function was created.
    functionArn String
    The Amazon Resource Name (ARN) of the function.
    state "Pending" | "Active" | "Failed" | "Deleting"
    The current state of the function.
    stateReason String
    The reason for the function's current state.
    tags List<Property Map>
    A list of tags to apply to the function.
    updatedAt String
    The timestamp when the function was last updated.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    WebFunctionState

    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