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.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.lambda.getLayerVersion

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:lambda:getLayerVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.

    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
    aws-native logo

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi