lambda

package
v3.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) identifying your Lambda function alias.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Description of the alias.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Lambda Function name or ARN.
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`.
	FunctionVersion pulumi.StringOutput `pulumi:"functionVersion"`
	// The ARN to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`
	InvokeArn pulumi.StringOutput `pulumi:"invokeArn"`
	// Name for the alias you are creating. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)`
	Name pulumi.StringOutput `pulumi:"name"`
	// The Lambda alias' route configuration settings. Fields documented below
	RoutingConfig AliasRoutingConfigPtrOutput `pulumi:"routingConfig"`
}

Creates a Lambda function alias. Creates an alias that points to the specified Lambda function version.

For information about Lambda and how to use it, see [What is AWS Lambda?](http://docs.aws.amazon.com/lambda/latest/dg/welcome.html) For information about function aliases, see [CreateAlias](http://docs.aws.amazon.com/lambda/latest/dg/API_CreateAlias.html) and [AliasRoutingConfiguration](https://docs.aws.amazon.com/lambda/latest/dg/API_AliasRoutingConfiguration.html) in the API docs.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewAlias(ctx, "testLambdaAlias", &lambda.AliasArgs{
			Description:     pulumi.String("a sample description"),
			FunctionName:    pulumi.Any(aws_lambda_function.Lambda_function_test.Arn),
			FunctionVersion: pulumi.String("1"),
			RoutingConfig: &lambda.AliasRoutingConfigArgs{
				AdditionalVersionWeights: pulumi.Float64Map{
					"2": pulumi.Float64(0.5),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Lambda Function Aliases can be imported using the `function_name/alias`, e.g.

```sh

$ pulumi import aws:lambda/alias:Alias test_lambda_alias my_test_lambda_function/my_alias

```

func GetAlias

func GetAlias(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AliasState, opts ...pulumi.ResourceOption) (*Alias, error)

GetAlias gets an existing Alias resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlias

func NewAlias(ctx *pulumi.Context,
	name string, args *AliasArgs, opts ...pulumi.ResourceOption) (*Alias, error)

NewAlias registers a new resource with the given unique name, arguments, and options.

func (Alias) ElementType added in v3.13.0

func (Alias) ElementType() reflect.Type

func (Alias) ToAliasOutput added in v3.13.0

func (i Alias) ToAliasOutput() AliasOutput

func (Alias) ToAliasOutputWithContext added in v3.13.0

func (i Alias) ToAliasOutputWithContext(ctx context.Context) AliasOutput

type AliasArgs

type AliasArgs struct {
	// Description of the alias.
	Description pulumi.StringPtrInput
	// Lambda Function name or ARN.
	FunctionName pulumi.StringInput
	// Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`.
	FunctionVersion pulumi.StringInput
	// Name for the alias you are creating. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)`
	Name pulumi.StringPtrInput
	// The Lambda alias' route configuration settings. Fields documented below
	RoutingConfig AliasRoutingConfigPtrInput
}

The set of arguments for constructing a Alias resource.

func (AliasArgs) ElementType

func (AliasArgs) ElementType() reflect.Type

type AliasInput added in v3.13.0

type AliasInput interface {
	pulumi.Input

	ToAliasOutput() AliasOutput
	ToAliasOutputWithContext(ctx context.Context) AliasOutput
}

type AliasOutput added in v3.13.0

type AliasOutput struct {
	*pulumi.OutputState
}

func (AliasOutput) ElementType added in v3.13.0

func (AliasOutput) ElementType() reflect.Type

func (AliasOutput) ToAliasOutput added in v3.13.0

func (o AliasOutput) ToAliasOutput() AliasOutput

func (AliasOutput) ToAliasOutputWithContext added in v3.13.0

func (o AliasOutput) ToAliasOutputWithContext(ctx context.Context) AliasOutput

type AliasRoutingConfig

type AliasRoutingConfig struct {
	// A map that defines the proportion of events that should be sent to different versions of a lambda function.
	AdditionalVersionWeights map[string]float64 `pulumi:"additionalVersionWeights"`
}

type AliasRoutingConfigArgs

type AliasRoutingConfigArgs struct {
	// A map that defines the proportion of events that should be sent to different versions of a lambda function.
	AdditionalVersionWeights pulumi.Float64MapInput `pulumi:"additionalVersionWeights"`
}

func (AliasRoutingConfigArgs) ElementType

func (AliasRoutingConfigArgs) ElementType() reflect.Type

func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutput

func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput

func (AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext

func (i AliasRoutingConfigArgs) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput

func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput

func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput

func (AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext

func (i AliasRoutingConfigArgs) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput

type AliasRoutingConfigInput

type AliasRoutingConfigInput interface {
	pulumi.Input

	ToAliasRoutingConfigOutput() AliasRoutingConfigOutput
	ToAliasRoutingConfigOutputWithContext(context.Context) AliasRoutingConfigOutput
}

AliasRoutingConfigInput is an input type that accepts AliasRoutingConfigArgs and AliasRoutingConfigOutput values. You can construct a concrete instance of `AliasRoutingConfigInput` via:

AliasRoutingConfigArgs{...}

type AliasRoutingConfigOutput

type AliasRoutingConfigOutput struct{ *pulumi.OutputState }

func (AliasRoutingConfigOutput) AdditionalVersionWeights

func (o AliasRoutingConfigOutput) AdditionalVersionWeights() pulumi.Float64MapOutput

A map that defines the proportion of events that should be sent to different versions of a lambda function.

func (AliasRoutingConfigOutput) ElementType

func (AliasRoutingConfigOutput) ElementType() reflect.Type

func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutput

func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutput() AliasRoutingConfigOutput

func (AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext

func (o AliasRoutingConfigOutput) ToAliasRoutingConfigOutputWithContext(ctx context.Context) AliasRoutingConfigOutput

func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput

func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput

func (AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext

func (o AliasRoutingConfigOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput

type AliasRoutingConfigPtrInput

type AliasRoutingConfigPtrInput interface {
	pulumi.Input

	ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput
	ToAliasRoutingConfigPtrOutputWithContext(context.Context) AliasRoutingConfigPtrOutput
}

AliasRoutingConfigPtrInput is an input type that accepts AliasRoutingConfigArgs, AliasRoutingConfigPtr and AliasRoutingConfigPtrOutput values. You can construct a concrete instance of `AliasRoutingConfigPtrInput` via:

        AliasRoutingConfigArgs{...}

or:

        nil

type AliasRoutingConfigPtrOutput

type AliasRoutingConfigPtrOutput struct{ *pulumi.OutputState }

func (AliasRoutingConfigPtrOutput) AdditionalVersionWeights

func (o AliasRoutingConfigPtrOutput) AdditionalVersionWeights() pulumi.Float64MapOutput

A map that defines the proportion of events that should be sent to different versions of a lambda function.

func (AliasRoutingConfigPtrOutput) Elem

func (AliasRoutingConfigPtrOutput) ElementType

func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput

func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutput() AliasRoutingConfigPtrOutput

func (AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext

func (o AliasRoutingConfigPtrOutput) ToAliasRoutingConfigPtrOutputWithContext(ctx context.Context) AliasRoutingConfigPtrOutput

type AliasState

type AliasState struct {
	// The Amazon Resource Name (ARN) identifying your Lambda function alias.
	Arn pulumi.StringPtrInput
	// Description of the alias.
	Description pulumi.StringPtrInput
	// Lambda Function name or ARN.
	FunctionName pulumi.StringPtrInput
	// Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`.
	FunctionVersion pulumi.StringPtrInput
	// The ARN to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`
	InvokeArn pulumi.StringPtrInput
	// Name for the alias you are creating. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)`
	Name pulumi.StringPtrInput
	// The Lambda alias' route configuration settings. Fields documented below
	RoutingConfig AliasRoutingConfigPtrInput
}

func (AliasState) ElementType

func (AliasState) ElementType() reflect.Type

type CodeSigningConfig added in v3.15.0

type CodeSigningConfig struct {
	pulumi.CustomResourceState

	// A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below.
	AllowedPublishers CodeSigningConfigAllowedPublishersOutput `pulumi:"allowedPublishers"`
	// The Amazon Resource Name (ARN) of the code signing configuration.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Unique identifier for the code signing configuration.
	ConfigId pulumi.StringOutput `pulumi:"configId"`
	// Descriptive name for this code signing configuration.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The date and time that the code signing configuration was last modified.
	LastModified pulumi.StringOutput `pulumi:"lastModified"`
	// A configuration block of code signing policies that define the actions to take if the validation checks fail. Detailed below.
	Policies CodeSigningConfigPoliciesOutput `pulumi:"policies"`
}

Provides a Lambda Code Signing Config resource. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).

For information about Lambda code signing configurations and how to use them, see [configuring code signing for Lambda functions](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewCodeSigningConfig(ctx, "newCsc", &lambda.CodeSigningConfigArgs{
			AllowedPublishers: &lambda.CodeSigningConfigAllowedPublishersArgs{
				SigningProfileVersionArns: pulumi.StringArray{
					pulumi.Any(aws_signer_signing_profile.Example1.Arn),
					pulumi.Any(aws_signer_signing_profile.Example2.Arn),
				},
			},
			Policies: &lambda.CodeSigningConfigPoliciesArgs{
				UntrustedArtifactOnDeployment: pulumi.String("Warn"),
			},
			Description: pulumi.String("My awesome code signing config."),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Code Signing Configs can be imported using their ARN, e.g.

```sh

$ pulumi import aws:lambda/codeSigningConfig:CodeSigningConfig imported_csc arn:aws:lambda:us-west-2:123456789012:code-signing-config:csc-0f6c334abcdea4d8b

```

func GetCodeSigningConfig added in v3.15.0

func GetCodeSigningConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CodeSigningConfigState, opts ...pulumi.ResourceOption) (*CodeSigningConfig, error)

GetCodeSigningConfig gets an existing CodeSigningConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCodeSigningConfig added in v3.15.0

func NewCodeSigningConfig(ctx *pulumi.Context,
	name string, args *CodeSigningConfigArgs, opts ...pulumi.ResourceOption) (*CodeSigningConfig, error)

NewCodeSigningConfig registers a new resource with the given unique name, arguments, and options.

func (CodeSigningConfig) ElementType added in v3.15.0

func (CodeSigningConfig) ElementType() reflect.Type

func (CodeSigningConfig) ToCodeSigningConfigOutput added in v3.15.0

func (i CodeSigningConfig) ToCodeSigningConfigOutput() CodeSigningConfigOutput

func (CodeSigningConfig) ToCodeSigningConfigOutputWithContext added in v3.15.0

func (i CodeSigningConfig) ToCodeSigningConfigOutputWithContext(ctx context.Context) CodeSigningConfigOutput

type CodeSigningConfigAllowedPublishers added in v3.15.0

type CodeSigningConfigAllowedPublishers struct {
	// The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
	SigningProfileVersionArns []string `pulumi:"signingProfileVersionArns"`
}

type CodeSigningConfigAllowedPublishersArgs added in v3.15.0

type CodeSigningConfigAllowedPublishersArgs struct {
	// The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
	SigningProfileVersionArns pulumi.StringArrayInput `pulumi:"signingProfileVersionArns"`
}

func (CodeSigningConfigAllowedPublishersArgs) ElementType added in v3.15.0

func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutput added in v3.15.0

func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput

func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutputWithContext added in v3.15.0

func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersOutput

func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutput added in v3.15.0

func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput

func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext added in v3.15.0

func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersPtrOutput

type CodeSigningConfigAllowedPublishersInput added in v3.15.0

type CodeSigningConfigAllowedPublishersInput interface {
	pulumi.Input

	ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput
	ToCodeSigningConfigAllowedPublishersOutputWithContext(context.Context) CodeSigningConfigAllowedPublishersOutput
}

CodeSigningConfigAllowedPublishersInput is an input type that accepts CodeSigningConfigAllowedPublishersArgs and CodeSigningConfigAllowedPublishersOutput values. You can construct a concrete instance of `CodeSigningConfigAllowedPublishersInput` via:

CodeSigningConfigAllowedPublishersArgs{...}

type CodeSigningConfigAllowedPublishersOutput added in v3.15.0

type CodeSigningConfigAllowedPublishersOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigAllowedPublishersOutput) ElementType added in v3.15.0

func (CodeSigningConfigAllowedPublishersOutput) SigningProfileVersionArns added in v3.15.0

The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.

func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutput added in v3.15.0

func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput

func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutputWithContext added in v3.15.0

func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersOutput

func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutput added in v3.15.0

func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput

func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext added in v3.15.0

func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersPtrOutput

type CodeSigningConfigAllowedPublishersPtrInput added in v3.15.0

type CodeSigningConfigAllowedPublishersPtrInput interface {
	pulumi.Input

	ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput
	ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(context.Context) CodeSigningConfigAllowedPublishersPtrOutput
}

CodeSigningConfigAllowedPublishersPtrInput is an input type that accepts CodeSigningConfigAllowedPublishersArgs, CodeSigningConfigAllowedPublishersPtr and CodeSigningConfigAllowedPublishersPtrOutput values. You can construct a concrete instance of `CodeSigningConfigAllowedPublishersPtrInput` via:

        CodeSigningConfigAllowedPublishersArgs{...}

or:

        nil

type CodeSigningConfigAllowedPublishersPtrOutput added in v3.15.0

type CodeSigningConfigAllowedPublishersPtrOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigAllowedPublishersPtrOutput) Elem added in v3.15.0

func (CodeSigningConfigAllowedPublishersPtrOutput) ElementType added in v3.15.0

func (CodeSigningConfigAllowedPublishersPtrOutput) SigningProfileVersionArns added in v3.15.0

The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.

func (CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutput added in v3.15.0

func (o CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput

func (CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext added in v3.15.0

func (o CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext(ctx context.Context) CodeSigningConfigAllowedPublishersPtrOutput

type CodeSigningConfigArgs added in v3.15.0

type CodeSigningConfigArgs struct {
	// A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below.
	AllowedPublishers CodeSigningConfigAllowedPublishersInput
	// Descriptive name for this code signing configuration.
	Description pulumi.StringPtrInput
	// A configuration block of code signing policies that define the actions to take if the validation checks fail. Detailed below.
	Policies CodeSigningConfigPoliciesPtrInput
}

The set of arguments for constructing a CodeSigningConfig resource.

func (CodeSigningConfigArgs) ElementType added in v3.15.0

func (CodeSigningConfigArgs) ElementType() reflect.Type

type CodeSigningConfigInput added in v3.15.0

type CodeSigningConfigInput interface {
	pulumi.Input

	ToCodeSigningConfigOutput() CodeSigningConfigOutput
	ToCodeSigningConfigOutputWithContext(ctx context.Context) CodeSigningConfigOutput
}

type CodeSigningConfigOutput added in v3.15.0

type CodeSigningConfigOutput struct {
	*pulumi.OutputState
}

func (CodeSigningConfigOutput) ElementType added in v3.15.0

func (CodeSigningConfigOutput) ElementType() reflect.Type

func (CodeSigningConfigOutput) ToCodeSigningConfigOutput added in v3.15.0

func (o CodeSigningConfigOutput) ToCodeSigningConfigOutput() CodeSigningConfigOutput

func (CodeSigningConfigOutput) ToCodeSigningConfigOutputWithContext added in v3.15.0

func (o CodeSigningConfigOutput) ToCodeSigningConfigOutputWithContext(ctx context.Context) CodeSigningConfigOutput

type CodeSigningConfigPolicies added in v3.15.0

type CodeSigningConfigPolicies struct {
	// Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: `Warn`, `Enforce`. Default value: `Warn`.
	UntrustedArtifactOnDeployment string `pulumi:"untrustedArtifactOnDeployment"`
}

type CodeSigningConfigPoliciesArgs added in v3.15.0

type CodeSigningConfigPoliciesArgs struct {
	// Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: `Warn`, `Enforce`. Default value: `Warn`.
	UntrustedArtifactOnDeployment pulumi.StringInput `pulumi:"untrustedArtifactOnDeployment"`
}

func (CodeSigningConfigPoliciesArgs) ElementType added in v3.15.0

func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutput added in v3.15.0

func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput

func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutputWithContext added in v3.15.0

func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesOutput

func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutput added in v3.15.0

func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput

func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutputWithContext added in v3.15.0

func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesPtrOutput

type CodeSigningConfigPoliciesInput added in v3.15.0

type CodeSigningConfigPoliciesInput interface {
	pulumi.Input

	ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput
	ToCodeSigningConfigPoliciesOutputWithContext(context.Context) CodeSigningConfigPoliciesOutput
}

CodeSigningConfigPoliciesInput is an input type that accepts CodeSigningConfigPoliciesArgs and CodeSigningConfigPoliciesOutput values. You can construct a concrete instance of `CodeSigningConfigPoliciesInput` via:

CodeSigningConfigPoliciesArgs{...}

type CodeSigningConfigPoliciesOutput added in v3.15.0

type CodeSigningConfigPoliciesOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigPoliciesOutput) ElementType added in v3.15.0

func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutput added in v3.15.0

func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput

func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutputWithContext added in v3.15.0

func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesOutput

func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutput added in v3.15.0

func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput

func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext added in v3.15.0

func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesPtrOutput

func (CodeSigningConfigPoliciesOutput) UntrustedArtifactOnDeployment added in v3.15.0

func (o CodeSigningConfigPoliciesOutput) UntrustedArtifactOnDeployment() pulumi.StringOutput

Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: `Warn`, `Enforce`. Default value: `Warn`.

type CodeSigningConfigPoliciesPtrInput added in v3.15.0

type CodeSigningConfigPoliciesPtrInput interface {
	pulumi.Input

	ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput
	ToCodeSigningConfigPoliciesPtrOutputWithContext(context.Context) CodeSigningConfigPoliciesPtrOutput
}

CodeSigningConfigPoliciesPtrInput is an input type that accepts CodeSigningConfigPoliciesArgs, CodeSigningConfigPoliciesPtr and CodeSigningConfigPoliciesPtrOutput values. You can construct a concrete instance of `CodeSigningConfigPoliciesPtrInput` via:

        CodeSigningConfigPoliciesArgs{...}

or:

        nil

func CodeSigningConfigPoliciesPtr added in v3.15.0

type CodeSigningConfigPoliciesPtrOutput added in v3.15.0

type CodeSigningConfigPoliciesPtrOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigPoliciesPtrOutput) Elem added in v3.15.0

func (CodeSigningConfigPoliciesPtrOutput) ElementType added in v3.15.0

func (CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutput added in v3.15.0

func (o CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput

func (CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext added in v3.15.0

func (o CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext(ctx context.Context) CodeSigningConfigPoliciesPtrOutput

func (CodeSigningConfigPoliciesPtrOutput) UntrustedArtifactOnDeployment added in v3.15.0

func (o CodeSigningConfigPoliciesPtrOutput) UntrustedArtifactOnDeployment() pulumi.StringPtrOutput

Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: `Warn`, `Enforce`. Default value: `Warn`.

type CodeSigningConfigState added in v3.15.0

type CodeSigningConfigState struct {
	// A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below.
	AllowedPublishers CodeSigningConfigAllowedPublishersPtrInput
	// The Amazon Resource Name (ARN) of the code signing configuration.
	Arn pulumi.StringPtrInput
	// Unique identifier for the code signing configuration.
	ConfigId pulumi.StringPtrInput
	// Descriptive name for this code signing configuration.
	Description pulumi.StringPtrInput
	// The date and time that the code signing configuration was last modified.
	LastModified pulumi.StringPtrInput
	// A configuration block of code signing policies that define the actions to take if the validation checks fail. Detailed below.
	Policies CodeSigningConfigPoliciesPtrInput
}

func (CodeSigningConfigState) ElementType added in v3.15.0

func (CodeSigningConfigState) ElementType() reflect.Type

type EventSourceMapping

type EventSourceMapping struct {
	pulumi.CustomResourceState

	// The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB and Kinesis, `10` for SQS.
	BatchSize                  pulumi.IntPtrOutput                          `pulumi:"batchSize"`
	BisectBatchOnFunctionError pulumi.BoolPtrOutput                         `pulumi:"bisectBatchOnFunctionError"`
	DestinationConfig          EventSourceMappingDestinationConfigPtrOutput `pulumi:"destinationConfig"`
	// Determines if the mapping will be enabled on creation. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The event source ARN - can be a Kinesis stream, DynamoDB stream, or SQS queue.
	EventSourceArn pulumi.StringOutput `pulumi:"eventSourceArn"`
	// The the ARN of the Lambda function the event source mapping is sending events to. (Note: this is a computed value that differs from `functionName` above.)
	FunctionArn pulumi.StringOutput `pulumi:"functionArn"`
	// The name or the ARN of the Lambda function that will be subscribing to events.
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// The date this resource was last modified.
	LastModified pulumi.StringOutput `pulumi:"lastModified"`
	// The result of the last AWS Lambda invocation of your Lambda function.
	LastProcessingResult pulumi.StringOutput `pulumi:"lastProcessingResult"`
	// The maximum amount of time to gather records before invoking the function, in seconds.  Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function.
	MaximumBatchingWindowInSeconds pulumi.IntPtrOutput `pulumi:"maximumBatchingWindowInSeconds"`
	MaximumRecordAgeInSeconds      pulumi.IntOutput    `pulumi:"maximumRecordAgeInSeconds"`
	MaximumRetryAttempts           pulumi.IntOutput    `pulumi:"maximumRetryAttempts"`
	ParallelizationFactor          pulumi.IntOutput    `pulumi:"parallelizationFactor"`
	// The position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType).
	StartingPosition pulumi.StringPtrOutput `pulumi:"startingPosition"`
	// A timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `startingPosition` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen.
	// * `parallelizationFactor`: - (Optional) The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10.
	// * `maximumRetryAttempts`: - (Optional) The maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum of 0, maximum and default of 10000.
	// * `maximumRecordAgeInSeconds`: - (Optional) The maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Minimum of 60, maximum and default of 604800.
	// * `bisectBatchOnFunctionError`: - (Optional) If the function returns an error, split the batch in two and retry. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.
	// * `destinationConfig`: - (Optional) An Amazon SQS queue or Amazon SNS topic destination for failed records. Only available for stream sources (DynamoDB and Kinesis). Detailed below.
	StartingPositionTimestamp pulumi.StringPtrOutput `pulumi:"startingPositionTimestamp"`
	// The state of the event source mapping.
	State pulumi.StringOutput `pulumi:"state"`
	// The reason the event source mapping is in its current state.
	StateTransitionReason pulumi.StringOutput `pulumi:"stateTransitionReason"`
	// The UUID of the created event source mapping.
	Uuid pulumi.StringOutput `pulumi:"uuid"`
}

Provides a Lambda event source mapping. This allows Lambda functions to get events from Kinesis, DynamoDB and SQS.

For information about Lambda and how to use it, see [What is AWS Lambda?](http://docs.aws.amazon.com/lambda/latest/dg/welcome.html). For information about event source mappings, see [CreateEventSourceMapping](http://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html) in the API docs.

## Example Usage ### DynamoDB

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn:   pulumi.Any(aws_dynamodb_table.Example.Stream_arn),
			FunctionName:     pulumi.Any(aws_lambda_function.Example.Arn),
			StartingPosition: pulumi.String("LATEST"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Kinesis

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn:   pulumi.Any(aws_kinesis_stream.Example.Arn),
			FunctionName:     pulumi.Any(aws_lambda_function.Example.Arn),
			StartingPosition: pulumi.String("LATEST"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### SQS

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn: pulumi.Any(aws_sqs_queue.Sqs_queue_test.Arn),
			FunctionName:   pulumi.Any(aws_lambda_function.Example.Arn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Lambda event source mappings can be imported using the `UUID` (event source mapping identifier), e.g.

```sh

$ pulumi import aws:lambda/eventSourceMapping:EventSourceMapping event_source_mapping 12345kxodurf3443

```

[3]https://docs.aws.amazon.com/lambda/latest/dg/API_GetEventSourceMapping.html

func GetEventSourceMapping

func GetEventSourceMapping(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventSourceMappingState, opts ...pulumi.ResourceOption) (*EventSourceMapping, error)

GetEventSourceMapping gets an existing EventSourceMapping resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventSourceMapping

func NewEventSourceMapping(ctx *pulumi.Context,
	name string, args *EventSourceMappingArgs, opts ...pulumi.ResourceOption) (*EventSourceMapping, error)

NewEventSourceMapping registers a new resource with the given unique name, arguments, and options.

func (EventSourceMapping) ElementType added in v3.13.0

func (EventSourceMapping) ElementType() reflect.Type

func (EventSourceMapping) ToEventSourceMappingOutput added in v3.13.0

func (i EventSourceMapping) ToEventSourceMappingOutput() EventSourceMappingOutput

func (EventSourceMapping) ToEventSourceMappingOutputWithContext added in v3.13.0

func (i EventSourceMapping) ToEventSourceMappingOutputWithContext(ctx context.Context) EventSourceMappingOutput

type EventSourceMappingArgs

type EventSourceMappingArgs struct {
	// The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB and Kinesis, `10` for SQS.
	BatchSize                  pulumi.IntPtrInput
	BisectBatchOnFunctionError pulumi.BoolPtrInput
	DestinationConfig          EventSourceMappingDestinationConfigPtrInput
	// Determines if the mapping will be enabled on creation. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The event source ARN - can be a Kinesis stream, DynamoDB stream, or SQS queue.
	EventSourceArn pulumi.StringInput
	// The name or the ARN of the Lambda function that will be subscribing to events.
	FunctionName pulumi.StringInput
	// The maximum amount of time to gather records before invoking the function, in seconds.  Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function.
	MaximumBatchingWindowInSeconds pulumi.IntPtrInput
	MaximumRecordAgeInSeconds      pulumi.IntPtrInput
	MaximumRetryAttempts           pulumi.IntPtrInput
	ParallelizationFactor          pulumi.IntPtrInput
	// The position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType).
	StartingPosition pulumi.StringPtrInput
	// A timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `startingPosition` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen.
	// * `parallelizationFactor`: - (Optional) The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10.
	// * `maximumRetryAttempts`: - (Optional) The maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum of 0, maximum and default of 10000.
	// * `maximumRecordAgeInSeconds`: - (Optional) The maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Minimum of 60, maximum and default of 604800.
	// * `bisectBatchOnFunctionError`: - (Optional) If the function returns an error, split the batch in two and retry. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.
	// * `destinationConfig`: - (Optional) An Amazon SQS queue or Amazon SNS topic destination for failed records. Only available for stream sources (DynamoDB and Kinesis). Detailed below.
	StartingPositionTimestamp pulumi.StringPtrInput
}

The set of arguments for constructing a EventSourceMapping resource.

func (EventSourceMappingArgs) ElementType

func (EventSourceMappingArgs) ElementType() reflect.Type

type EventSourceMappingDestinationConfig

type EventSourceMappingDestinationConfig struct {
	// The destination configuration for failed invocations. Detailed below.
	OnFailure *EventSourceMappingDestinationConfigOnFailure `pulumi:"onFailure"`
}

type EventSourceMappingDestinationConfigArgs

type EventSourceMappingDestinationConfigArgs struct {
	// The destination configuration for failed invocations. Detailed below.
	OnFailure EventSourceMappingDestinationConfigOnFailurePtrInput `pulumi:"onFailure"`
}

func (EventSourceMappingDestinationConfigArgs) ElementType

func (EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutput

func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutput() EventSourceMappingDestinationConfigOutput

func (EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutputWithContext

func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOutput

func (EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutput

func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput

func (EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutputWithContext

func (i EventSourceMappingDestinationConfigArgs) ToEventSourceMappingDestinationConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigPtrOutput

type EventSourceMappingDestinationConfigInput

type EventSourceMappingDestinationConfigInput interface {
	pulumi.Input

	ToEventSourceMappingDestinationConfigOutput() EventSourceMappingDestinationConfigOutput
	ToEventSourceMappingDestinationConfigOutputWithContext(context.Context) EventSourceMappingDestinationConfigOutput
}

EventSourceMappingDestinationConfigInput is an input type that accepts EventSourceMappingDestinationConfigArgs and EventSourceMappingDestinationConfigOutput values. You can construct a concrete instance of `EventSourceMappingDestinationConfigInput` via:

EventSourceMappingDestinationConfigArgs{...}

type EventSourceMappingDestinationConfigOnFailure

type EventSourceMappingDestinationConfigOnFailure struct {
	// The Amazon Resource Name (ARN) of the destination resource.
	DestinationArn string `pulumi:"destinationArn"`
}

type EventSourceMappingDestinationConfigOnFailureArgs

type EventSourceMappingDestinationConfigOnFailureArgs struct {
	// The Amazon Resource Name (ARN) of the destination resource.
	DestinationArn pulumi.StringInput `pulumi:"destinationArn"`
}

func (EventSourceMappingDestinationConfigOnFailureArgs) ElementType

func (EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutput

func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutput() EventSourceMappingDestinationConfigOnFailureOutput

func (EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext

func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailureOutput

func (EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutput

func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput

func (EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext

func (i EventSourceMappingDestinationConfigOnFailureArgs) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput

type EventSourceMappingDestinationConfigOnFailureInput

type EventSourceMappingDestinationConfigOnFailureInput interface {
	pulumi.Input

	ToEventSourceMappingDestinationConfigOnFailureOutput() EventSourceMappingDestinationConfigOnFailureOutput
	ToEventSourceMappingDestinationConfigOnFailureOutputWithContext(context.Context) EventSourceMappingDestinationConfigOnFailureOutput
}

EventSourceMappingDestinationConfigOnFailureInput is an input type that accepts EventSourceMappingDestinationConfigOnFailureArgs and EventSourceMappingDestinationConfigOnFailureOutput values. You can construct a concrete instance of `EventSourceMappingDestinationConfigOnFailureInput` via:

EventSourceMappingDestinationConfigOnFailureArgs{...}

type EventSourceMappingDestinationConfigOnFailureOutput

type EventSourceMappingDestinationConfigOnFailureOutput struct{ *pulumi.OutputState }

func (EventSourceMappingDestinationConfigOnFailureOutput) DestinationArn

The Amazon Resource Name (ARN) of the destination resource.

func (EventSourceMappingDestinationConfigOnFailureOutput) ElementType

func (EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutput

func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutput() EventSourceMappingDestinationConfigOnFailureOutput

func (EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext

func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailureOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailureOutput

func (EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutput

func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput

func (EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext

func (o EventSourceMappingDestinationConfigOnFailureOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput

type EventSourceMappingDestinationConfigOnFailurePtrInput

type EventSourceMappingDestinationConfigOnFailurePtrInput interface {
	pulumi.Input

	ToEventSourceMappingDestinationConfigOnFailurePtrOutput() EventSourceMappingDestinationConfigOnFailurePtrOutput
	ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput
}

EventSourceMappingDestinationConfigOnFailurePtrInput is an input type that accepts EventSourceMappingDestinationConfigOnFailureArgs, EventSourceMappingDestinationConfigOnFailurePtr and EventSourceMappingDestinationConfigOnFailurePtrOutput values. You can construct a concrete instance of `EventSourceMappingDestinationConfigOnFailurePtrInput` via:

        EventSourceMappingDestinationConfigOnFailureArgs{...}

or:

        nil

type EventSourceMappingDestinationConfigOnFailurePtrOutput

type EventSourceMappingDestinationConfigOnFailurePtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingDestinationConfigOnFailurePtrOutput) DestinationArn

The Amazon Resource Name (ARN) of the destination resource.

func (EventSourceMappingDestinationConfigOnFailurePtrOutput) Elem

func (EventSourceMappingDestinationConfigOnFailurePtrOutput) ElementType

func (EventSourceMappingDestinationConfigOnFailurePtrOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutput

func (EventSourceMappingDestinationConfigOnFailurePtrOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext

func (o EventSourceMappingDestinationConfigOnFailurePtrOutput) ToEventSourceMappingDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOnFailurePtrOutput

type EventSourceMappingDestinationConfigOutput

type EventSourceMappingDestinationConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingDestinationConfigOutput) ElementType

func (EventSourceMappingDestinationConfigOutput) OnFailure

The destination configuration for failed invocations. Detailed below.

func (EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutput

func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutput() EventSourceMappingDestinationConfigOutput

func (EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutputWithContext

func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigOutput

func (EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutput

func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput

func (EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext

func (o EventSourceMappingDestinationConfigOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigPtrOutput

type EventSourceMappingDestinationConfigPtrInput

type EventSourceMappingDestinationConfigPtrInput interface {
	pulumi.Input

	ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput
	ToEventSourceMappingDestinationConfigPtrOutputWithContext(context.Context) EventSourceMappingDestinationConfigPtrOutput
}

EventSourceMappingDestinationConfigPtrInput is an input type that accepts EventSourceMappingDestinationConfigArgs, EventSourceMappingDestinationConfigPtr and EventSourceMappingDestinationConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingDestinationConfigPtrInput` via:

        EventSourceMappingDestinationConfigArgs{...}

or:

        nil

type EventSourceMappingDestinationConfigPtrOutput

type EventSourceMappingDestinationConfigPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingDestinationConfigPtrOutput) Elem

func (EventSourceMappingDestinationConfigPtrOutput) ElementType

func (EventSourceMappingDestinationConfigPtrOutput) OnFailure

The destination configuration for failed invocations. Detailed below.

func (EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutput

func (o EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput

func (EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext

func (o EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDestinationConfigPtrOutput

type EventSourceMappingInput added in v3.13.0

type EventSourceMappingInput interface {
	pulumi.Input

	ToEventSourceMappingOutput() EventSourceMappingOutput
	ToEventSourceMappingOutputWithContext(ctx context.Context) EventSourceMappingOutput
}

type EventSourceMappingOutput added in v3.13.0

type EventSourceMappingOutput struct {
	*pulumi.OutputState
}

func (EventSourceMappingOutput) ElementType added in v3.13.0

func (EventSourceMappingOutput) ElementType() reflect.Type

func (EventSourceMappingOutput) ToEventSourceMappingOutput added in v3.13.0

func (o EventSourceMappingOutput) ToEventSourceMappingOutput() EventSourceMappingOutput

func (EventSourceMappingOutput) ToEventSourceMappingOutputWithContext added in v3.13.0

func (o EventSourceMappingOutput) ToEventSourceMappingOutputWithContext(ctx context.Context) EventSourceMappingOutput

type EventSourceMappingState

type EventSourceMappingState struct {
	// The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB and Kinesis, `10` for SQS.
	BatchSize                  pulumi.IntPtrInput
	BisectBatchOnFunctionError pulumi.BoolPtrInput
	DestinationConfig          EventSourceMappingDestinationConfigPtrInput
	// Determines if the mapping will be enabled on creation. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The event source ARN - can be a Kinesis stream, DynamoDB stream, or SQS queue.
	EventSourceArn pulumi.StringPtrInput
	// The the ARN of the Lambda function the event source mapping is sending events to. (Note: this is a computed value that differs from `functionName` above.)
	FunctionArn pulumi.StringPtrInput
	// The name or the ARN of the Lambda function that will be subscribing to events.
	FunctionName pulumi.StringPtrInput
	// The date this resource was last modified.
	LastModified pulumi.StringPtrInput
	// The result of the last AWS Lambda invocation of your Lambda function.
	LastProcessingResult pulumi.StringPtrInput
	// The maximum amount of time to gather records before invoking the function, in seconds.  Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. Defaults to as soon as records are available in the stream. If the batch it reads from the stream only has one record in it, Lambda only sends one record to the function.
	MaximumBatchingWindowInSeconds pulumi.IntPtrInput
	MaximumRecordAgeInSeconds      pulumi.IntPtrInput
	MaximumRetryAttempts           pulumi.IntPtrInput
	ParallelizationFactor          pulumi.IntPtrInput
	// The position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType).
	StartingPosition pulumi.StringPtrInput
	// A timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `startingPosition` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen.
	// * `parallelizationFactor`: - (Optional) The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10.
	// * `maximumRetryAttempts`: - (Optional) The maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum of 0, maximum and default of 10000.
	// * `maximumRecordAgeInSeconds`: - (Optional) The maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Minimum of 60, maximum and default of 604800.
	// * `bisectBatchOnFunctionError`: - (Optional) If the function returns an error, split the batch in two and retry. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.
	// * `destinationConfig`: - (Optional) An Amazon SQS queue or Amazon SNS topic destination for failed records. Only available for stream sources (DynamoDB and Kinesis). Detailed below.
	StartingPositionTimestamp pulumi.StringPtrInput
	// The state of the event source mapping.
	State pulumi.StringPtrInput
	// The reason the event source mapping is in its current state.
	StateTransitionReason pulumi.StringPtrInput
	// The UUID of the created event source mapping.
	Uuid pulumi.StringPtrInput
}

func (EventSourceMappingState) ElementType

func (EventSourceMappingState) ElementType() reflect.Type

type Function

type Function struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
	Code pulumi.ArchiveOutput `pulumi:"code"`
	// Amazon Resource Name (ARN) for a Code Signing Configuration.
	CodeSigningConfigArn pulumi.StringPtrOutput `pulumi:"codeSigningConfigArn"`
	// Nested block to configure the function's *dead letter queue*. See details below.
	DeadLetterConfig FunctionDeadLetterConfigPtrOutput `pulumi:"deadLetterConfig"`
	// Description of what your Lambda Function does.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Lambda environment's configuration settings. Fields documented below.
	Environment FunctionEnvironmentPtrOutput `pulumi:"environment"`
	// The connection settings for an EFS file system. Fields documented below. Before creating or updating Lambda functions with `fileSystemConfig`, EFS mount targets much be in available lifecycle state. Use `dependsOn` to explicitly declare this dependency. See [Using Amazon EFS with Lambda](https://docs.aws.amazon.com/lambda/latest/dg/services-efs.html).
	FileSystemConfig FunctionFileSystemConfigPtrOutput `pulumi:"fileSystemConfig"`
	// The function [entrypoint](https://docs.aws.amazon.com/lambda/latest/dg/walkthrough-custom-events-create-test-function.html) in your code.
	Handler pulumi.StringOutput `pulumi:"handler"`
	// The ARN to be used for invoking Lambda Function from API Gateway - to be used in [`apigateway.Integration`](https://www.terraform.io/docs/providers/aws/r/api_gateway_integration.html)'s `uri`
	InvokeArn pulumi.StringOutput `pulumi:"invokeArn"`
	// (Optional) The ARN for the KMS encryption key.
	KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"`
	// The date this resource was last modified.
	LastModified pulumi.StringOutput `pulumi:"lastModified"`
	// List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See [Lambda Layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)
	Layers pulumi.StringArrayOutput `pulumi:"layers"`
	// Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
	MemorySize pulumi.IntPtrOutput `pulumi:"memorySize"`
	// A unique name for your Lambda Function.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether to publish creation/change as new Lambda Function Version. Defaults to `false`.
	Publish pulumi.BoolPtrOutput `pulumi:"publish"`
	// The Amazon Resource Name (ARN) identifying your Lambda Function Version
	// (if versioning is enabled via `publish = true`).
	QualifiedArn pulumi.StringOutput `pulumi:"qualifiedArn"`
	// 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](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html)
	ReservedConcurrentExecutions pulumi.IntPtrOutput `pulumi:"reservedConcurrentExecutions"`
	// 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](https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html) for more details.
	Role pulumi.StringOutput `pulumi:"role"`
	// See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
	Runtime pulumi.StringOutput `pulumi:"runtime"`
	// 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.
	S3Bucket pulumi.StringPtrOutput `pulumi:"s3Bucket"`
	// The S3 key of an object containing the function's deployment package. Conflicts with `filename`.
	S3Key pulumi.StringPtrOutput `pulumi:"s3Key"`
	// The object version containing the function's deployment package. Conflicts with `filename`.
	S3ObjectVersion pulumi.StringPtrOutput `pulumi:"s3ObjectVersion"`
	// The Amazon Resource Name (ARN) of a signing job.
	SigningJobArn pulumi.StringOutput `pulumi:"signingJobArn"`
	// The Amazon Resource Name (ARN) for a signing profile version.
	SigningProfileVersionArn pulumi.StringOutput `pulumi:"signingProfileVersionArn"`
	// Base64-encoded representation of raw SHA-256 sum of the zip file, provided either via `filename` or `s3_*` parameters.
	SourceCodeHash pulumi.StringOutput `pulumi:"sourceCodeHash"`
	// The size in bytes of the function .zip file.
	SourceCodeSize pulumi.IntOutput `pulumi:"sourceCodeSize"`
	// A map of tags to assign to the object.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
	Timeout       pulumi.IntPtrOutput         `pulumi:"timeout"`
	TracingConfig FunctionTracingConfigOutput `pulumi:"tracingConfig"`
	// Latest published version of your Lambda Function.
	Version pulumi.StringOutput `pulumi:"version"`
	// Provide this to allow your function to access your VPC. Fields documented below. See [Lambda in VPC](http://docs.aws.amazon.com/lambda/latest/dg/vpc.html)
	VpcConfig FunctionVpcConfigPtrOutput `pulumi:"vpcConfig"`
}

## Import

Lambda Functions can be imported using the `function_name`, e.g.

```sh

$ pulumi import aws:lambda/function:Function test_lambda my_test_lambda_function

```

func GetFunction

func GetFunction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionState, opts ...pulumi.ResourceOption) (*Function, error)

GetFunction gets an existing Function resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFunction

func NewFunction(ctx *pulumi.Context,
	name string, args *FunctionArgs, opts ...pulumi.ResourceOption) (*Function, error)

NewFunction registers a new resource with the given unique name, arguments, and options.

func (Function) ElementType added in v3.13.0

func (Function) ElementType() reflect.Type

func (Function) ToFunctionOutput added in v3.13.0

func (i Function) ToFunctionOutput() FunctionOutput

func (Function) ToFunctionOutputWithContext added in v3.13.0

func (i Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput

type FunctionArgs

type FunctionArgs struct {
	// The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
	Code pulumi.ArchiveInput
	// Amazon Resource Name (ARN) for a Code Signing Configuration.
	CodeSigningConfigArn pulumi.StringPtrInput
	// Nested block to configure the function's *dead letter queue*. See details below.
	DeadLetterConfig FunctionDeadLetterConfigPtrInput
	// Description of what your Lambda Function does.
	Description pulumi.StringPtrInput
	// The Lambda environment's configuration settings. Fields documented below.
	Environment FunctionEnvironmentPtrInput
	// The connection settings for an EFS file system. Fields documented below. Before creating or updating Lambda functions with `fileSystemConfig`, EFS mount targets much be in available lifecycle state. Use `dependsOn` to explicitly declare this dependency. See [Using Amazon EFS with Lambda](https://docs.aws.amazon.com/lambda/latest/dg/services-efs.html).
	FileSystemConfig FunctionFileSystemConfigPtrInput
	// The function [entrypoint](https://docs.aws.amazon.com/lambda/latest/dg/walkthrough-custom-events-create-test-function.html) in your code.
	Handler pulumi.StringInput
	// (Optional) The ARN for the KMS encryption key.
	KmsKeyArn pulumi.StringPtrInput
	// List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See [Lambda Layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)
	Layers pulumi.StringArrayInput
	// Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
	MemorySize pulumi.IntPtrInput
	// A unique name for your Lambda Function.
	Name pulumi.StringPtrInput
	// Whether to publish creation/change as new Lambda Function Version. Defaults to `false`.
	Publish pulumi.BoolPtrInput
	// 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](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html)
	ReservedConcurrentExecutions pulumi.IntPtrInput
	// 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](https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html) for more details.
	Role pulumi.StringInput
	// See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
	Runtime pulumi.StringInput
	// 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.
	S3Bucket pulumi.StringPtrInput
	// The S3 key of an object containing the function's deployment package. Conflicts with `filename`.
	S3Key pulumi.StringPtrInput
	// The object version containing the function's deployment package. Conflicts with `filename`.
	S3ObjectVersion pulumi.StringPtrInput
	// Base64-encoded representation of raw SHA-256 sum of the zip file, provided either via `filename` or `s3_*` parameters.
	SourceCodeHash pulumi.StringPtrInput
	// A map of tags to assign to the object.
	Tags pulumi.StringMapInput
	// The amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
	Timeout       pulumi.IntPtrInput
	TracingConfig FunctionTracingConfigPtrInput
	// Provide this to allow your function to access your VPC. Fields documented below. See [Lambda in VPC](http://docs.aws.amazon.com/lambda/latest/dg/vpc.html)
	VpcConfig FunctionVpcConfigPtrInput
}

The set of arguments for constructing a Function resource.

func (FunctionArgs) ElementType

func (FunctionArgs) ElementType() reflect.Type

type FunctionDeadLetterConfig

type FunctionDeadLetterConfig struct {
	// The ARN of an SNS topic or SQS queue to notify when an invocation fails. If this
	// option is used, the function's IAM role must be granted suitable access to write to the target object,
	// which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on
	// which service is targeted.
	TargetArn string `pulumi:"targetArn"`
}

type FunctionDeadLetterConfigArgs

type FunctionDeadLetterConfigArgs struct {
	// The ARN of an SNS topic or SQS queue to notify when an invocation fails. If this
	// option is used, the function's IAM role must be granted suitable access to write to the target object,
	// which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on
	// which service is targeted.
	TargetArn pulumi.StringInput `pulumi:"targetArn"`
}

func (FunctionDeadLetterConfigArgs) ElementType

func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutput

func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput

func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutputWithContext

func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigOutputWithContext(ctx context.Context) FunctionDeadLetterConfigOutput

func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutput

func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput

func (FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutputWithContext

func (i FunctionDeadLetterConfigArgs) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput

type FunctionDeadLetterConfigInput

type FunctionDeadLetterConfigInput interface {
	pulumi.Input

	ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput
	ToFunctionDeadLetterConfigOutputWithContext(context.Context) FunctionDeadLetterConfigOutput
}

FunctionDeadLetterConfigInput is an input type that accepts FunctionDeadLetterConfigArgs and FunctionDeadLetterConfigOutput values. You can construct a concrete instance of `FunctionDeadLetterConfigInput` via:

FunctionDeadLetterConfigArgs{...}

type FunctionDeadLetterConfigOutput

type FunctionDeadLetterConfigOutput struct{ *pulumi.OutputState }

func (FunctionDeadLetterConfigOutput) ElementType

func (FunctionDeadLetterConfigOutput) TargetArn

The ARN of an SNS topic or SQS queue to notify when an invocation fails. If this option is used, the function's IAM role must be granted suitable access to write to the target object, which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on which service is targeted.

func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutput

func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutput() FunctionDeadLetterConfigOutput

func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutputWithContext

func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigOutputWithContext(ctx context.Context) FunctionDeadLetterConfigOutput

func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutput

func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput

func (FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutputWithContext

func (o FunctionDeadLetterConfigOutput) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput

type FunctionDeadLetterConfigPtrInput

type FunctionDeadLetterConfigPtrInput interface {
	pulumi.Input

	ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput
	ToFunctionDeadLetterConfigPtrOutputWithContext(context.Context) FunctionDeadLetterConfigPtrOutput
}

FunctionDeadLetterConfigPtrInput is an input type that accepts FunctionDeadLetterConfigArgs, FunctionDeadLetterConfigPtr and FunctionDeadLetterConfigPtrOutput values. You can construct a concrete instance of `FunctionDeadLetterConfigPtrInput` via:

        FunctionDeadLetterConfigArgs{...}

or:

        nil

type FunctionDeadLetterConfigPtrOutput

type FunctionDeadLetterConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionDeadLetterConfigPtrOutput) Elem

func (FunctionDeadLetterConfigPtrOutput) ElementType

func (FunctionDeadLetterConfigPtrOutput) TargetArn

The ARN of an SNS topic or SQS queue to notify when an invocation fails. If this option is used, the function's IAM role must be granted suitable access to write to the target object, which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on which service is targeted.

func (FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutput

func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput

func (FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutputWithContext

func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutputWithContext(ctx context.Context) FunctionDeadLetterConfigPtrOutput

type FunctionEnvironment

type FunctionEnvironment struct {
	// A map that defines environment variables for the Lambda function.
	Variables map[string]string `pulumi:"variables"`
}

type FunctionEnvironmentArgs

type FunctionEnvironmentArgs struct {
	// A map that defines environment variables for the Lambda function.
	Variables pulumi.StringMapInput `pulumi:"variables"`
}

func (FunctionEnvironmentArgs) ElementType

func (FunctionEnvironmentArgs) ElementType() reflect.Type

func (FunctionEnvironmentArgs) ToFunctionEnvironmentOutput

func (i FunctionEnvironmentArgs) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput

func (FunctionEnvironmentArgs) ToFunctionEnvironmentOutputWithContext

func (i FunctionEnvironmentArgs) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput

func (FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutput

func (i FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput

func (FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutputWithContext

func (i FunctionEnvironmentArgs) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput

type FunctionEnvironmentInput

type FunctionEnvironmentInput interface {
	pulumi.Input

	ToFunctionEnvironmentOutput() FunctionEnvironmentOutput
	ToFunctionEnvironmentOutputWithContext(context.Context) FunctionEnvironmentOutput
}

FunctionEnvironmentInput is an input type that accepts FunctionEnvironmentArgs and FunctionEnvironmentOutput values. You can construct a concrete instance of `FunctionEnvironmentInput` via:

FunctionEnvironmentArgs{...}

type FunctionEnvironmentOutput

type FunctionEnvironmentOutput struct{ *pulumi.OutputState }

func (FunctionEnvironmentOutput) ElementType

func (FunctionEnvironmentOutput) ElementType() reflect.Type

func (FunctionEnvironmentOutput) ToFunctionEnvironmentOutput

func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutput() FunctionEnvironmentOutput

func (FunctionEnvironmentOutput) ToFunctionEnvironmentOutputWithContext

func (o FunctionEnvironmentOutput) ToFunctionEnvironmentOutputWithContext(ctx context.Context) FunctionEnvironmentOutput

func (FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutput

func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput

func (FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext

func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput

func (FunctionEnvironmentOutput) Variables

A map that defines environment variables for the Lambda function.

type FunctionEnvironmentPtrInput

type FunctionEnvironmentPtrInput interface {
	pulumi.Input

	ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput
	ToFunctionEnvironmentPtrOutputWithContext(context.Context) FunctionEnvironmentPtrOutput
}

FunctionEnvironmentPtrInput is an input type that accepts FunctionEnvironmentArgs, FunctionEnvironmentPtr and FunctionEnvironmentPtrOutput values. You can construct a concrete instance of `FunctionEnvironmentPtrInput` via:

        FunctionEnvironmentArgs{...}

or:

        nil

type FunctionEnvironmentPtrOutput

type FunctionEnvironmentPtrOutput struct{ *pulumi.OutputState }

func (FunctionEnvironmentPtrOutput) Elem

func (FunctionEnvironmentPtrOutput) ElementType

func (FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutput

func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutput() FunctionEnvironmentPtrOutput

func (FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext

func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx context.Context) FunctionEnvironmentPtrOutput

func (FunctionEnvironmentPtrOutput) Variables

A map that defines environment variables for the Lambda function.

type FunctionEventInvokeConfig

type FunctionEventInvokeConfig struct {
	pulumi.CustomResourceState

	// Configuration block with destination configuration. See below for details.
	DestinationConfig FunctionEventInvokeConfigDestinationConfigPtrOutput `pulumi:"destinationConfig"`
	// Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600.
	MaximumEventAgeInSeconds pulumi.IntPtrOutput `pulumi:"maximumEventAgeInSeconds"`
	// Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2.
	MaximumRetryAttempts pulumi.IntPtrOutput `pulumi:"maximumRetryAttempts"`
	// Lambda Function published version, `$LATEST`, or Lambda Alias name.
	Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"`
}

Manages an asynchronous invocation configuration for a Lambda Function or Alias. More information about asynchronous invocations and the configurable values can be found in the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html).

## Example Usage ### Destination Configuration

> **NOTE:** Ensure the Lambda Function IAM Role has necessary permissions for the destination, such as `sqs:SendMessage` or `sns:Publish`, otherwise the API will return a generic `InvalidParameterValueException: The destination ARN arn:PARTITION:SERVICE:REGION:ACCOUNT:RESOURCE is invalid.` error.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName: pulumi.Any(aws_lambda_alias.Example.Function_name),
			DestinationConfig: &lambda.FunctionEventInvokeConfigDestinationConfigArgs{
				OnFailure: &lambda.FunctionEventInvokeConfigDestinationConfigOnFailureArgs{
					Destination: pulumi.Any(aws_sqs_queue.Example.Arn),
				},
				OnSuccess: &lambda.FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{
					Destination: pulumi.Any(aws_sns_topic.Example.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Error Handling Configuration

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName:             pulumi.Any(aws_lambda_alias.Example.Function_name),
			MaximumEventAgeInSeconds: pulumi.Int(60),
			MaximumRetryAttempts:     pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Configuration for Alias Name

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName: pulumi.Any(aws_lambda_alias.Example.Function_name),
			Qualifier:    pulumi.Any(aws_lambda_alias.Example.Name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Configuration for Function Latest Unpublished Version

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName: pulumi.Any(aws_lambda_function.Example.Function_name),
			Qualifier:    pulumi.String(fmt.Sprintf("%v%v", "$", "LATEST")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Configuration for Function Published Version

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName: pulumi.Any(aws_lambda_function.Example.Function_name),
			Qualifier:    pulumi.Any(aws_lambda_function.Example.Version),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Lambda Function Event Invoke Configs can be imported using the fully qualified Function name or Amazon Resource Name (ARN), e.g. ARN without qualifier (all versions and aliases)

```sh

$ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example arn:aws:us-east-1:123456789012:function:my_function

```

ARN with qualifier

```sh

$ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example arn:aws:us-east-1:123456789012:function:my_function:production

```

Name without qualifier (all versions and aliases)

```sh

$ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example my_function

```

Name with qualifier

```sh

$ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example my_function:production

```

func GetFunctionEventInvokeConfig

func GetFunctionEventInvokeConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionEventInvokeConfigState, opts ...pulumi.ResourceOption) (*FunctionEventInvokeConfig, error)

GetFunctionEventInvokeConfig gets an existing FunctionEventInvokeConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFunctionEventInvokeConfig

func NewFunctionEventInvokeConfig(ctx *pulumi.Context,
	name string, args *FunctionEventInvokeConfigArgs, opts ...pulumi.ResourceOption) (*FunctionEventInvokeConfig, error)

NewFunctionEventInvokeConfig registers a new resource with the given unique name, arguments, and options.

func (FunctionEventInvokeConfig) ElementType added in v3.13.0

func (FunctionEventInvokeConfig) ElementType() reflect.Type

func (FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutput added in v3.13.0

func (i FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput

func (FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutputWithContext added in v3.13.0

func (i FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigOutput

type FunctionEventInvokeConfigArgs

type FunctionEventInvokeConfigArgs struct {
	// Configuration block with destination configuration. See below for details.
	DestinationConfig FunctionEventInvokeConfigDestinationConfigPtrInput
	// Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
	FunctionName pulumi.StringInput
	// Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600.
	MaximumEventAgeInSeconds pulumi.IntPtrInput
	// Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2.
	MaximumRetryAttempts pulumi.IntPtrInput
	// Lambda Function published version, `$LATEST`, or Lambda Alias name.
	Qualifier pulumi.StringPtrInput
}

The set of arguments for constructing a FunctionEventInvokeConfig resource.

func (FunctionEventInvokeConfigArgs) ElementType

type FunctionEventInvokeConfigDestinationConfig

type FunctionEventInvokeConfigDestinationConfig struct {
	// Configuration block with destination configuration for failed asynchronous invocations. See below for details.
	OnFailure *FunctionEventInvokeConfigDestinationConfigOnFailure `pulumi:"onFailure"`
	// Configuration block with destination configuration for successful asynchronous invocations. See below for details.
	OnSuccess *FunctionEventInvokeConfigDestinationConfigOnSuccess `pulumi:"onSuccess"`
}

type FunctionEventInvokeConfigDestinationConfigArgs

type FunctionEventInvokeConfigDestinationConfigArgs struct {
	// Configuration block with destination configuration for failed asynchronous invocations. See below for details.
	OnFailure FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput `pulumi:"onFailure"`
	// Configuration block with destination configuration for successful asynchronous invocations. See below for details.
	OnSuccess FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput `pulumi:"onSuccess"`
}

func (FunctionEventInvokeConfigDestinationConfigArgs) ElementType

func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutput

func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput

func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext

func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOutput

func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutput

func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput

func (FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext

func (i FunctionEventInvokeConfigDestinationConfigArgs) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput

type FunctionEventInvokeConfigDestinationConfigInput

type FunctionEventInvokeConfigDestinationConfigInput interface {
	pulumi.Input

	ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput
	ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOutput
}

FunctionEventInvokeConfigDestinationConfigInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigArgs and FunctionEventInvokeConfigDestinationConfigOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigInput` via:

FunctionEventInvokeConfigDestinationConfigArgs{...}

type FunctionEventInvokeConfigDestinationConfigOnFailure

type FunctionEventInvokeConfigDestinationConfigOnFailure struct {
	// Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
	Destination string `pulumi:"destination"`
}

type FunctionEventInvokeConfigDestinationConfigOnFailureArgs

type FunctionEventInvokeConfigDestinationConfigOnFailureArgs struct {
	// Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
	Destination pulumi.StringInput `pulumi:"destination"`
}

func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ElementType

func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput

func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext

func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput

func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput

func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput

func (FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext

func (i FunctionEventInvokeConfigDestinationConfigOnFailureArgs) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput

type FunctionEventInvokeConfigDestinationConfigOnFailureInput

type FunctionEventInvokeConfigDestinationConfigOnFailureInput interface {
	pulumi.Input

	ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput() FunctionEventInvokeConfigDestinationConfigOnFailureOutput
	ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput
}

FunctionEventInvokeConfigDestinationConfigOnFailureInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigOnFailureArgs and FunctionEventInvokeConfigDestinationConfigOnFailureOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigOnFailureInput` via:

FunctionEventInvokeConfigDestinationConfigOnFailureArgs{...}

type FunctionEventInvokeConfigDestinationConfigOnFailureOutput

type FunctionEventInvokeConfigDestinationConfigOnFailureOutput struct{ *pulumi.OutputState }

func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) Destination

Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.

func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ElementType

func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutput

func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext

func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailureOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailureOutput

func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput

func (FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext

func (o FunctionEventInvokeConfigDestinationConfigOnFailureOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput

type FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput

type FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput interface {
	pulumi.Input

	ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput() FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
	ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput
}

FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigOnFailureArgs, FunctionEventInvokeConfigDestinationConfigOnFailurePtr and FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput` via:

        FunctionEventInvokeConfigDestinationConfigOnFailureArgs{...}

or:

        nil

type FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput

type FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput struct{ *pulumi.OutputState }

func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Destination

Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.

func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) Elem

func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ElementType

func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput

func (FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext

func (o FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnFailurePtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnFailurePtrOutput

type FunctionEventInvokeConfigDestinationConfigOnSuccess

type FunctionEventInvokeConfigDestinationConfigOnSuccess struct {
	// Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
	Destination string `pulumi:"destination"`
}

type FunctionEventInvokeConfigDestinationConfigOnSuccessArgs

type FunctionEventInvokeConfigDestinationConfigOnSuccessArgs struct {
	// Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
	Destination pulumi.StringInput `pulumi:"destination"`
}

func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ElementType

func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput

func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext

func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput

func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput

func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput

func (FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext

func (i FunctionEventInvokeConfigDestinationConfigOnSuccessArgs) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput

type FunctionEventInvokeConfigDestinationConfigOnSuccessInput

type FunctionEventInvokeConfigDestinationConfigOnSuccessInput interface {
	pulumi.Input

	ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
	ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput
}

FunctionEventInvokeConfigDestinationConfigOnSuccessInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigOnSuccessArgs and FunctionEventInvokeConfigDestinationConfigOnSuccessOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigOnSuccessInput` via:

FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{...}

type FunctionEventInvokeConfigDestinationConfigOnSuccessOutput

type FunctionEventInvokeConfigDestinationConfigOnSuccessOutput struct{ *pulumi.OutputState }

func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) Destination

Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.

func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ElementType

func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutput

func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext

func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessOutput

func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput

func (FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext

func (o FunctionEventInvokeConfigDestinationConfigOnSuccessOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput

type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput

type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput interface {
	pulumi.Input

	ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput() FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
	ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput
}

FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigOnSuccessArgs, FunctionEventInvokeConfigDestinationConfigOnSuccessPtr and FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigOnSuccessPtrInput` via:

        FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{...}

or:

        nil

type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput

type FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput struct{ *pulumi.OutputState }

func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Destination

Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.

func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) Elem

func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ElementType

func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput

func (FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext

func (o FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput) ToFunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOnSuccessPtrOutput

type FunctionEventInvokeConfigDestinationConfigOutput

type FunctionEventInvokeConfigDestinationConfigOutput struct{ *pulumi.OutputState }

func (FunctionEventInvokeConfigDestinationConfigOutput) ElementType

func (FunctionEventInvokeConfigDestinationConfigOutput) OnFailure

Configuration block with destination configuration for failed asynchronous invocations. See below for details.

func (FunctionEventInvokeConfigDestinationConfigOutput) OnSuccess

Configuration block with destination configuration for successful asynchronous invocations. See below for details.

func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutput

func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutput() FunctionEventInvokeConfigDestinationConfigOutput

func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext

func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigOutput

func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput

func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput

func (FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext

func (o FunctionEventInvokeConfigDestinationConfigOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput

type FunctionEventInvokeConfigDestinationConfigPtrInput

type FunctionEventInvokeConfigDestinationConfigPtrInput interface {
	pulumi.Input

	ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput
	ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput
}

FunctionEventInvokeConfigDestinationConfigPtrInput is an input type that accepts FunctionEventInvokeConfigDestinationConfigArgs, FunctionEventInvokeConfigDestinationConfigPtr and FunctionEventInvokeConfigDestinationConfigPtrOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigDestinationConfigPtrInput` via:

        FunctionEventInvokeConfigDestinationConfigArgs{...}

or:

        nil

type FunctionEventInvokeConfigDestinationConfigPtrOutput

type FunctionEventInvokeConfigDestinationConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionEventInvokeConfigDestinationConfigPtrOutput) Elem

func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ElementType

func (FunctionEventInvokeConfigDestinationConfigPtrOutput) OnFailure

Configuration block with destination configuration for failed asynchronous invocations. See below for details.

func (FunctionEventInvokeConfigDestinationConfigPtrOutput) OnSuccess

Configuration block with destination configuration for successful asynchronous invocations. See below for details.

func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput

func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput

func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext

func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext(ctx context.Context) FunctionEventInvokeConfigDestinationConfigPtrOutput

type FunctionEventInvokeConfigInput added in v3.13.0

type FunctionEventInvokeConfigInput interface {
	pulumi.Input

	ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput
	ToFunctionEventInvokeConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigOutput
}

type FunctionEventInvokeConfigOutput added in v3.13.0

type FunctionEventInvokeConfigOutput struct {
	*pulumi.OutputState
}

func (FunctionEventInvokeConfigOutput) ElementType added in v3.13.0

func (FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutput added in v3.13.0

func (o FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput

func (FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutputWithContext added in v3.13.0

func (o FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutputWithContext(ctx context.Context) FunctionEventInvokeConfigOutput

type FunctionEventInvokeConfigState

type FunctionEventInvokeConfigState struct {
	// Configuration block with destination configuration. See below for details.
	DestinationConfig FunctionEventInvokeConfigDestinationConfigPtrInput
	// Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
	FunctionName pulumi.StringPtrInput
	// Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600.
	MaximumEventAgeInSeconds pulumi.IntPtrInput
	// Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2.
	MaximumRetryAttempts pulumi.IntPtrInput
	// Lambda Function published version, `$LATEST`, or Lambda Alias name.
	Qualifier pulumi.StringPtrInput
}

func (FunctionEventInvokeConfigState) ElementType

type FunctionFileSystemConfig

type FunctionFileSystemConfig struct {
	// The Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.
	Arn string `pulumi:"arn"`
	// The path where the function can access the file system, starting with /mnt/.
	LocalMountPath string `pulumi:"localMountPath"`
}

type FunctionFileSystemConfigArgs

type FunctionFileSystemConfigArgs struct {
	// The Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.
	Arn pulumi.StringInput `pulumi:"arn"`
	// The path where the function can access the file system, starting with /mnt/.
	LocalMountPath pulumi.StringInput `pulumi:"localMountPath"`
}

func (FunctionFileSystemConfigArgs) ElementType

func (FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutput

func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutput() FunctionFileSystemConfigOutput

func (FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutputWithContext

func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigOutputWithContext(ctx context.Context) FunctionFileSystemConfigOutput

func (FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutput

func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput

func (FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutputWithContext

func (i FunctionFileSystemConfigArgs) ToFunctionFileSystemConfigPtrOutputWithContext(ctx context.Context) FunctionFileSystemConfigPtrOutput

type FunctionFileSystemConfigInput

type FunctionFileSystemConfigInput interface {
	pulumi.Input

	ToFunctionFileSystemConfigOutput() FunctionFileSystemConfigOutput
	ToFunctionFileSystemConfigOutputWithContext(context.Context) FunctionFileSystemConfigOutput
}

FunctionFileSystemConfigInput is an input type that accepts FunctionFileSystemConfigArgs and FunctionFileSystemConfigOutput values. You can construct a concrete instance of `FunctionFileSystemConfigInput` via:

FunctionFileSystemConfigArgs{...}

type FunctionFileSystemConfigOutput

type FunctionFileSystemConfigOutput struct{ *pulumi.OutputState }

func (FunctionFileSystemConfigOutput) Arn

The Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.

func (FunctionFileSystemConfigOutput) ElementType

func (FunctionFileSystemConfigOutput) LocalMountPath

The path where the function can access the file system, starting with /mnt/.

func (FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutput

func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutput() FunctionFileSystemConfigOutput

func (FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutputWithContext

func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigOutputWithContext(ctx context.Context) FunctionFileSystemConfigOutput

func (FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutput

func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput

func (FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutputWithContext

func (o FunctionFileSystemConfigOutput) ToFunctionFileSystemConfigPtrOutputWithContext(ctx context.Context) FunctionFileSystemConfigPtrOutput

type FunctionFileSystemConfigPtrInput

type FunctionFileSystemConfigPtrInput interface {
	pulumi.Input

	ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput
	ToFunctionFileSystemConfigPtrOutputWithContext(context.Context) FunctionFileSystemConfigPtrOutput
}

FunctionFileSystemConfigPtrInput is an input type that accepts FunctionFileSystemConfigArgs, FunctionFileSystemConfigPtr and FunctionFileSystemConfigPtrOutput values. You can construct a concrete instance of `FunctionFileSystemConfigPtrInput` via:

        FunctionFileSystemConfigArgs{...}

or:

        nil

type FunctionFileSystemConfigPtrOutput

type FunctionFileSystemConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionFileSystemConfigPtrOutput) Arn

The Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.

func (FunctionFileSystemConfigPtrOutput) Elem

func (FunctionFileSystemConfigPtrOutput) ElementType

func (FunctionFileSystemConfigPtrOutput) LocalMountPath

The path where the function can access the file system, starting with /mnt/.

func (FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutput

func (o FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput

func (FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutputWithContext

func (o FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutputWithContext(ctx context.Context) FunctionFileSystemConfigPtrOutput

type FunctionInput added in v3.13.0

type FunctionInput interface {
	pulumi.Input

	ToFunctionOutput() FunctionOutput
	ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
}

type FunctionOutput added in v3.13.0

type FunctionOutput struct {
	*pulumi.OutputState
}

func (FunctionOutput) ElementType added in v3.13.0

func (FunctionOutput) ElementType() reflect.Type

func (FunctionOutput) ToFunctionOutput added in v3.13.0

func (o FunctionOutput) ToFunctionOutput() FunctionOutput

func (FunctionOutput) ToFunctionOutputWithContext added in v3.13.0

func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput

type FunctionState

type FunctionState struct {
	// The Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.
	Arn pulumi.StringPtrInput
	// The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
	Code pulumi.ArchiveInput
	// Amazon Resource Name (ARN) for a Code Signing Configuration.
	CodeSigningConfigArn pulumi.StringPtrInput
	// Nested block to configure the function's *dead letter queue*. See details below.
	DeadLetterConfig FunctionDeadLetterConfigPtrInput
	// Description of what your Lambda Function does.
	Description pulumi.StringPtrInput
	// The Lambda environment's configuration settings. Fields documented below.
	Environment FunctionEnvironmentPtrInput
	// The connection settings for an EFS file system. Fields documented below. Before creating or updating Lambda functions with `fileSystemConfig`, EFS mount targets much be in available lifecycle state. Use `dependsOn` to explicitly declare this dependency. See [Using Amazon EFS with Lambda](https://docs.aws.amazon.com/lambda/latest/dg/services-efs.html).
	FileSystemConfig FunctionFileSystemConfigPtrInput
	// The function [entrypoint](https://docs.aws.amazon.com/lambda/latest/dg/walkthrough-custom-events-create-test-function.html) in your code.
	Handler pulumi.StringPtrInput
	// The ARN to be used for invoking Lambda Function from API Gateway - to be used in [`apigateway.Integration`](https://www.terraform.io/docs/providers/aws/r/api_gateway_integration.html)'s `uri`
	InvokeArn pulumi.StringPtrInput
	// (Optional) The ARN for the KMS encryption key.
	KmsKeyArn pulumi.StringPtrInput
	// The date this resource was last modified.
	LastModified pulumi.StringPtrInput
	// List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See [Lambda Layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)
	Layers pulumi.StringArrayInput
	// Amount of memory in MB your Lambda Function can use at runtime. Defaults to `128`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
	MemorySize pulumi.IntPtrInput
	// A unique name for your Lambda Function.
	Name pulumi.StringPtrInput
	// Whether to publish creation/change as new Lambda Function Version. Defaults to `false`.
	Publish pulumi.BoolPtrInput
	// The Amazon Resource Name (ARN) identifying your Lambda Function Version
	// (if versioning is enabled via `publish = true`).
	QualifiedArn pulumi.StringPtrInput
	// 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](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html)
	ReservedConcurrentExecutions pulumi.IntPtrInput
	// 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](https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html) for more details.
	Role pulumi.StringPtrInput
	// See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
	Runtime pulumi.StringPtrInput
	// 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.
	S3Bucket pulumi.StringPtrInput
	// The S3 key of an object containing the function's deployment package. Conflicts with `filename`.
	S3Key pulumi.StringPtrInput
	// The object version containing the function's deployment package. Conflicts with `filename`.
	S3ObjectVersion pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of a signing job.
	SigningJobArn pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) for a signing profile version.
	SigningProfileVersionArn pulumi.StringPtrInput
	// Base64-encoded representation of raw SHA-256 sum of the zip file, provided either via `filename` or `s3_*` parameters.
	SourceCodeHash pulumi.StringPtrInput
	// The size in bytes of the function .zip file.
	SourceCodeSize pulumi.IntPtrInput
	// A map of tags to assign to the object.
	Tags pulumi.StringMapInput
	// The amount of time your Lambda Function has to run in seconds. Defaults to `3`. See [Limits](https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
	Timeout       pulumi.IntPtrInput
	TracingConfig FunctionTracingConfigPtrInput
	// Latest published version of your Lambda Function.
	Version pulumi.StringPtrInput
	// Provide this to allow your function to access your VPC. Fields documented below. See [Lambda in VPC](http://docs.aws.amazon.com/lambda/latest/dg/vpc.html)
	VpcConfig FunctionVpcConfigPtrInput
}

func (FunctionState) ElementType

func (FunctionState) ElementType() reflect.Type

type FunctionTracingConfig

type FunctionTracingConfig struct {
	// Can be either `PassThrough` or `Active`. If PassThrough, Lambda will only trace
	// the request from an upstream service if it contains a tracing header with
	// "sampled=1". If Active, Lambda will respect any tracing header it receives
	// from an upstream service. If no tracing header is received, Lambda will call
	// X-Ray for a tracing decision.
	Mode string `pulumi:"mode"`
}

type FunctionTracingConfigArgs

type FunctionTracingConfigArgs struct {
	// Can be either `PassThrough` or `Active`. If PassThrough, Lambda will only trace
	// the request from an upstream service if it contains a tracing header with
	// "sampled=1". If Active, Lambda will respect any tracing header it receives
	// from an upstream service. If no tracing header is received, Lambda will call
	// X-Ray for a tracing decision.
	Mode pulumi.StringInput `pulumi:"mode"`
}

func (FunctionTracingConfigArgs) ElementType

func (FunctionTracingConfigArgs) ElementType() reflect.Type

func (FunctionTracingConfigArgs) ToFunctionTracingConfigOutput

func (i FunctionTracingConfigArgs) ToFunctionTracingConfigOutput() FunctionTracingConfigOutput

func (FunctionTracingConfigArgs) ToFunctionTracingConfigOutputWithContext

func (i FunctionTracingConfigArgs) ToFunctionTracingConfigOutputWithContext(ctx context.Context) FunctionTracingConfigOutput

func (FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutput

func (i FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput

func (FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutputWithContext

func (i FunctionTracingConfigArgs) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput

type FunctionTracingConfigInput

type FunctionTracingConfigInput interface {
	pulumi.Input

	ToFunctionTracingConfigOutput() FunctionTracingConfigOutput
	ToFunctionTracingConfigOutputWithContext(context.Context) FunctionTracingConfigOutput
}

FunctionTracingConfigInput is an input type that accepts FunctionTracingConfigArgs and FunctionTracingConfigOutput values. You can construct a concrete instance of `FunctionTracingConfigInput` via:

FunctionTracingConfigArgs{...}

type FunctionTracingConfigOutput

type FunctionTracingConfigOutput struct{ *pulumi.OutputState }

func (FunctionTracingConfigOutput) ElementType

func (FunctionTracingConfigOutput) Mode

Can be either `PassThrough` or `Active`. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.

func (FunctionTracingConfigOutput) ToFunctionTracingConfigOutput

func (o FunctionTracingConfigOutput) ToFunctionTracingConfigOutput() FunctionTracingConfigOutput

func (FunctionTracingConfigOutput) ToFunctionTracingConfigOutputWithContext

func (o FunctionTracingConfigOutput) ToFunctionTracingConfigOutputWithContext(ctx context.Context) FunctionTracingConfigOutput

func (FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutput

func (o FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput

func (FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutputWithContext

func (o FunctionTracingConfigOutput) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput

type FunctionTracingConfigPtrInput

type FunctionTracingConfigPtrInput interface {
	pulumi.Input

	ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput
	ToFunctionTracingConfigPtrOutputWithContext(context.Context) FunctionTracingConfigPtrOutput
}

FunctionTracingConfigPtrInput is an input type that accepts FunctionTracingConfigArgs, FunctionTracingConfigPtr and FunctionTracingConfigPtrOutput values. You can construct a concrete instance of `FunctionTracingConfigPtrInput` via:

        FunctionTracingConfigArgs{...}

or:

        nil

type FunctionTracingConfigPtrOutput

type FunctionTracingConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionTracingConfigPtrOutput) Elem

func (FunctionTracingConfigPtrOutput) ElementType

func (FunctionTracingConfigPtrOutput) Mode

Can be either `PassThrough` or `Active`. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.

func (FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutput

func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput

func (FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutputWithContext

func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutputWithContext(ctx context.Context) FunctionTracingConfigPtrOutput

type FunctionVpcConfig

type FunctionVpcConfig struct {
	// A list of security group IDs associated with the Lambda function.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// A list of subnet IDs associated with the Lambda function.
	SubnetIds []string `pulumi:"subnetIds"`
	VpcId     *string  `pulumi:"vpcId"`
}

type FunctionVpcConfigArgs

type FunctionVpcConfigArgs struct {
	// A list of security group IDs associated with the Lambda function.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// A list of subnet IDs associated with the Lambda function.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	VpcId     pulumi.StringPtrInput   `pulumi:"vpcId"`
}

func (FunctionVpcConfigArgs) ElementType

func (FunctionVpcConfigArgs) ElementType() reflect.Type

func (FunctionVpcConfigArgs) ToFunctionVpcConfigOutput

func (i FunctionVpcConfigArgs) ToFunctionVpcConfigOutput() FunctionVpcConfigOutput

func (FunctionVpcConfigArgs) ToFunctionVpcConfigOutputWithContext

func (i FunctionVpcConfigArgs) ToFunctionVpcConfigOutputWithContext(ctx context.Context) FunctionVpcConfigOutput

func (FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutput

func (i FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput

func (FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutputWithContext

func (i FunctionVpcConfigArgs) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput

type FunctionVpcConfigInput

type FunctionVpcConfigInput interface {
	pulumi.Input

	ToFunctionVpcConfigOutput() FunctionVpcConfigOutput
	ToFunctionVpcConfigOutputWithContext(context.Context) FunctionVpcConfigOutput
}

FunctionVpcConfigInput is an input type that accepts FunctionVpcConfigArgs and FunctionVpcConfigOutput values. You can construct a concrete instance of `FunctionVpcConfigInput` via:

FunctionVpcConfigArgs{...}

type FunctionVpcConfigOutput

type FunctionVpcConfigOutput struct{ *pulumi.OutputState }

func (FunctionVpcConfigOutput) ElementType

func (FunctionVpcConfigOutput) ElementType() reflect.Type

func (FunctionVpcConfigOutput) SecurityGroupIds

func (o FunctionVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput

A list of security group IDs associated with the Lambda function.

func (FunctionVpcConfigOutput) SubnetIds

A list of subnet IDs associated with the Lambda function.

func (FunctionVpcConfigOutput) ToFunctionVpcConfigOutput

func (o FunctionVpcConfigOutput) ToFunctionVpcConfigOutput() FunctionVpcConfigOutput

func (FunctionVpcConfigOutput) ToFunctionVpcConfigOutputWithContext

func (o FunctionVpcConfigOutput) ToFunctionVpcConfigOutputWithContext(ctx context.Context) FunctionVpcConfigOutput

func (FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutput

func (o FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput

func (FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutputWithContext

func (o FunctionVpcConfigOutput) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput

func (FunctionVpcConfigOutput) VpcId

type FunctionVpcConfigPtrInput

type FunctionVpcConfigPtrInput interface {
	pulumi.Input

	ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput
	ToFunctionVpcConfigPtrOutputWithContext(context.Context) FunctionVpcConfigPtrOutput
}

FunctionVpcConfigPtrInput is an input type that accepts FunctionVpcConfigArgs, FunctionVpcConfigPtr and FunctionVpcConfigPtrOutput values. You can construct a concrete instance of `FunctionVpcConfigPtrInput` via:

        FunctionVpcConfigArgs{...}

or:

        nil

type FunctionVpcConfigPtrOutput

type FunctionVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionVpcConfigPtrOutput) Elem

func (FunctionVpcConfigPtrOutput) ElementType

func (FunctionVpcConfigPtrOutput) ElementType() reflect.Type

func (FunctionVpcConfigPtrOutput) SecurityGroupIds

A list of security group IDs associated with the Lambda function.

func (FunctionVpcConfigPtrOutput) SubnetIds

A list of subnet IDs associated with the Lambda function.

func (FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutput

func (o FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutput() FunctionVpcConfigPtrOutput

func (FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutputWithContext

func (o FunctionVpcConfigPtrOutput) ToFunctionVpcConfigPtrOutputWithContext(ctx context.Context) FunctionVpcConfigPtrOutput

func (FunctionVpcConfigPtrOutput) VpcId

type GetCodeSigningConfigAllowedPublisher added in v3.15.0

type GetCodeSigningConfigAllowedPublisher struct {
	// The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
	SigningProfileVersionArns []string `pulumi:"signingProfileVersionArns"`
}

type GetCodeSigningConfigAllowedPublisherArgs added in v3.15.0

type GetCodeSigningConfigAllowedPublisherArgs struct {
	// The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
	SigningProfileVersionArns pulumi.StringArrayInput `pulumi:"signingProfileVersionArns"`
}

func (GetCodeSigningConfigAllowedPublisherArgs) ElementType added in v3.15.0

func (GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutput added in v3.15.0

func (i GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput

func (GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutputWithContext added in v3.15.0

func (i GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherOutput

type GetCodeSigningConfigAllowedPublisherArray added in v3.15.0

type GetCodeSigningConfigAllowedPublisherArray []GetCodeSigningConfigAllowedPublisherInput

func (GetCodeSigningConfigAllowedPublisherArray) ElementType added in v3.15.0

func (GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutput added in v3.15.0

func (i GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput

func (GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext added in v3.15.0

func (i GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherArrayOutput

type GetCodeSigningConfigAllowedPublisherArrayInput added in v3.15.0

type GetCodeSigningConfigAllowedPublisherArrayInput interface {
	pulumi.Input

	ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput
	ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext(context.Context) GetCodeSigningConfigAllowedPublisherArrayOutput
}

GetCodeSigningConfigAllowedPublisherArrayInput is an input type that accepts GetCodeSigningConfigAllowedPublisherArray and GetCodeSigningConfigAllowedPublisherArrayOutput values. You can construct a concrete instance of `GetCodeSigningConfigAllowedPublisherArrayInput` via:

GetCodeSigningConfigAllowedPublisherArray{ GetCodeSigningConfigAllowedPublisherArgs{...} }

type GetCodeSigningConfigAllowedPublisherArrayOutput added in v3.15.0

type GetCodeSigningConfigAllowedPublisherArrayOutput struct{ *pulumi.OutputState }

func (GetCodeSigningConfigAllowedPublisherArrayOutput) ElementType added in v3.15.0

func (GetCodeSigningConfigAllowedPublisherArrayOutput) Index added in v3.15.0

func (GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutput added in v3.15.0

func (o GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput

func (GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext added in v3.15.0

func (o GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherArrayOutput

type GetCodeSigningConfigAllowedPublisherInput added in v3.15.0

type GetCodeSigningConfigAllowedPublisherInput interface {
	pulumi.Input

	ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput
	ToGetCodeSigningConfigAllowedPublisherOutputWithContext(context.Context) GetCodeSigningConfigAllowedPublisherOutput
}

GetCodeSigningConfigAllowedPublisherInput is an input type that accepts GetCodeSigningConfigAllowedPublisherArgs and GetCodeSigningConfigAllowedPublisherOutput values. You can construct a concrete instance of `GetCodeSigningConfigAllowedPublisherInput` via:

GetCodeSigningConfigAllowedPublisherArgs{...}

type GetCodeSigningConfigAllowedPublisherOutput added in v3.15.0

type GetCodeSigningConfigAllowedPublisherOutput struct{ *pulumi.OutputState }

func (GetCodeSigningConfigAllowedPublisherOutput) ElementType added in v3.15.0

func (GetCodeSigningConfigAllowedPublisherOutput) SigningProfileVersionArns added in v3.15.0

The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.

func (GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutput added in v3.15.0

func (o GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput

func (GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutputWithContext added in v3.15.0

func (o GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutputWithContext(ctx context.Context) GetCodeSigningConfigAllowedPublisherOutput

type GetCodeSigningConfigPolicy added in v3.15.0

type GetCodeSigningConfigPolicy struct {
	// Code signing configuration policy for deployment validation failure.
	UntrustedArtifactOnDeployment string `pulumi:"untrustedArtifactOnDeployment"`
}

type GetCodeSigningConfigPolicyArgs added in v3.15.0

type GetCodeSigningConfigPolicyArgs struct {
	// Code signing configuration policy for deployment validation failure.
	UntrustedArtifactOnDeployment pulumi.StringInput `pulumi:"untrustedArtifactOnDeployment"`
}

func (GetCodeSigningConfigPolicyArgs) ElementType added in v3.15.0

func (GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutput added in v3.15.0

func (i GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput

func (GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutputWithContext added in v3.15.0

func (i GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyOutput

type GetCodeSigningConfigPolicyArray added in v3.15.0

type GetCodeSigningConfigPolicyArray []GetCodeSigningConfigPolicyInput

func (GetCodeSigningConfigPolicyArray) ElementType added in v3.15.0

func (GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutput added in v3.15.0

func (i GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput

func (GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutputWithContext added in v3.15.0

func (i GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyArrayOutput

type GetCodeSigningConfigPolicyArrayInput added in v3.15.0

type GetCodeSigningConfigPolicyArrayInput interface {
	pulumi.Input

	ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput
	ToGetCodeSigningConfigPolicyArrayOutputWithContext(context.Context) GetCodeSigningConfigPolicyArrayOutput
}

GetCodeSigningConfigPolicyArrayInput is an input type that accepts GetCodeSigningConfigPolicyArray and GetCodeSigningConfigPolicyArrayOutput values. You can construct a concrete instance of `GetCodeSigningConfigPolicyArrayInput` via:

GetCodeSigningConfigPolicyArray{ GetCodeSigningConfigPolicyArgs{...} }

type GetCodeSigningConfigPolicyArrayOutput added in v3.15.0

type GetCodeSigningConfigPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetCodeSigningConfigPolicyArrayOutput) ElementType added in v3.15.0

func (GetCodeSigningConfigPolicyArrayOutput) Index added in v3.15.0

func (GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutput added in v3.15.0

func (o GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput

func (GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutputWithContext added in v3.15.0

func (o GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyArrayOutput

type GetCodeSigningConfigPolicyInput added in v3.15.0

type GetCodeSigningConfigPolicyInput interface {
	pulumi.Input

	ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput
	ToGetCodeSigningConfigPolicyOutputWithContext(context.Context) GetCodeSigningConfigPolicyOutput
}

GetCodeSigningConfigPolicyInput is an input type that accepts GetCodeSigningConfigPolicyArgs and GetCodeSigningConfigPolicyOutput values. You can construct a concrete instance of `GetCodeSigningConfigPolicyInput` via:

GetCodeSigningConfigPolicyArgs{...}

type GetCodeSigningConfigPolicyOutput added in v3.15.0

type GetCodeSigningConfigPolicyOutput struct{ *pulumi.OutputState }

func (GetCodeSigningConfigPolicyOutput) ElementType added in v3.15.0

func (GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutput added in v3.15.0

func (o GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput

func (GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutputWithContext added in v3.15.0

func (o GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutputWithContext(ctx context.Context) GetCodeSigningConfigPolicyOutput

func (GetCodeSigningConfigPolicyOutput) UntrustedArtifactOnDeployment added in v3.15.0

func (o GetCodeSigningConfigPolicyOutput) UntrustedArtifactOnDeployment() pulumi.StringOutput

Code signing configuration policy for deployment validation failure.

type GetFunctionDeadLetterConfig

type GetFunctionDeadLetterConfig struct {
	TargetArn string `pulumi:"targetArn"`
}

type GetFunctionDeadLetterConfigArgs

type GetFunctionDeadLetterConfigArgs struct {
	TargetArn pulumi.StringInput `pulumi:"targetArn"`
}

func (GetFunctionDeadLetterConfigArgs) ElementType

func (GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutput

func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput

func (GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutputWithContext

func (i GetFunctionDeadLetterConfigArgs) ToGetFunctionDeadLetterConfigOutputWithContext(ctx context.Context) GetFunctionDeadLetterConfigOutput

type GetFunctionDeadLetterConfigInput

type GetFunctionDeadLetterConfigInput interface {
	pulumi.Input

	ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput
	ToGetFunctionDeadLetterConfigOutputWithContext(context.Context) GetFunctionDeadLetterConfigOutput
}

GetFunctionDeadLetterConfigInput is an input type that accepts GetFunctionDeadLetterConfigArgs and GetFunctionDeadLetterConfigOutput values. You can construct a concrete instance of `GetFunctionDeadLetterConfigInput` via:

GetFunctionDeadLetterConfigArgs{...}

type GetFunctionDeadLetterConfigOutput

type GetFunctionDeadLetterConfigOutput struct{ *pulumi.OutputState }

func (GetFunctionDeadLetterConfigOutput) ElementType

func (GetFunctionDeadLetterConfigOutput) TargetArn

func (GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutput

func (o GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput

func (GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutputWithContext

func (o GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutputWithContext(ctx context.Context) GetFunctionDeadLetterConfigOutput

type GetFunctionEnvironment

type GetFunctionEnvironment struct {
	Variables map[string]string `pulumi:"variables"`
}

type GetFunctionEnvironmentArgs

type GetFunctionEnvironmentArgs struct {
	Variables pulumi.StringMapInput `pulumi:"variables"`
}

func (GetFunctionEnvironmentArgs) ElementType

func (GetFunctionEnvironmentArgs) ElementType() reflect.Type

func (GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutput

func (i GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput

func (GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutputWithContext

func (i GetFunctionEnvironmentArgs) ToGetFunctionEnvironmentOutputWithContext(ctx context.Context) GetFunctionEnvironmentOutput

type GetFunctionEnvironmentInput

type GetFunctionEnvironmentInput interface {
	pulumi.Input

	ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput
	ToGetFunctionEnvironmentOutputWithContext(context.Context) GetFunctionEnvironmentOutput
}

GetFunctionEnvironmentInput is an input type that accepts GetFunctionEnvironmentArgs and GetFunctionEnvironmentOutput values. You can construct a concrete instance of `GetFunctionEnvironmentInput` via:

GetFunctionEnvironmentArgs{...}

type GetFunctionEnvironmentOutput

type GetFunctionEnvironmentOutput struct{ *pulumi.OutputState }

func (GetFunctionEnvironmentOutput) ElementType

func (GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutput

func (o GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutput() GetFunctionEnvironmentOutput

func (GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutputWithContext

func (o GetFunctionEnvironmentOutput) ToGetFunctionEnvironmentOutputWithContext(ctx context.Context) GetFunctionEnvironmentOutput

func (GetFunctionEnvironmentOutput) Variables

type GetFunctionFileSystemConfig

type GetFunctionFileSystemConfig struct {
	// Unqualified (no `:QUALIFIER` or `:VERSION` suffix) Amazon Resource Name (ARN) identifying your Lambda Function. See also `qualifiedArn`.
	Arn            string `pulumi:"arn"`
	LocalMountPath string `pulumi:"localMountPath"`
}

type GetFunctionFileSystemConfigArgs

type GetFunctionFileSystemConfigArgs struct {
	// Unqualified (no `:QUALIFIER` or `:VERSION` suffix) Amazon Resource Name (ARN) identifying your Lambda Function. See also `qualifiedArn`.
	Arn            pulumi.StringInput `pulumi:"arn"`
	LocalMountPath pulumi.StringInput `pulumi:"localMountPath"`
}

func (GetFunctionFileSystemConfigArgs) ElementType

func (GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutput

func (i GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutput() GetFunctionFileSystemConfigOutput

func (GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutputWithContext

func (i GetFunctionFileSystemConfigArgs) ToGetFunctionFileSystemConfigOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigOutput

type GetFunctionFileSystemConfigArray

type GetFunctionFileSystemConfigArray []GetFunctionFileSystemConfigInput

func (GetFunctionFileSystemConfigArray) ElementType

func (GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutput

func (i GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutput() GetFunctionFileSystemConfigArrayOutput

func (GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutputWithContext

func (i GetFunctionFileSystemConfigArray) ToGetFunctionFileSystemConfigArrayOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigArrayOutput

type GetFunctionFileSystemConfigArrayInput

type GetFunctionFileSystemConfigArrayInput interface {
	pulumi.Input

	ToGetFunctionFileSystemConfigArrayOutput() GetFunctionFileSystemConfigArrayOutput
	ToGetFunctionFileSystemConfigArrayOutputWithContext(context.Context) GetFunctionFileSystemConfigArrayOutput
}

GetFunctionFileSystemConfigArrayInput is an input type that accepts GetFunctionFileSystemConfigArray and GetFunctionFileSystemConfigArrayOutput values. You can construct a concrete instance of `GetFunctionFileSystemConfigArrayInput` via:

GetFunctionFileSystemConfigArray{ GetFunctionFileSystemConfigArgs{...} }

type GetFunctionFileSystemConfigArrayOutput

type GetFunctionFileSystemConfigArrayOutput struct{ *pulumi.OutputState }

func (GetFunctionFileSystemConfigArrayOutput) ElementType

func (GetFunctionFileSystemConfigArrayOutput) Index

func (GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutput

func (o GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutput() GetFunctionFileSystemConfigArrayOutput

func (GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutputWithContext

func (o GetFunctionFileSystemConfigArrayOutput) ToGetFunctionFileSystemConfigArrayOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigArrayOutput

type GetFunctionFileSystemConfigInput

type GetFunctionFileSystemConfigInput interface {
	pulumi.Input

	ToGetFunctionFileSystemConfigOutput() GetFunctionFileSystemConfigOutput
	ToGetFunctionFileSystemConfigOutputWithContext(context.Context) GetFunctionFileSystemConfigOutput
}

GetFunctionFileSystemConfigInput is an input type that accepts GetFunctionFileSystemConfigArgs and GetFunctionFileSystemConfigOutput values. You can construct a concrete instance of `GetFunctionFileSystemConfigInput` via:

GetFunctionFileSystemConfigArgs{...}

type GetFunctionFileSystemConfigOutput

type GetFunctionFileSystemConfigOutput struct{ *pulumi.OutputState }

func (GetFunctionFileSystemConfigOutput) Arn

Unqualified (no `:QUALIFIER` or `:VERSION` suffix) Amazon Resource Name (ARN) identifying your Lambda Function. See also `qualifiedArn`.

func (GetFunctionFileSystemConfigOutput) ElementType

func (GetFunctionFileSystemConfigOutput) LocalMountPath

func (GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutput

func (o GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutput() GetFunctionFileSystemConfigOutput

func (GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutputWithContext

func (o GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutputWithContext(ctx context.Context) GetFunctionFileSystemConfigOutput

type GetFunctionTracingConfig

type GetFunctionTracingConfig struct {
	Mode string `pulumi:"mode"`
}

type GetFunctionTracingConfigArgs

type GetFunctionTracingConfigArgs struct {
	Mode pulumi.StringInput `pulumi:"mode"`
}

func (GetFunctionTracingConfigArgs) ElementType

func (GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutput

func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput

func (GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutputWithContext

func (i GetFunctionTracingConfigArgs) ToGetFunctionTracingConfigOutputWithContext(ctx context.Context) GetFunctionTracingConfigOutput

type GetFunctionTracingConfigInput

type GetFunctionTracingConfigInput interface {
	pulumi.Input

	ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput
	ToGetFunctionTracingConfigOutputWithContext(context.Context) GetFunctionTracingConfigOutput
}

GetFunctionTracingConfigInput is an input type that accepts GetFunctionTracingConfigArgs and GetFunctionTracingConfigOutput values. You can construct a concrete instance of `GetFunctionTracingConfigInput` via:

GetFunctionTracingConfigArgs{...}

type GetFunctionTracingConfigOutput

type GetFunctionTracingConfigOutput struct{ *pulumi.OutputState }

func (GetFunctionTracingConfigOutput) ElementType

func (GetFunctionTracingConfigOutput) Mode

func (GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutput

func (o GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput

func (GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutputWithContext

func (o GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutputWithContext(ctx context.Context) GetFunctionTracingConfigOutput

type GetFunctionVpcConfig

type GetFunctionVpcConfig struct {
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	SubnetIds        []string `pulumi:"subnetIds"`
	VpcId            string   `pulumi:"vpcId"`
}

type GetFunctionVpcConfigArgs

type GetFunctionVpcConfigArgs struct {
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	SubnetIds        pulumi.StringArrayInput `pulumi:"subnetIds"`
	VpcId            pulumi.StringInput      `pulumi:"vpcId"`
}

func (GetFunctionVpcConfigArgs) ElementType

func (GetFunctionVpcConfigArgs) ElementType() reflect.Type

func (GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutput

func (i GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput

func (GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutputWithContext

func (i GetFunctionVpcConfigArgs) ToGetFunctionVpcConfigOutputWithContext(ctx context.Context) GetFunctionVpcConfigOutput

type GetFunctionVpcConfigInput

type GetFunctionVpcConfigInput interface {
	pulumi.Input

	ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput
	ToGetFunctionVpcConfigOutputWithContext(context.Context) GetFunctionVpcConfigOutput
}

GetFunctionVpcConfigInput is an input type that accepts GetFunctionVpcConfigArgs and GetFunctionVpcConfigOutput values. You can construct a concrete instance of `GetFunctionVpcConfigInput` via:

GetFunctionVpcConfigArgs{...}

type GetFunctionVpcConfigOutput

type GetFunctionVpcConfigOutput struct{ *pulumi.OutputState }

func (GetFunctionVpcConfigOutput) ElementType

func (GetFunctionVpcConfigOutput) ElementType() reflect.Type

func (GetFunctionVpcConfigOutput) SecurityGroupIds

func (GetFunctionVpcConfigOutput) SubnetIds

func (GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutput

func (o GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput

func (GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutputWithContext

func (o GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutputWithContext(ctx context.Context) GetFunctionVpcConfigOutput

func (GetFunctionVpcConfigOutput) VpcId

type GetInvocationArgs

type GetInvocationArgs struct {
	// The name of the lambda function.
	FunctionName string `pulumi:"functionName"`
	// A string in JSON format that is passed as payload to the lambda function.
	Input string `pulumi:"input"`
	// The qualifier (a.k.a version) of the lambda function. Defaults
	// to `$LATEST`.
	Qualifier *string `pulumi:"qualifier"`
}

A collection of arguments for invoking getInvocation.

type GetInvocationResult

type GetInvocationResult struct {
	FunctionName string `pulumi:"functionName"`
	// The provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	Input     string  `pulumi:"input"`
	Qualifier *string `pulumi:"qualifier"`
	// String result of the lambda function invocation.
	Result string `pulumi:"result"`
}

A collection of values returned by getInvocation.

func GetInvocation

func GetInvocation(ctx *pulumi.Context, args *GetInvocationArgs, opts ...pulumi.InvokeOption) (*GetInvocationResult, error)

Use this data source to invoke custom lambda functions as data source. The lambda function is invoked with [RequestResponse](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) invocation type.

type LayerVersion

type LayerVersion struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the Lambda Layer with version.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
	Code pulumi.ArchiveOutput `pulumi:"code"`
	// A list of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified.
	CompatibleRuntimes pulumi.StringArrayOutput `pulumi:"compatibleRuntimes"`
	// The date this resource was created.
	CreatedDate pulumi.StringOutput `pulumi:"createdDate"`
	// Description of what your Lambda Layer does.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Amazon Resource Name (ARN) of the Lambda Layer without version.
	LayerArn pulumi.StringOutput `pulumi:"layerArn"`
	// A unique name for your Lambda Layer
	LayerName pulumi.StringOutput `pulumi:"layerName"`
	// License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).
	LicenseInfo pulumi.StringPtrOutput `pulumi:"licenseInfo"`
	// 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.
	S3Bucket pulumi.StringPtrOutput `pulumi:"s3Bucket"`
	// The S3 key of an object containing the function's deployment package. Conflicts with `filename`.
	S3Key pulumi.StringPtrOutput `pulumi:"s3Key"`
	// The object version containing the function's deployment package. Conflicts with `filename`.
	S3ObjectVersion pulumi.StringPtrOutput `pulumi:"s3ObjectVersion"`
	// The Amazon Resource Name (ARN) of a signing job.
	SigningJobArn pulumi.StringOutput `pulumi:"signingJobArn"`
	// The Amazon Resource Name (ARN) for a signing profile version.
	SigningProfileVersionArn pulumi.StringOutput `pulumi:"signingProfileVersionArn"`
	// Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. 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.
	SourceCodeHash pulumi.StringOutput `pulumi:"sourceCodeHash"`
	// The size in bytes of the function .zip file.
	SourceCodeSize pulumi.IntOutput `pulumi:"sourceCodeSize"`
	// This Lamba Layer version.
	Version pulumi.StringOutput `pulumi:"version"`
}

Provides a Lambda Layer Version resource. Lambda Layers allow you to reuse shared bits of code across multiple lambda functions.

For information about Lambda Layers and how to use them, see [AWS Lambda Layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)

## Specifying the Deployment Package

AWS Lambda Layers expect source code to be provided as a deployment package whose structure varies depending on which `compatibleRuntimes` this layer specifies. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) for the valid values of `compatibleRuntimes`.

Once you have created your deployment package you can specify it either directly as a local file (using the `filename` argument) or indirectly via Amazon S3 (using the `s3Bucket`, `s3Key` and `s3ObjectVersion` arguments). When providing the deployment package via S3 it may be useful to use the `s3.BucketObject` resource to upload it.

For larger deployment packages it is recommended by Amazon to upload via S3, since the S3 API has better support for uploading large files efficiently.

## Import

Lambda Layers can be imported using `arn`.

```sh

$ pulumi import aws:lambda/layerVersion:LayerVersion \

```

aws_lambda_layer_version.test_layer \

arn:aws:lambda:_REGION_:_ACCOUNT_ID_:layer:_LAYER_NAME_:_LAYER_VERSION_

func GetLayerVersion

func GetLayerVersion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LayerVersionState, opts ...pulumi.ResourceOption) (*LayerVersion, error)

GetLayerVersion gets an existing LayerVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLayerVersion

func NewLayerVersion(ctx *pulumi.Context,
	name string, args *LayerVersionArgs, opts ...pulumi.ResourceOption) (*LayerVersion, error)

NewLayerVersion registers a new resource with the given unique name, arguments, and options.

func (LayerVersion) ElementType added in v3.13.0

func (LayerVersion) ElementType() reflect.Type

func (LayerVersion) ToLayerVersionOutput added in v3.13.0

func (i LayerVersion) ToLayerVersionOutput() LayerVersionOutput

func (LayerVersion) ToLayerVersionOutputWithContext added in v3.13.0

func (i LayerVersion) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput

type LayerVersionArgs

type LayerVersionArgs struct {
	// The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
	Code pulumi.ArchiveInput
	// A list of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified.
	CompatibleRuntimes pulumi.StringArrayInput
	// Description of what your Lambda Layer does.
	Description pulumi.StringPtrInput
	// A unique name for your Lambda Layer
	LayerName pulumi.StringInput
	// License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).
	LicenseInfo pulumi.StringPtrInput
	// 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.
	S3Bucket pulumi.StringPtrInput
	// The S3 key of an object containing the function's deployment package. Conflicts with `filename`.
	S3Key pulumi.StringPtrInput
	// The object version containing the function's deployment package. Conflicts with `filename`.
	S3ObjectVersion pulumi.StringPtrInput
	// Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. 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.
	SourceCodeHash pulumi.StringPtrInput
}

The set of arguments for constructing a LayerVersion resource.

func (LayerVersionArgs) ElementType

func (LayerVersionArgs) ElementType() reflect.Type

type LayerVersionInput added in v3.13.0

type LayerVersionInput interface {
	pulumi.Input

	ToLayerVersionOutput() LayerVersionOutput
	ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput
}

type LayerVersionOutput added in v3.13.0

type LayerVersionOutput struct {
	*pulumi.OutputState
}

func (LayerVersionOutput) ElementType added in v3.13.0

func (LayerVersionOutput) ElementType() reflect.Type

func (LayerVersionOutput) ToLayerVersionOutput added in v3.13.0

func (o LayerVersionOutput) ToLayerVersionOutput() LayerVersionOutput

func (LayerVersionOutput) ToLayerVersionOutputWithContext added in v3.13.0

func (o LayerVersionOutput) ToLayerVersionOutputWithContext(ctx context.Context) LayerVersionOutput

type LayerVersionState

type LayerVersionState struct {
	// The Amazon Resource Name (ARN) of the Lambda Layer with version.
	Arn pulumi.StringPtrInput
	// The path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
	Code pulumi.ArchiveInput
	// A list of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleRuntimes) this layer is compatible with. Up to 5 runtimes can be specified.
	CompatibleRuntimes pulumi.StringArrayInput
	// The date this resource was created.
	CreatedDate pulumi.StringPtrInput
	// Description of what your Lambda Layer does.
	Description pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the Lambda Layer without version.
	LayerArn pulumi.StringPtrInput
	// A unique name for your Lambda Layer
	LayerName pulumi.StringPtrInput
	// License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).
	LicenseInfo pulumi.StringPtrInput
	// 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.
	S3Bucket pulumi.StringPtrInput
	// The S3 key of an object containing the function's deployment package. Conflicts with `filename`.
	S3Key pulumi.StringPtrInput
	// The object version containing the function's deployment package. Conflicts with `filename`.
	S3ObjectVersion pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of a signing job.
	SigningJobArn pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) for a signing profile version.
	SigningProfileVersionArn pulumi.StringPtrInput
	// Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either `filename` or `s3Key`. 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.
	SourceCodeHash pulumi.StringPtrInput
	// The size in bytes of the function .zip file.
	SourceCodeSize pulumi.IntPtrInput
	// This Lamba Layer version.
	Version pulumi.StringPtrInput
}

func (LayerVersionState) ElementType

func (LayerVersionState) ElementType() reflect.Type

type LookupAliasArgs

type LookupAliasArgs struct {
	// Name of the aliased Lambda function.
	FunctionName string `pulumi:"functionName"`
	// Name of the Lambda alias.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getAlias.

type LookupAliasResult

type LookupAliasResult struct {
	// The Amazon Resource Name (ARN) identifying the Lambda function alias.
	Arn string `pulumi:"arn"`
	// Description of alias.
	Description  string `pulumi:"description"`
	FunctionName string `pulumi:"functionName"`
	// Lambda function version which the alias uses.
	FunctionVersion string `pulumi:"functionVersion"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration's `uri`.
	InvokeArn string `pulumi:"invokeArn"`
	Name      string `pulumi:"name"`
}

A collection of values returned by getAlias.

func LookupAlias

func LookupAlias(ctx *pulumi.Context, args *LookupAliasArgs, opts ...pulumi.InvokeOption) (*LookupAliasResult, error)

Provides information about a Lambda Alias.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.LookupAlias(ctx, &lambda.LookupAliasArgs{
			FunctionName: "my-lambda-func",
			Name:         "production",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupCodeSigningConfigArgs added in v3.15.0

type LookupCodeSigningConfigArgs struct {
	// The Amazon Resource Name (ARN) of the code signing configuration.
	Arn string `pulumi:"arn"`
}

A collection of arguments for invoking getCodeSigningConfig.

type LookupCodeSigningConfigResult added in v3.15.0

type LookupCodeSigningConfigResult struct {
	// List of allowed publishers as signing profiles for this code signing configuration.
	AllowedPublishers []GetCodeSigningConfigAllowedPublisher `pulumi:"allowedPublishers"`
	Arn               string                                 `pulumi:"arn"`
	// Unique identifier for the code signing configuration.
	ConfigId string `pulumi:"configId"`
	// Code signing configuration description.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The date and time that the code signing configuration was last modified.
	LastModified string `pulumi:"lastModified"`
	// List of code signing policies that control the validation failure action for signature mismatch or expiry.
	Policies []GetCodeSigningConfigPolicy `pulumi:"policies"`
}

A collection of values returned by getCodeSigningConfig.

func LookupCodeSigningConfig added in v3.15.0

func LookupCodeSigningConfig(ctx *pulumi.Context, args *LookupCodeSigningConfigArgs, opts ...pulumi.InvokeOption) (*LookupCodeSigningConfigResult, error)

Provides information about a Lambda Code Signing Config. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).

For information about Lambda code signing configurations and how to use them, see [configuring code signing for Lambda functions](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html)

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.LookupCodeSigningConfig(ctx, &lambda.LookupCodeSigningConfigArgs{
			Arn: fmt.Sprintf("%v%v%v%v%v", "arn:aws:lambda:", _var.Aws_region, ":", _var.Aws_account, ":code-signing-config:csc-0f6c334abcdea4d8b"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupFunctionArgs

type LookupFunctionArgs struct {
	// Name of the lambda function.
	FunctionName string `pulumi:"functionName"`
	// Alias name or version number of the lambda function. e.g. `$LATEST`, `my-alias`, or `1`
	Qualifier *string           `pulumi:"qualifier"`
	Tags      map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getFunction.

type LookupFunctionResult

type LookupFunctionResult struct {
	// Unqualified (no `:QUALIFIER` or `:VERSION` suffix) Amazon Resource Name (ARN) identifying your Lambda Function. See also `qualifiedArn`.
	Arn string `pulumi:"arn"`
	// Amazon Resource Name (ARN) for a Code Signing Configuration.
	CodeSigningConfigArn string `pulumi:"codeSigningConfigArn"`
	// Configure the function's *dead letter queue*.
	DeadLetterConfig GetFunctionDeadLetterConfig `pulumi:"deadLetterConfig"`
	// Description of what your Lambda Function does.
	Description string `pulumi:"description"`
	// The Lambda environment's configuration settings.
	Environment GetFunctionEnvironment `pulumi:"environment"`
	// The connection settings for an Amazon EFS file system.
	FileSystemConfigs []GetFunctionFileSystemConfig `pulumi:"fileSystemConfigs"`
	FunctionName      string                        `pulumi:"functionName"`
	// The function entrypoint in your code.
	Handler string `pulumi:"handler"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ARN to be used for invoking Lambda Function from API Gateway.
	InvokeArn string `pulumi:"invokeArn"`
	// The ARN for the KMS encryption key.
	KmsKeyArn string `pulumi:"kmsKeyArn"`
	// The date this resource was last modified.
	LastModified string `pulumi:"lastModified"`
	// A list of Lambda Layer ARNs attached to your Lambda Function.
	Layers []string `pulumi:"layers"`
	// Amount of memory in MB your Lambda Function can use at runtime.
	MemorySize int `pulumi:"memorySize"`
	// Qualified (`:QUALIFIER` or `:VERSION` suffix) Amazon Resource Name (ARN) identifying your Lambda Function. See also `arn`.
	QualifiedArn string  `pulumi:"qualifiedArn"`
	Qualifier    *string `pulumi:"qualifier"`
	// The amount of reserved concurrent executions for this lambda function or `-1` if unreserved.
	ReservedConcurrentExecutions int `pulumi:"reservedConcurrentExecutions"`
	// IAM role attached to the Lambda Function.
	Role string `pulumi:"role"`
	// The runtime environment for the Lambda function.
	Runtime string `pulumi:"runtime"`
	// The Amazon Resource Name (ARN) of a signing job.
	SigningJobArn string `pulumi:"signingJobArn"`
	// The Amazon Resource Name (ARN) for a signing profile version.
	SigningProfileVersionArn string `pulumi:"signingProfileVersionArn"`
	// Base64-encoded representation of raw SHA-256 sum of the zip file.
	SourceCodeHash string `pulumi:"sourceCodeHash"`
	// The size in bytes of the function .zip file.
	SourceCodeSize int               `pulumi:"sourceCodeSize"`
	Tags           map[string]string `pulumi:"tags"`
	// The function execution time at which Lambda should terminate the function.
	Timeout int `pulumi:"timeout"`
	// Tracing settings of the function.
	TracingConfig GetFunctionTracingConfig `pulumi:"tracingConfig"`
	// The version of the Lambda function.
	Version string `pulumi:"version"`
	// VPC configuration associated with your Lambda function.
	VpcConfig GetFunctionVpcConfig `pulumi:"vpcConfig"`
}

A collection of values returned by getFunction.

func LookupFunction

func LookupFunction(ctx *pulumi.Context, args *LookupFunctionArgs, opts ...pulumi.InvokeOption) (*LookupFunctionResult, error)

Provides information about a Lambda Function.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		functionName := cfg.Require("functionName")
		_, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
			FunctionName: functionName,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupLayerVersionArgs

type LookupLayerVersionArgs struct {
	// Specific runtime the layer version must support. Conflicts with `version`. If specified, the latest available layer version supporting the provided runtime will be used.
	CompatibleRuntime *string `pulumi:"compatibleRuntime"`
	// Name of the lambda layer.
	LayerName string `pulumi:"layerName"`
	// Specific layer version. Conflicts with `compatibleRuntime`. If omitted, the latest available layer version will be used.
	Version *int `pulumi:"version"`
}

A collection of arguments for invoking getLayerVersion.

type LookupLayerVersionResult

type LookupLayerVersionResult struct {
	// The Amazon Resource Name (ARN) of the Lambda Layer with version.
	Arn               string  `pulumi:"arn"`
	CompatibleRuntime *string `pulumi:"compatibleRuntime"`
	// A list of [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersion.html#SSS-GetLayerVersion-response-CompatibleRuntimes) the specific Lambda Layer version is compatible with.
	CompatibleRuntimes []string `pulumi:"compatibleRuntimes"`
	// The date this resource was created.
	CreatedDate string `pulumi:"createdDate"`
	// Description of the specific Lambda Layer version.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Amazon Resource Name (ARN) of the Lambda Layer without version.
	LayerArn  string `pulumi:"layerArn"`
	LayerName string `pulumi:"layerName"`
	// License info associated with the specific Lambda Layer version.
	LicenseInfo string `pulumi:"licenseInfo"`
	// The Amazon Resource Name (ARN) of a signing job.
	SigningJobArn string `pulumi:"signingJobArn"`
	// The Amazon Resource Name (ARN) for a signing profile version.
	SigningProfileVersionArn string `pulumi:"signingProfileVersionArn"`
	// Base64-encoded representation of raw SHA-256 sum of the zip file.
	SourceCodeHash string `pulumi:"sourceCodeHash"`
	// The size in bytes of the function .zip file.
	SourceCodeSize int `pulumi:"sourceCodeSize"`
	// This Lamba Layer version.
	Version int `pulumi:"version"`
}

A collection of values returned by getLayerVersion.

func LookupLayerVersion

func LookupLayerVersion(ctx *pulumi.Context, args *LookupLayerVersionArgs, opts ...pulumi.InvokeOption) (*LookupLayerVersionResult, error)

Provides information about a Lambda Layer Version.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		layerName := cfg.Require("layerName")
		_, err := lambda.LookupLayerVersion(ctx, &lambda.LookupLayerVersionArgs{
			LayerName: layerName,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type Permission

type Permission struct {
	pulumi.CustomResourceState

	// The AWS Lambda action you want to allow in this statement. (e.g. `lambda:InvokeFunction`)
	Action pulumi.StringOutput `pulumi:"action"`
	// The Event Source Token to validate.  Used with [Alexa Skills](https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli).
	EventSourceToken pulumi.StringPtrOutput `pulumi:"eventSourceToken"`
	// Name of the Lambda function whose resource policy you are updating
	Function pulumi.StringOutput `pulumi:"function"`
	// The principal who is getting this permission. e.g. `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN. e.g. `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
	Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"`
	// This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner.
	SourceAccount pulumi.StringPtrOutput `pulumi:"sourceAccount"`
	// When the principal is an AWS service, the ARN of the specific resource within that service to grant permission to.
	// Without this, any resource from `principal` will be granted permission – even if that resource is from another account.
	// For S3, this should be the ARN of the S3 Bucket.
	// For CloudWatch Events, this should be the ARN of the CloudWatch Events Rule.
	// For API Gateway, this should be the ARN of the API, as described [here](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html).
	SourceArn pulumi.StringPtrOutput `pulumi:"sourceArn"`
	// A unique statement identifier. By default generated by this provider.
	StatementId pulumi.StringOutput `pulumi:"statementId"`
	// A statement identifier prefix. This provider will generate a unique suffix. Conflicts with `statementId`.
	StatementIdPrefix pulumi.StringPtrOutput `pulumi:"statementIdPrefix"`
}

Gives an external source (like a CloudWatch Event Rule, SNS, or S3) permission to access the Lambda function.

## Example Usage ### Specify Lambda permissions for API Gateway REST API

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/apigateway"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myDemoAPI, err := apigateway.NewRestApi(ctx, "myDemoAPI", &apigateway.RestApiArgs{
			Description: pulumi.String("This is my API for demonstration purposes"),
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewPermission(ctx, "lambdaPermission", &lambda.PermissionArgs{
			Action:    pulumi.String("lambda:InvokeFunction"),
			Function:  pulumi.String("MyDemoFunction"),
			Principal: pulumi.String("apigateway.amazonaws.com"),
			SourceArn: myDemoAPI.ExecutionArn.ApplyT(func(executionArn string) (string, error) {
				return fmt.Sprintf("%v%v", executionArn, "/*/*/*"), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Lambda permission statements can be imported using function_name/statement_id, with an optional qualifier, e.g.

```sh

$ pulumi import aws:lambda/permission:Permission test_lambda_permission my_test_lambda_function/AllowExecutionFromCloudWatch

```

```sh

$ pulumi import aws:lambda/permission:Permission test_lambda_permission my_test_lambda_function:qualifier_name/AllowExecutionFromCloudWatch

```

func GetPermission

func GetPermission(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PermissionState, opts ...pulumi.ResourceOption) (*Permission, error)

GetPermission gets an existing Permission resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPermission

func NewPermission(ctx *pulumi.Context,
	name string, args *PermissionArgs, opts ...pulumi.ResourceOption) (*Permission, error)

NewPermission registers a new resource with the given unique name, arguments, and options.

func (Permission) ElementType added in v3.13.0

func (Permission) ElementType() reflect.Type

func (Permission) ToPermissionOutput added in v3.13.0

func (i Permission) ToPermissionOutput() PermissionOutput

func (Permission) ToPermissionOutputWithContext added in v3.13.0

func (i Permission) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput

type PermissionArgs

type PermissionArgs struct {
	// The AWS Lambda action you want to allow in this statement. (e.g. `lambda:InvokeFunction`)
	Action pulumi.StringInput
	// The Event Source Token to validate.  Used with [Alexa Skills](https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli).
	EventSourceToken pulumi.StringPtrInput
	// Name of the Lambda function whose resource policy you are updating
	Function pulumi.Input
	// The principal who is getting this permission. e.g. `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
	Principal pulumi.StringInput
	// Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN. e.g. `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
	Qualifier pulumi.StringPtrInput
	// This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner.
	SourceAccount pulumi.StringPtrInput
	// When the principal is an AWS service, the ARN of the specific resource within that service to grant permission to.
	// Without this, any resource from `principal` will be granted permission – even if that resource is from another account.
	// For S3, this should be the ARN of the S3 Bucket.
	// For CloudWatch Events, this should be the ARN of the CloudWatch Events Rule.
	// For API Gateway, this should be the ARN of the API, as described [here](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html).
	SourceArn pulumi.StringPtrInput
	// A unique statement identifier. By default generated by this provider.
	StatementId pulumi.StringPtrInput
	// A statement identifier prefix. This provider will generate a unique suffix. Conflicts with `statementId`.
	StatementIdPrefix pulumi.StringPtrInput
}

The set of arguments for constructing a Permission resource.

func (PermissionArgs) ElementType

func (PermissionArgs) ElementType() reflect.Type

type PermissionInput added in v3.13.0

type PermissionInput interface {
	pulumi.Input

	ToPermissionOutput() PermissionOutput
	ToPermissionOutputWithContext(ctx context.Context) PermissionOutput
}

type PermissionOutput added in v3.13.0

type PermissionOutput struct {
	*pulumi.OutputState
}

func (PermissionOutput) ElementType added in v3.13.0

func (PermissionOutput) ElementType() reflect.Type

func (PermissionOutput) ToPermissionOutput added in v3.13.0

func (o PermissionOutput) ToPermissionOutput() PermissionOutput

func (PermissionOutput) ToPermissionOutputWithContext added in v3.13.0

func (o PermissionOutput) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput

type PermissionState

type PermissionState struct {
	// The AWS Lambda action you want to allow in this statement. (e.g. `lambda:InvokeFunction`)
	Action pulumi.StringPtrInput
	// The Event Source Token to validate.  Used with [Alexa Skills](https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli).
	EventSourceToken pulumi.StringPtrInput
	// Name of the Lambda function whose resource policy you are updating
	Function pulumi.StringPtrInput
	// The principal who is getting this permission. e.g. `s3.amazonaws.com`, an AWS account ID, or any valid AWS service principal such as `events.amazonaws.com` or `sns.amazonaws.com`.
	Principal pulumi.StringPtrInput
	// Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN. e.g. `arn:aws:lambda:aws-region:acct-id:function:function-name:2`
	Qualifier pulumi.StringPtrInput
	// This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner.
	SourceAccount pulumi.StringPtrInput
	// When the principal is an AWS service, the ARN of the specific resource within that service to grant permission to.
	// Without this, any resource from `principal` will be granted permission – even if that resource is from another account.
	// For S3, this should be the ARN of the S3 Bucket.
	// For CloudWatch Events, this should be the ARN of the CloudWatch Events Rule.
	// For API Gateway, this should be the ARN of the API, as described [here](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html).
	SourceArn pulumi.StringPtrInput
	// A unique statement identifier. By default generated by this provider.
	StatementId pulumi.StringPtrInput
	// A statement identifier prefix. This provider will generate a unique suffix. Conflicts with `statementId`.
	StatementIdPrefix pulumi.StringPtrInput
}

func (PermissionState) ElementType

func (PermissionState) ElementType() reflect.Type

type ProvisionedConcurrencyConfig

type ProvisionedConcurrencyConfig struct {
	pulumi.CustomResourceState

	// Name or Amazon Resource Name (ARN) of the Lambda Function.
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// Amount of capacity to allocate. Must be greater than or equal to `1`.
	ProvisionedConcurrentExecutions pulumi.IntOutput `pulumi:"provisionedConcurrentExecutions"`
	// Lambda Function version or Lambda Alias name.
	Qualifier pulumi.StringOutput `pulumi:"qualifier"`
}

Manages a Lambda Provisioned Concurrency Configuration.

## Example Usage ### Alias Name

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewProvisionedConcurrencyConfig(ctx, "example", &lambda.ProvisionedConcurrencyConfigArgs{
			FunctionName:                    pulumi.Any(aws_lambda_alias.Example.Function_name),
			ProvisionedConcurrentExecutions: pulumi.Int(1),
			Qualifier:                       pulumi.Any(aws_lambda_alias.Example.Name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Function Version

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewProvisionedConcurrencyConfig(ctx, "example", &lambda.ProvisionedConcurrencyConfigArgs{
			FunctionName:                    pulumi.Any(aws_lambda_function.Example.Function_name),
			ProvisionedConcurrentExecutions: pulumi.Int(1),
			Qualifier:                       pulumi.Any(aws_lambda_function.Example.Version),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Lambda Provisioned Concurrency Configs can be imported using the `function_name` and `qualifier` separated by a colon (`:`), e.g.

```sh

$ pulumi import aws:lambda/provisionedConcurrencyConfig:ProvisionedConcurrencyConfig example my_function:production

```

func GetProvisionedConcurrencyConfig

func GetProvisionedConcurrencyConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProvisionedConcurrencyConfigState, opts ...pulumi.ResourceOption) (*ProvisionedConcurrencyConfig, error)

GetProvisionedConcurrencyConfig gets an existing ProvisionedConcurrencyConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProvisionedConcurrencyConfig

func NewProvisionedConcurrencyConfig(ctx *pulumi.Context,
	name string, args *ProvisionedConcurrencyConfigArgs, opts ...pulumi.ResourceOption) (*ProvisionedConcurrencyConfig, error)

NewProvisionedConcurrencyConfig registers a new resource with the given unique name, arguments, and options.

func (ProvisionedConcurrencyConfig) ElementType added in v3.13.0

func (ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutput added in v3.13.0

func (i ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput

func (ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutputWithContext added in v3.13.0

func (i ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigOutput

type ProvisionedConcurrencyConfigArgs

type ProvisionedConcurrencyConfigArgs struct {
	// Name or Amazon Resource Name (ARN) of the Lambda Function.
	FunctionName pulumi.StringInput
	// Amount of capacity to allocate. Must be greater than or equal to `1`.
	ProvisionedConcurrentExecutions pulumi.IntInput
	// Lambda Function version or Lambda Alias name.
	Qualifier pulumi.StringInput
}

The set of arguments for constructing a ProvisionedConcurrencyConfig resource.

func (ProvisionedConcurrencyConfigArgs) ElementType

type ProvisionedConcurrencyConfigInput added in v3.13.0

type ProvisionedConcurrencyConfigInput interface {
	pulumi.Input

	ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput
	ToProvisionedConcurrencyConfigOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigOutput
}

type ProvisionedConcurrencyConfigOutput added in v3.13.0

type ProvisionedConcurrencyConfigOutput struct {
	*pulumi.OutputState
}

func (ProvisionedConcurrencyConfigOutput) ElementType added in v3.13.0

func (ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutput added in v3.13.0

func (o ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput

func (ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutputWithContext added in v3.13.0

func (o ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigOutput

type ProvisionedConcurrencyConfigState

type ProvisionedConcurrencyConfigState struct {
	// Name or Amazon Resource Name (ARN) of the Lambda Function.
	FunctionName pulumi.StringPtrInput
	// Amount of capacity to allocate. Must be greater than or equal to `1`.
	ProvisionedConcurrentExecutions pulumi.IntPtrInput
	// Lambda Function version or Lambda Alias name.
	Qualifier pulumi.StringPtrInput
}

func (ProvisionedConcurrencyConfigState) ElementType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL