We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi
Resource Type definition for AWS::Lambda::Version
Using getVersion
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 getVersion(args: GetVersionArgs, opts?: InvokeOptions): Promise<GetVersionResult>
function getVersionOutput(args: GetVersionOutputArgs, opts?: InvokeOptions): Output<GetVersionResult>def get_version(function_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVersionResult
def get_version_output(function_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVersionResult]func LookupVersion(ctx *Context, args *LookupVersionArgs, opts ...InvokeOption) (*LookupVersionResult, error)
func LookupVersionOutput(ctx *Context, args *LookupVersionOutputArgs, opts ...InvokeOption) LookupVersionResultOutput> Note: This function is named LookupVersion in the Go SDK.
public static class GetVersion
{
public static Task<GetVersionResult> InvokeAsync(GetVersionArgs args, InvokeOptions? opts = null)
public static Output<GetVersionResult> Invoke(GetVersionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
public static Output<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:lambda:getVersion
arguments:
# arguments dictionaryThe following arguments are supported:
- Function
Arn string - The ARN of the version.
- Function
Arn string - The ARN of the version.
- function
Arn String - The ARN of the version.
- function
Arn string - The ARN of the version.
- function_
arn str - The ARN of the version.
- function
Arn String - The ARN of the version.
getVersion Result
The following output properties are available:
- Function
Arn string - The ARN of the version.
- Function
Scaling Pulumi.Config Aws Native. Lambda. Outputs. Version Function Scaling Config - The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
- Version
Value string - The version number.
- Function
Arn string - The ARN of the version.
- Function
Scaling VersionConfig Function Scaling Config - The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
- Version string
- The version number.
- function
Arn String - The ARN of the version.
- function
Scaling VersionConfig Function Scaling Config - The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
- version String
- The version number.
- function
Arn string - The ARN of the version.
- function
Scaling VersionConfig Function Scaling Config - The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
- version string
- The version number.
- function_
arn str - The ARN of the version.
- function_
scaling_ Versionconfig Function Scaling Config - The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
- version str
- The version number.
- function
Arn String - The ARN of the version.
- function
Scaling Property MapConfig - The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
- version String
- The version number.
Supporting Types
VersionFunctionScalingConfig
- Max
Execution intEnvironments - The maximum number of execution environments that can be provisioned for the function.
- Min
Execution intEnvironments - The minimum number of execution environments to maintain for the function.
- Max
Execution intEnvironments - The maximum number of execution environments that can be provisioned for the function.
- Min
Execution intEnvironments - The minimum number of execution environments to maintain for the function.
- max
Execution IntegerEnvironments - The maximum number of execution environments that can be provisioned for the function.
- min
Execution IntegerEnvironments - The minimum number of execution environments to maintain for the function.
- max
Execution numberEnvironments - The maximum number of execution environments that can be provisioned for the function.
- min
Execution numberEnvironments - The minimum number of execution environments to maintain for the function.
- max_
execution_ intenvironments - The maximum number of execution environments that can be provisioned for the function.
- min_
execution_ intenvironments - The minimum number of execution environments to maintain for the function.
- max
Execution NumberEnvironments - The maximum number of execution environments that can be provisioned for the function.
- min
Execution NumberEnvironments - The minimum number of execution environments to maintain for the function.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi
