We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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 dictionarydata "aws-native_lambda_get_web_function_revision" "name" {
# arguments
}The following arguments are supported:
- Revision
Arn string - The Amazon Resource Name (ARN) of the revision.
- Revision
Arn string - The Amazon Resource Name (ARN) of the revision.
- revision_
arn string - The Amazon Resource Name (ARN) of the revision.
- revision
Arn String - The Amazon Resource Name (ARN) of the revision.
- revision
Arn string - The Amazon Resource Name (ARN) of the revision.
- revision_
arn str - The Amazon Resource Name (ARN) of the revision.
- revision
Arn String - The Amazon Resource Name (ARN) of the revision.
getWebFunctionRevision Result
The following output properties are available:
- 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
Pulumi.
Aws Native. Lambda. Web Function Revision State - The current state of the revision.
- State
Reason 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
Web
Function Revision State Enum - The current state of the revision.
- State
Reason 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.
- 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
Web
Function Revision State - The current state of the revision.
- state
Reason 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
Web
Function Revision State - The current state of the revision.
- state
Reason 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
Web
Function Revision State - The current state of the revision.
- state_
reason str - 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.
Supporting Types
WebFunctionRevisionState
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi