Show / Hide Table of Contents

Class FunctionState

Inheritance
System.Object
InputArgs
ResourceArgs
FunctionState
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 FunctionState : ResourceArgs

Constructors

View Source

FunctionState()

Declaration
public FunctionState()

Properties

View Source

Arn

The Amazon Resource Name (ARN) identifying your Lambda Function.

Declaration
public Input<string> Arn { get; set; }
Property Value
Type Description
Input<System.String>
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

DeadLetterConfig

Nested block to configure the function's dead letter queue. See details below.

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

Description

Description of what your Lambda Function does.

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

Environment

The Lambda environment's configuration settings. Fields documented below.

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

Handler

The function entrypoint in your code.

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

InvokeArn

The ARN to be used for invoking Lambda Function from API Gateway - to be used in aws.apigateway.Integration's uri

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

KmsKeyArn

Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. If this configuration is provided when environment variables are not in use, the AWS Lambda API does not save this configuration and this provider will show a perpetual difference of adding the key. To fix the perpetual difference, remove this configuration.

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

LastModified

The date this resource was last modified.

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

Layers

List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See Lambda Layers

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

MemorySize

Amount of memory in MB your Lambda Function can use at runtime. Defaults to 128. See Limits

Declaration
public Input<int> MemorySize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Name

A unique name for your Lambda Function.

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

Publish

Whether to publish creation/change as new Lambda Function Version. Defaults to false.

Declaration
public Input<bool> Publish { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

QualifiedArn

The Amazon Resource Name (ARN) identifying your Lambda Function Version (if versioning is enabled via publish = true).

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

ReservedConcurrentExecutions

The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. Defaults to Unreserved Concurrency Limits -1. See Managing Concurrency

Declaration
public Input<int> ReservedConcurrentExecutions { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Role

IAM role attached to the Lambda Function. This governs both who / what can invoke your Lambda Function, as well as what resources our Lambda Function has access to. See Lambda Permission Model for more details.

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

Runtime

See Runtimes for valid values.

Declaration
public Input<string> Runtime { 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 and 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 function source archive.

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

SourceCodeSize

The size in bytes of the function .zip file.

Declaration
public Input<int> SourceCodeSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Tags

A mapping of tags to assign to the object.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

Timeout

The amount of time your Lambda Function has to run in seconds. Defaults to 3. See Limits

Declaration
public Input<int> Timeout { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

TracingConfig

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

Version

Latest published version of your Lambda Function.

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

VpcConfig

Provide this to allow your function to access your VPC. Fields documented below. See Lambda in VPC

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