1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lambda
  5. getLayerVersion

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.lambda.getLayerVersion

Explore with Pulumi AI

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 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>
Copy
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]
Copy
func LookupLayerVersion(ctx *Context, args *LookupLayerVersionArgs, opts ...InvokeOption) (*LookupLayerVersionResult, error)
func LookupLayerVersionOutput(ctx *Context, args *LookupLayerVersionOutputArgs, opts ...InvokeOption) LookupLayerVersionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetLayerVersionResult> getLayerVersion(GetLayerVersionArgs args, InvokeOptions options)
public static Output<GetLayerVersionResult> getLayerVersion(GetLayerVersionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:lambda:getLayerVersion
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LayerVersionArn This property is required. string
The ARN of the layer version.
LayerVersionArn This property is required. string
The ARN of the layer version.
layerVersionArn This property is required. String
The ARN of the layer version.
layerVersionArn This property is required. string
The ARN of the layer version.
layer_version_arn This property is required. str
The ARN of the layer version.
layerVersionArn This property is required. String
The ARN of the layer version.

getLayerVersion Result

The following output properties are available:

LayerVersionArn string
The ARN of the layer version.
LayerVersionArn string
The ARN of the layer version.
layerVersionArn String
The ARN of the layer version.
layerVersionArn string
The ARN of the layer version.
layer_version_arn str
The ARN of the layer version.
layerVersionArn String
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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi