Class LayerVersionArgs
Inherited Members
Namespace: Pulumi.Aws.Lambda
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LayerVersionArgs : ResourceArgs
Constructors
View SourceLayerVersionArgs()
Declaration
public LayerVersionArgs()
Properties
View SourceCode
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> |
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> |
Description
Description of what your Lambda Layer does.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LayerName
A unique name for your Lambda Layer
Declaration
public Input<string> LayerName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LicenseInfo
License info for your Lambda Layer. See License Info.
Declaration
public Input<string> LicenseInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
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> |
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("file.zip")} (this provider 0.11.12 or later) or ${base64sha256(file("file.zip"))} (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> |