We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.lambda.getLayerVersion
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Resource Type definition for AWS::Lambda::LayerVersion
Using getLayerVersion
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 getLayerVersion(args: GetLayerVersionArgs, opts?: InvokeOptions): Promise<GetLayerVersionResult>
function getLayerVersionOutput(args: GetLayerVersionOutputArgs, opts?: InvokeOptions): Output<GetLayerVersionResult>def get_layer_version(layer_version_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLayerVersionResult
def get_layer_version_output(layer_version_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLayerVersionResult]func LookupLayerVersion(ctx *Context, args *LookupLayerVersionArgs, opts ...InvokeOption) (*LookupLayerVersionResult, error)
func LookupLayerVersionOutput(ctx *Context, args *LookupLayerVersionOutputArgs, opts ...InvokeOption) LookupLayerVersionResultOutput> Note: This function is named LookupLayerVersion in the Go SDK.
public static class GetLayerVersion
{
public static Task<GetLayerVersionResult> InvokeAsync(GetLayerVersionArgs args, InvokeOptions? opts = null)
public static Output<GetLayerVersionResult> Invoke(GetLayerVersionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLayerVersionResult> getLayerVersion(GetLayerVersionArgs args, InvokeOptions options)
public static Output<GetLayerVersionResult> getLayerVersion(GetLayerVersionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:lambda:getLayerVersion
arguments:
# arguments dictionaryThe following arguments are supported:
- Layer
Version stringArn - The ARN of the layer version.
- Layer
Version stringArn - The ARN of the layer version.
- layer
Version StringArn - The ARN of the layer version.
- layer
Version stringArn - The ARN of the layer version.
- layer_
version_ strarn - The ARN of the layer version.
- layer
Version StringArn - The ARN of the layer version.
getLayerVersion Result
The following output properties are available:
- Layer
Version stringArn - The ARN of the layer version.
- Layer
Version stringArn - The ARN of the layer version.
- layer
Version StringArn - The ARN of the layer version.
- layer
Version stringArn - The ARN of the layer version.
- layer_
version_ strarn - The ARN of the layer version.
- layer
Version StringArn - The ARN of the layer version.
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.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
