Show / Hide Table of Contents

Class LayerVersionArgs

Inheritance
System.Object
InputArgs
ResourceArgs
LayerVersionArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Lambda
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LayerVersionArgs : ResourceArgs

Constructors

View Source

LayerVersionArgs()

Declaration
public LayerVersionArgs()

Properties

View Source

Code

The path to the function's deployment package within the local filesystem. If defined, The s3_-prefixed options cannot be used.

Declaration
public Input<Archive> Code { get; set; }
Property Value
Type Description
Input<Archive>
View Source

CompatibleRuntimes

A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified.

Declaration
public InputList<string> CompatibleRuntimes { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Description

Description of what your Lambda Layer does.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

LayerName

A unique name for your Lambda Layer

Declaration
public Input<string> LayerName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

LicenseInfo

License info for your Lambda Layer. See License Info.

Declaration
public Input<string> LicenseInfo { get; set; }
Property Value
Type Description
Input<System.String>
View Source

S3Bucket

The S3 bucket location containing the function's deployment package. Conflicts with filename. This bucket must reside in the same AWS region where you are creating the Lambda function.

Declaration
public Input<string> S3Bucket { get; set; }
Property Value
Type Description
Input<System.String>
View Source

S3Key

The S3 key of an object containing the function's deployment package. Conflicts with filename.

Declaration
public Input<string> S3Key { get; set; }
Property Value
Type Description
Input<System.String>
View Source

S3ObjectVersion

The object version containing the function's deployment package. Conflicts with filename.

Declaration
public Input<string> S3ObjectVersion { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SourceCodeHash

Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either filename or s3_key. The usual way to set this is ${filebase64sha256(&quot;file.zip&quot;)} (this provider 0.11.12 or later) or ${base64sha256(file(&quot;file.zip&quot;))} (this provider 0.11.11 and earlier), where "file.zip" is the local filename of the lambda layer source archive.

Declaration
public Input<string> SourceCodeHash { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.