lambda

package
v7.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 7 Imported by: 10

Documentation

Index

Constants

View Source
const (
	RuntimeDotnet6      = Runtime("dotnet6")
	RuntimeDotnet8      = Runtime("dotnet8")
	RuntimeJava11       = Runtime("java11")
	RuntimeJava17       = Runtime("java17")
	RuntimeJava21       = Runtime("java21")
	RuntimeJava8AL2     = Runtime("java8.al2")
	RuntimeNodeJS18dX   = Runtime("nodejs18.x")
	RuntimeNodeJS20dX   = Runtime("nodejs20.x")
	RuntimeNodeJS22dX   = Runtime("nodejs22.x")
	RuntimeCustomAL2    = Runtime("provided.al2")
	RuntimeCustomAL2023 = Runtime("provided.al2023")
	RuntimePython3d10   = Runtime("python3.10")
	RuntimePython3d11   = Runtime("python3.11")
	RuntimePython3d12   = Runtime("python3.12")
	RuntimePython3d13   = Runtime("python3.13")
	RuntimePython3d9    = Runtime("python3.9")
	RuntimeRuby3d2      = Runtime("ruby3.2")
	RuntimeRuby3d3      = Runtime("ruby3.3")
	RuntimeRuby3d4      = Runtime("ruby3.4")
	// Deprecated: This runtime is now deprecated
	RuntimeDotnet5d0 = Runtime("dotnet5.0")
	// Deprecated: This runtime is now deprecated
	RuntimeDotnet7 = Runtime("dotnet7")
	// Deprecated: This runtime is now deprecated
	RuntimeDotnetCore2d1 = Runtime("dotnetcore2.1")
	// Deprecated: This runtime is now deprecated
	RuntimeDotnetCore3d1 = Runtime("dotnetcore3.1")
	// Deprecated: This runtime is now deprecated
	RuntimeGo1dx = Runtime("go1.x")
	// Deprecated: This runtime is now deprecated
	RuntimeJava8 = Runtime("java8")
	// Deprecated: This runtime is now deprecated
	RuntimeNodeJS10dX = Runtime("nodejs10.x")
	// Deprecated: This runtime is now deprecated
	RuntimeNodeJS12dX = Runtime("nodejs12.x")
	// Deprecated: This runtime is now deprecated
	RuntimeNodeJS14dX = Runtime("nodejs14.x")
	// Deprecated: This runtime is now deprecated
	RuntimeNodeJS16dX = Runtime("nodejs16.x")
	// Deprecated: This runtime is now deprecated
	RuntimeCustom = Runtime("provided")
	// Deprecated: This runtime is now deprecated
	RuntimePython2d7 = Runtime("python2.7")
	// Deprecated: This runtime is now deprecated
	RuntimePython3d6 = Runtime("python3.6")
	// Deprecated: This runtime is now deprecated
	RuntimePython3d7 = Runtime("python3.7")
	// Deprecated: This runtime is now deprecated
	RuntimePython3d8 = Runtime("python3.8")
	// Deprecated: This runtime is now deprecated
	RuntimeRuby2d5 = Runtime("ruby2.5")
	// Deprecated: This runtime is now deprecated
	RuntimeRuby2d7 = Runtime("ruby2.7")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	pulumi.CustomResourceState

	// ARN identifying your Lambda function alias.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Description of the alias.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Name or ARN of the Lambda function.
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`.
	FunctionVersion pulumi.StringOutput `pulumi:"functionVersion"`
	// 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. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)`.
	//
	// The following arguments are optional:
	Name pulumi.StringOutput `pulumi:"name"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// Lambda alias' route configuration settings. See below.
	RoutingConfig AliasRoutingConfigPtrOutput `pulumi:"routingConfig"`
}

Manages an AWS Lambda Alias. Use this resource to create an alias that points to a specific Lambda function version for traffic management and deployment strategies.

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

### Basic Alias

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewAlias(ctx, "example", &lambda.AliasArgs{
			Name:            pulumi.String("production"),
			Description:     pulumi.String("Production environment alias"),
			FunctionName:    pulumi.Any(exampleAwsLambdaFunction.Arn),
			FunctionVersion: pulumi.String("1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Alias with Traffic Splitting

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewAlias(ctx, "example", &lambda.AliasArgs{
			Name:            pulumi.String("staging"),
			Description:     pulumi.String("Staging environment with traffic splitting"),
			FunctionName:    pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			FunctionVersion: pulumi.String("2"),
			RoutingConfig: &lambda.AliasRoutingConfigArgs{
				AdditionalVersionWeights: pulumi.Float64Map{
					"1": pulumi.Float64(0.1),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Blue-Green Deployment Alias

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Alias for gradual rollout
		_, err := lambda.NewAlias(ctx, "example", &lambda.AliasArgs{
			Name:            pulumi.String("live"),
			Description:     pulumi.String("Live traffic with gradual rollout to new version"),
			FunctionName:    pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			FunctionVersion: pulumi.String("5"),
			RoutingConfig: &lambda.AliasRoutingConfigArgs{
				AdditionalVersionWeights: pulumi.Float64Map{
					"6": pulumi.Float64(0.05),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Development Alias

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewAlias(ctx, "example", &lambda.AliasArgs{
			Name:            pulumi.String("dev"),
			Description:     pulumi.String("Development environment - always points to latest"),
			FunctionName:    pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			FunctionVersion: pulumi.String("$LATEST"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For backwards compatibility, the following legacy `pulumi import` command is also supported:

```sh $ pulumi import aws:lambda/alias:Alias example example/production ```

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

func (*Alias) ElementType() reflect.Type

func (*Alias) ToAliasOutput

func (i *Alias) ToAliasOutput() AliasOutput

func (*Alias) ToAliasOutputWithContext

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

type AliasArgs

type AliasArgs struct {
	// Description of the alias.
	Description pulumi.StringPtrInput
	// Name or ARN of the Lambda function.
	FunctionName pulumi.StringInput
	// Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`.
	FunctionVersion pulumi.StringInput
	// Name for the alias. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)`.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Lambda alias' route configuration settings. See below.
	RoutingConfig AliasRoutingConfigPtrInput
}

The set of arguments for constructing a Alias resource.

func (AliasArgs) ElementType

func (AliasArgs) ElementType() reflect.Type

type AliasArray

type AliasArray []AliasInput

func (AliasArray) ElementType

func (AliasArray) ElementType() reflect.Type

func (AliasArray) ToAliasArrayOutput

func (i AliasArray) ToAliasArrayOutput() AliasArrayOutput

func (AliasArray) ToAliasArrayOutputWithContext

func (i AliasArray) ToAliasArrayOutputWithContext(ctx context.Context) AliasArrayOutput

type AliasArrayInput

type AliasArrayInput interface {
	pulumi.Input

	ToAliasArrayOutput() AliasArrayOutput
	ToAliasArrayOutputWithContext(context.Context) AliasArrayOutput
}

AliasArrayInput is an input type that accepts AliasArray and AliasArrayOutput values. You can construct a concrete instance of `AliasArrayInput` via:

AliasArray{ AliasArgs{...} }

type AliasArrayOutput

type AliasArrayOutput struct{ *pulumi.OutputState }

func (AliasArrayOutput) ElementType

func (AliasArrayOutput) ElementType() reflect.Type

func (AliasArrayOutput) Index

func (AliasArrayOutput) ToAliasArrayOutput

func (o AliasArrayOutput) ToAliasArrayOutput() AliasArrayOutput

func (AliasArrayOutput) ToAliasArrayOutputWithContext

func (o AliasArrayOutput) ToAliasArrayOutputWithContext(ctx context.Context) AliasArrayOutput

type AliasInput

type AliasInput interface {
	pulumi.Input

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

type AliasMap

type AliasMap map[string]AliasInput

func (AliasMap) ElementType

func (AliasMap) ElementType() reflect.Type

func (AliasMap) ToAliasMapOutput

func (i AliasMap) ToAliasMapOutput() AliasMapOutput

func (AliasMap) ToAliasMapOutputWithContext

func (i AliasMap) ToAliasMapOutputWithContext(ctx context.Context) AliasMapOutput

type AliasMapInput

type AliasMapInput interface {
	pulumi.Input

	ToAliasMapOutput() AliasMapOutput
	ToAliasMapOutputWithContext(context.Context) AliasMapOutput
}

AliasMapInput is an input type that accepts AliasMap and AliasMapOutput values. You can construct a concrete instance of `AliasMapInput` via:

AliasMap{ "key": AliasArgs{...} }

type AliasMapOutput

type AliasMapOutput struct{ *pulumi.OutputState }

func (AliasMapOutput) ElementType

func (AliasMapOutput) ElementType() reflect.Type

func (AliasMapOutput) MapIndex

func (AliasMapOutput) ToAliasMapOutput

func (o AliasMapOutput) ToAliasMapOutput() AliasMapOutput

func (AliasMapOutput) ToAliasMapOutputWithContext

func (o AliasMapOutput) ToAliasMapOutputWithContext(ctx context.Context) AliasMapOutput

type AliasOutput

type AliasOutput struct{ *pulumi.OutputState }

func (AliasOutput) Arn

ARN identifying your Lambda function alias.

func (AliasOutput) Description

func (o AliasOutput) Description() pulumi.StringPtrOutput

Description of the alias.

func (AliasOutput) ElementType

func (AliasOutput) ElementType() reflect.Type

func (AliasOutput) FunctionName

func (o AliasOutput) FunctionName() pulumi.StringOutput

Name or ARN of the Lambda function.

func (AliasOutput) FunctionVersion

func (o AliasOutput) FunctionVersion() pulumi.StringOutput

Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`.

func (AliasOutput) InvokeArn

func (o AliasOutput) InvokeArn() pulumi.StringOutput

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

func (AliasOutput) Name

func (o AliasOutput) Name() pulumi.StringOutput

Name for the alias. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)`.

The following arguments are optional:

func (AliasOutput) Region

func (o AliasOutput) Region() pulumi.StringOutput

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (AliasOutput) RoutingConfig

func (o AliasOutput) RoutingConfig() AliasRoutingConfigPtrOutput

Lambda alias' route configuration settings. See below.

func (AliasOutput) ToAliasOutput

func (o AliasOutput) ToAliasOutput() AliasOutput

func (AliasOutput) ToAliasOutputWithContext

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

type AliasRoutingConfig

type AliasRoutingConfig struct {
	// 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 {
	// 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

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

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 {
	// ARN identifying your Lambda function alias.
	Arn pulumi.StringPtrInput
	// Description of the alias.
	Description pulumi.StringPtrInput
	// Name or ARN of the Lambda function.
	FunctionName pulumi.StringPtrInput
	// Lambda function version for which you are creating the alias. Pattern: `(\$LATEST|[0-9]+)`.
	FunctionVersion pulumi.StringPtrInput
	// 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. Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)`.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Lambda alias' route configuration settings. See below.
	RoutingConfig AliasRoutingConfigPtrInput
}

func (AliasState) ElementType

func (AliasState) ElementType() reflect.Type

type CodeSigningConfig

type CodeSigningConfig struct {
	pulumi.CustomResourceState

	// Configuration block of allowed publishers as signing profiles for this code signing configuration. See below.
	//
	// The following arguments are optional:
	AllowedPublishers CodeSigningConfigAllowedPublishersOutput `pulumi:"allowedPublishers"`
	// 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"`
	// Date and time that the code signing configuration was last modified.
	LastModified pulumi.StringOutput `pulumi:"lastModified"`
	// Configuration block of code signing policies that define the actions to take if the validation checks fail. See below.
	Policies CodeSigningConfigPoliciesOutput `pulumi:"policies"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Manages an AWS Lambda Code Signing Config. Use this resource to define allowed signing profiles and code-signing validation policies for Lambda functions to ensure code integrity and authenticity.

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

### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create signing profiles for different environments
		prod, err := signer.NewSigningProfile(ctx, "prod", &signer.SigningProfileArgs{
			PlatformId: pulumi.String("AWSLambda-SHA384-ECDSA"),
			NamePrefix: pulumi.String("prod_lambda_"),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		dev, err := signer.NewSigningProfile(ctx, "dev", &signer.SigningProfileArgs{
			PlatformId: pulumi.String("AWSLambda-SHA384-ECDSA"),
			NamePrefix: pulumi.String("dev_lambda_"),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("development"),
			},
		})
		if err != nil {
			return err
		}
		// Code signing configuration with enforcement
		_, err = lambda.NewCodeSigningConfig(ctx, "example", &lambda.CodeSigningConfigArgs{
			Description: pulumi.String("Code signing configuration for Lambda functions"),
			AllowedPublishers: &lambda.CodeSigningConfigAllowedPublishersArgs{
				SigningProfileVersionArns: pulumi.StringArray{
					prod.VersionArn,
					dev.VersionArn,
				},
			},
			Policies: &lambda.CodeSigningConfigPoliciesArgs{
				UntrustedArtifactOnDeployment: pulumi.String("Enforce"),
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
				"Purpose":     pulumi.String("code-signing"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Warning Only Configuration

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewCodeSigningConfig(ctx, "example", &lambda.CodeSigningConfigArgs{
			Description: pulumi.String("Development code signing configuration"),
			AllowedPublishers: &lambda.CodeSigningConfigAllowedPublishersArgs{
				SigningProfileVersionArns: pulumi.StringArray{
					dev.VersionArn,
				},
			},
			Policies: &lambda.CodeSigningConfigPoliciesArgs{
				UntrustedArtifactOnDeployment: pulumi.String("Warn"),
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("development"),
				"Purpose":     pulumi.String("code-signing"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Multiple Environment Configuration

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Production signing configuration
		_, err := lambda.NewCodeSigningConfig(ctx, "prod", &lambda.CodeSigningConfigArgs{
			Description: pulumi.String("Production code signing configuration with strict enforcement"),
			AllowedPublishers: &lambda.CodeSigningConfigAllowedPublishersArgs{
				SigningProfileVersionArns: pulumi.StringArray{
					prodAwsSignerSigningProfile.VersionArn,
				},
			},
			Policies: &lambda.CodeSigningConfigPoliciesArgs{
				UntrustedArtifactOnDeployment: pulumi.String("Enforce"),
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
				"Security":    pulumi.String("strict"),
			},
		})
		if err != nil {
			return err
		}
		// Development signing configuration
		_, err = lambda.NewCodeSigningConfig(ctx, "dev", &lambda.CodeSigningConfigArgs{
			Description: pulumi.String("Development code signing configuration with warnings"),
			AllowedPublishers: &lambda.CodeSigningConfigAllowedPublishersArgs{
				SigningProfileVersionArns: pulumi.StringArray{
					devAwsSignerSigningProfile.VersionArn,
					test.VersionArn,
				},
			},
			Policies: &lambda.CodeSigningConfigPoliciesArgs{
				UntrustedArtifactOnDeployment: pulumi.String("Warn"),
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("development"),
				"Security":    pulumi.String("flexible"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For backwards compatibility, the following legacy `pulumi import` command is also supported:

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

func GetCodeSigningConfig

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

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

func (*CodeSigningConfig) ElementType() reflect.Type

func (*CodeSigningConfig) ToCodeSigningConfigOutput

func (i *CodeSigningConfig) ToCodeSigningConfigOutput() CodeSigningConfigOutput

func (*CodeSigningConfig) ToCodeSigningConfigOutputWithContext

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

type CodeSigningConfigAllowedPublishers

type CodeSigningConfigAllowedPublishers struct {
	// Set of ARNs for each of the signing profiles. A signing profile defines a trusted user who can sign a code package. Maximum of 20 signing profiles.
	SigningProfileVersionArns []string `pulumi:"signingProfileVersionArns"`
}

type CodeSigningConfigAllowedPublishersArgs

type CodeSigningConfigAllowedPublishersArgs struct {
	// Set of ARNs for each of the signing profiles. A signing profile defines a trusted user who can sign a code package. Maximum of 20 signing profiles.
	SigningProfileVersionArns pulumi.StringArrayInput `pulumi:"signingProfileVersionArns"`
}

func (CodeSigningConfigAllowedPublishersArgs) ElementType

func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutput

func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput

func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersOutputWithContext

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

func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutput

func (i CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput

func (CodeSigningConfigAllowedPublishersArgs) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext

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

type CodeSigningConfigAllowedPublishersInput

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

type CodeSigningConfigAllowedPublishersOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigAllowedPublishersOutput) ElementType

func (CodeSigningConfigAllowedPublishersOutput) SigningProfileVersionArns

Set of ARNs for each of the signing profiles. A signing profile defines a trusted user who can sign a code package. Maximum of 20 signing profiles.

func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutput

func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutput() CodeSigningConfigAllowedPublishersOutput

func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersOutputWithContext

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

func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutput

func (o CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput

func (CodeSigningConfigAllowedPublishersOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext

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

type CodeSigningConfigAllowedPublishersPtrInput

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

type CodeSigningConfigAllowedPublishersPtrOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigAllowedPublishersPtrOutput) Elem

func (CodeSigningConfigAllowedPublishersPtrOutput) ElementType

func (CodeSigningConfigAllowedPublishersPtrOutput) SigningProfileVersionArns

Set of ARNs for each of the signing profiles. A signing profile defines a trusted user who can sign a code package. Maximum of 20 signing profiles.

func (CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutput

func (o CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutput() CodeSigningConfigAllowedPublishersPtrOutput

func (CodeSigningConfigAllowedPublishersPtrOutput) ToCodeSigningConfigAllowedPublishersPtrOutputWithContext

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

type CodeSigningConfigArgs

type CodeSigningConfigArgs struct {
	// Configuration block of allowed publishers as signing profiles for this code signing configuration. See below.
	//
	// The following arguments are optional:
	AllowedPublishers CodeSigningConfigAllowedPublishersInput
	// Descriptive name for this code signing configuration.
	Description pulumi.StringPtrInput
	// Configuration block of code signing policies that define the actions to take if the validation checks fail. See below.
	Policies CodeSigningConfigPoliciesPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a CodeSigningConfig resource.

func (CodeSigningConfigArgs) ElementType

func (CodeSigningConfigArgs) ElementType() reflect.Type

type CodeSigningConfigArray

type CodeSigningConfigArray []CodeSigningConfigInput

func (CodeSigningConfigArray) ElementType

func (CodeSigningConfigArray) ElementType() reflect.Type

func (CodeSigningConfigArray) ToCodeSigningConfigArrayOutput

func (i CodeSigningConfigArray) ToCodeSigningConfigArrayOutput() CodeSigningConfigArrayOutput

func (CodeSigningConfigArray) ToCodeSigningConfigArrayOutputWithContext

func (i CodeSigningConfigArray) ToCodeSigningConfigArrayOutputWithContext(ctx context.Context) CodeSigningConfigArrayOutput

type CodeSigningConfigArrayInput

type CodeSigningConfigArrayInput interface {
	pulumi.Input

	ToCodeSigningConfigArrayOutput() CodeSigningConfigArrayOutput
	ToCodeSigningConfigArrayOutputWithContext(context.Context) CodeSigningConfigArrayOutput
}

CodeSigningConfigArrayInput is an input type that accepts CodeSigningConfigArray and CodeSigningConfigArrayOutput values. You can construct a concrete instance of `CodeSigningConfigArrayInput` via:

CodeSigningConfigArray{ CodeSigningConfigArgs{...} }

type CodeSigningConfigArrayOutput

type CodeSigningConfigArrayOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigArrayOutput) ElementType

func (CodeSigningConfigArrayOutput) Index

func (CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutput

func (o CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutput() CodeSigningConfigArrayOutput

func (CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutputWithContext

func (o CodeSigningConfigArrayOutput) ToCodeSigningConfigArrayOutputWithContext(ctx context.Context) CodeSigningConfigArrayOutput

type CodeSigningConfigInput

type CodeSigningConfigInput interface {
	pulumi.Input

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

type CodeSigningConfigMap

type CodeSigningConfigMap map[string]CodeSigningConfigInput

func (CodeSigningConfigMap) ElementType

func (CodeSigningConfigMap) ElementType() reflect.Type

func (CodeSigningConfigMap) ToCodeSigningConfigMapOutput

func (i CodeSigningConfigMap) ToCodeSigningConfigMapOutput() CodeSigningConfigMapOutput

func (CodeSigningConfigMap) ToCodeSigningConfigMapOutputWithContext

func (i CodeSigningConfigMap) ToCodeSigningConfigMapOutputWithContext(ctx context.Context) CodeSigningConfigMapOutput

type CodeSigningConfigMapInput

type CodeSigningConfigMapInput interface {
	pulumi.Input

	ToCodeSigningConfigMapOutput() CodeSigningConfigMapOutput
	ToCodeSigningConfigMapOutputWithContext(context.Context) CodeSigningConfigMapOutput
}

CodeSigningConfigMapInput is an input type that accepts CodeSigningConfigMap and CodeSigningConfigMapOutput values. You can construct a concrete instance of `CodeSigningConfigMapInput` via:

CodeSigningConfigMap{ "key": CodeSigningConfigArgs{...} }

type CodeSigningConfigMapOutput

type CodeSigningConfigMapOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigMapOutput) ElementType

func (CodeSigningConfigMapOutput) ElementType() reflect.Type

func (CodeSigningConfigMapOutput) MapIndex

func (CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutput

func (o CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutput() CodeSigningConfigMapOutput

func (CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutputWithContext

func (o CodeSigningConfigMapOutput) ToCodeSigningConfigMapOutputWithContext(ctx context.Context) CodeSigningConfigMapOutput

type CodeSigningConfigOutput

type CodeSigningConfigOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigOutput) AllowedPublishers

Configuration block of allowed publishers as signing profiles for this code signing configuration. See below.

The following arguments are optional:

func (CodeSigningConfigOutput) Arn

ARN of the code signing configuration.

func (CodeSigningConfigOutput) ConfigId

Unique identifier for the code signing configuration.

func (CodeSigningConfigOutput) Description

Descriptive name for this code signing configuration.

func (CodeSigningConfigOutput) ElementType

func (CodeSigningConfigOutput) ElementType() reflect.Type

func (CodeSigningConfigOutput) LastModified

func (o CodeSigningConfigOutput) LastModified() pulumi.StringOutput

Date and time that the code signing configuration was last modified.

func (CodeSigningConfigOutput) Policies

Configuration block of code signing policies that define the actions to take if the validation checks fail. See below.

func (CodeSigningConfigOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (CodeSigningConfigOutput) Tags

Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (CodeSigningConfigOutput) TagsAll

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (CodeSigningConfigOutput) ToCodeSigningConfigOutput

func (o CodeSigningConfigOutput) ToCodeSigningConfigOutput() CodeSigningConfigOutput

func (CodeSigningConfigOutput) ToCodeSigningConfigOutputWithContext

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

type CodeSigningConfigPolicies

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

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

func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutput

func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput

func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesOutputWithContext

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

func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutput

func (i CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput

func (CodeSigningConfigPoliciesArgs) ToCodeSigningConfigPoliciesPtrOutputWithContext

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

type CodeSigningConfigPoliciesInput

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

type CodeSigningConfigPoliciesOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigPoliciesOutput) ElementType

func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutput

func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutput() CodeSigningConfigPoliciesOutput

func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesOutputWithContext

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

func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutput

func (o CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput

func (CodeSigningConfigPoliciesOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext

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

func (CodeSigningConfigPoliciesOutput) UntrustedArtifactOnDeployment

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

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

type CodeSigningConfigPoliciesPtrOutput

type CodeSigningConfigPoliciesPtrOutput struct{ *pulumi.OutputState }

func (CodeSigningConfigPoliciesPtrOutput) Elem

func (CodeSigningConfigPoliciesPtrOutput) ElementType

func (CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutput

func (o CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutput() CodeSigningConfigPoliciesPtrOutput

func (CodeSigningConfigPoliciesPtrOutput) ToCodeSigningConfigPoliciesPtrOutputWithContext

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

func (CodeSigningConfigPoliciesPtrOutput) UntrustedArtifactOnDeployment

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

type CodeSigningConfigState struct {
	// Configuration block of allowed publishers as signing profiles for this code signing configuration. See below.
	//
	// The following arguments are optional:
	AllowedPublishers CodeSigningConfigAllowedPublishersPtrInput
	// 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
	// Date and time that the code signing configuration was last modified.
	LastModified pulumi.StringPtrInput
	// Configuration block of code signing policies that define the actions to take if the validation checks fail. See below.
	Policies CodeSigningConfigPoliciesPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (CodeSigningConfigState) ElementType

func (CodeSigningConfigState) ElementType() reflect.Type

type EventSourceMapping

type EventSourceMapping struct {
	pulumi.CustomResourceState

	// Additional configuration block for Amazon Managed Kafka sources. Incompatible with `selfManagedEventSource` and `selfManagedKafkaEventSourceConfig`. See below.
	AmazonManagedKafkaEventSourceConfig EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput `pulumi:"amazonManagedKafkaEventSourceConfig"`
	// Event source mapping ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS.
	BatchSize pulumi.IntPtrOutput `pulumi:"batchSize"`
	// Whether to split the batch in two and retry if the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.
	BisectBatchOnFunctionError pulumi.BoolPtrOutput `pulumi:"bisectBatchOnFunctionError"`
	// Amazon SQS queue, Amazon SNS topic or Amazon S3 bucket (only available for Kafka sources) destination for failed records. Only available for stream sources (DynamoDB and Kinesis) and Kafka sources (Amazon MSK and Self-managed Apache Kafka). See below.
	DestinationConfig EventSourceMappingDestinationConfigPtrOutput `pulumi:"destinationConfig"`
	// Configuration settings for a DocumentDB event source. See below.
	DocumentDbEventSourceConfig EventSourceMappingDocumentDbEventSourceConfigPtrOutput `pulumi:"documentDbEventSourceConfig"`
	// Whether the mapping is enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Event source ARN - required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. Incompatible with Self Managed Kafka source.
	EventSourceArn pulumi.StringPtrOutput `pulumi:"eventSourceArn"`
	// Criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. See below.
	FilterCriteria EventSourceMappingFilterCriteriaPtrOutput `pulumi:"filterCriteria"`
	// 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"`
	// Name or ARN of the Lambda function that will be subscribing to events.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// List of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`.
	FunctionResponseTypes pulumi.StringArrayOutput `pulumi:"functionResponseTypes"`
	// ARN of the Key Management Service (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
	KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"`
	// Date this resource was last modified.
	LastModified pulumi.StringOutput `pulumi:"lastModified"`
	// Result of the last AWS Lambda invocation of your Lambda function.
	LastProcessingResult pulumi.StringOutput `pulumi:"lastProcessingResult"`
	// Maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues.
	MaximumBatchingWindowInSeconds pulumi.IntPtrOutput `pulumi:"maximumBatchingWindowInSeconds"`
	// Maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive).
	MaximumRecordAgeInSeconds pulumi.IntOutput `pulumi:"maximumRecordAgeInSeconds"`
	// Maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000.
	MaximumRetryAttempts pulumi.IntOutput `pulumi:"maximumRetryAttempts"`
	// CloudWatch metrics configuration of the event source. Only available for stream sources (DynamoDB and Kinesis) and SQS queues. See below.
	MetricsConfig EventSourceMappingMetricsConfigPtrOutput `pulumi:"metricsConfig"`
	// 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.
	ParallelizationFactor pulumi.IntOutput `pulumi:"parallelizationFactor"`
	// Event poller configuration for the event source. Only valid for Amazon MSK or self-managed Apache Kafka sources. See below.
	ProvisionedPollerConfig EventSourceMappingProvisionedPollerConfigPtrOutput `pulumi:"provisionedPollerConfig"`
	// Name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.
	Queues pulumi.StringPtrOutput `pulumi:"queues"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// Scaling configuration of the event source. Only available for SQS queues. See below.
	ScalingConfig EventSourceMappingScalingConfigPtrOutput `pulumi:"scalingConfig"`
	// For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. See below.
	SelfManagedEventSource EventSourceMappingSelfManagedEventSourcePtrOutput `pulumi:"selfManagedEventSource"`
	// Additional configuration block for Self Managed Kafka sources. Incompatible with `eventSourceArn` and `amazonManagedKafkaEventSourceConfig`. See below.
	SelfManagedKafkaEventSourceConfig EventSourceMappingSelfManagedKafkaEventSourceConfigOutput `pulumi:"selfManagedKafkaEventSourceConfig"`
	// For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. See below.
	SourceAccessConfigurations EventSourceMappingSourceAccessConfigurationArrayOutput `pulumi:"sourceAccessConfigurations"`
	// 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, DynamoDB, MSK or Self Managed Apache Kafka. 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"`
	// 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.
	StartingPositionTimestamp pulumi.StringPtrOutput `pulumi:"startingPositionTimestamp"`
	// State of the event source mapping.
	State pulumi.StringOutput `pulumi:"state"`
	// Reason the event source mapping is in its current state.
	StateTransitionReason pulumi.StringOutput `pulumi:"stateTransitionReason"`
	// Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.
	Topics pulumi.StringArrayOutput `pulumi:"topics"`
	// Duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis).
	TumblingWindowInSeconds pulumi.IntPtrOutput `pulumi:"tumblingWindowInSeconds"`
	// UUID of the created event source mapping.
	Uuid pulumi.StringOutput `pulumi:"uuid"`
}

Manages an AWS Lambda Event Source Mapping. Use this resource to connect Lambda functions to event sources like Kinesis, DynamoDB, SQS, Amazon MQ, and Managed Streaming for Apache Kafka (MSK).

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 Stream

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn:   pulumi.Any(exampleAwsDynamodbTable.StreamArn),
			FunctionName:     pulumi.Any(exampleAwsLambdaFunction.Arn),
			StartingPosition: pulumi.String("LATEST"),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("dynamodb-stream-mapping"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Kinesis Stream

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn:                 pulumi.Any(exampleAwsKinesisStream.Arn),
			FunctionName:                   pulumi.Any(exampleAwsLambdaFunction.Arn),
			StartingPosition:               pulumi.String("LATEST"),
			BatchSize:                      pulumi.Int(100),
			MaximumBatchingWindowInSeconds: pulumi.Int(5),
			ParallelizationFactor:          pulumi.Int(2),
			DestinationConfig: &lambda.EventSourceMappingDestinationConfigArgs{
				OnFailure: &lambda.EventSourceMappingDestinationConfigOnFailureArgs{
					DestinationArn: pulumi.Any(dlq.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### SQS Queue

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn: pulumi.Any(exampleAwsSqsQueue.Arn),
			FunctionName:   pulumi.Any(exampleAwsLambdaFunction.Arn),
			BatchSize:      pulumi.Int(10),
			ScalingConfig: &lambda.EventSourceMappingScalingConfigArgs{
				MaximumConcurrency: pulumi.Int(100),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### SQS with Event Filtering

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"body": map[string]interface{}{
				"Temperature": []map[string]interface{}{
					map[string]interface{}{
						"numeric": []interface{}{
							">",
							0,
							"<=",
							100,
						},
					},
				},
				"Location": []string{
					"New York",
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn: pulumi.Any(exampleAwsSqsQueue.Arn),
			FunctionName:   pulumi.Any(exampleAwsLambdaFunction.Arn),
			FilterCriteria: &lambda.EventSourceMappingFilterCriteriaArgs{
				Filters: lambda.EventSourceMappingFilterCriteriaFilterArray{
					&lambda.EventSourceMappingFilterCriteriaFilterArgs{
						Pattern: pulumi.String(json0),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Amazon MSK

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn: pulumi.Any(exampleAwsMskCluster.Arn),
			FunctionName:   pulumi.Any(exampleAwsLambdaFunction.Arn),
			Topics: pulumi.StringArray{
				pulumi.String("orders"),
				pulumi.String("inventory"),
			},
			StartingPosition: pulumi.String("TRIM_HORIZON"),
			BatchSize:        pulumi.Int(100),
			AmazonManagedKafkaEventSourceConfig: &lambda.EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs{
				ConsumerGroupId: pulumi.String("lambda-consumer-group"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Self-Managed Apache Kafka

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			FunctionName: pulumi.Any(exampleAwsLambdaFunction.Arn),
			Topics: pulumi.StringArray{
				pulumi.String("orders"),
			},
			StartingPosition: pulumi.String("TRIM_HORIZON"),
			SelfManagedEventSource: &lambda.EventSourceMappingSelfManagedEventSourceArgs{
				Endpoints: pulumi.StringMap{
					"KAFKA_BOOTSTRAP_SERVERS": pulumi.String("kafka1.example.com:9092,kafka2.example.com:9092"),
				},
			},
			SelfManagedKafkaEventSourceConfig: &lambda.EventSourceMappingSelfManagedKafkaEventSourceConfigArgs{
				ConsumerGroupId: pulumi.String("lambda-consumer-group"),
			},
			SourceAccessConfigurations: lambda.EventSourceMappingSourceAccessConfigurationArray{
				&lambda.EventSourceMappingSourceAccessConfigurationArgs{
					Type: pulumi.String("VPC_SUBNET"),
					Uri:  pulumi.Sprintf("subnet:%v", example1.Id),
				},
				&lambda.EventSourceMappingSourceAccessConfigurationArgs{
					Type: pulumi.String("VPC_SUBNET"),
					Uri:  pulumi.Sprintf("subnet:%v", example2.Id),
				},
				&lambda.EventSourceMappingSourceAccessConfigurationArgs{
					Type: pulumi.String("VPC_SECURITY_GROUP"),
					Uri:  pulumi.Sprintf("security_group:%v", exampleAwsSecurityGroup.Id),
				},
			},
			ProvisionedPollerConfig: &lambda.EventSourceMappingProvisionedPollerConfigArgs{
				MaximumPollers: pulumi.Int(100),
				MinimumPollers: pulumi.Int(10),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Amazon MQ (ActiveMQ)

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn: pulumi.Any(exampleAwsMqBroker.Arn),
			FunctionName:   pulumi.Any(exampleAwsLambdaFunction.Arn),
			Queues:         pulumi.String("orders"),
			BatchSize:      pulumi.Int(10),
			SourceAccessConfigurations: lambda.EventSourceMappingSourceAccessConfigurationArray{
				&lambda.EventSourceMappingSourceAccessConfigurationArgs{
					Type: pulumi.String("BASIC_AUTH"),
					Uri:  pulumi.Any(exampleAwsSecretsmanagerSecretVersion.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Amazon MQ (RabbitMQ)

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn: pulumi.Any(exampleAwsMqBroker.Arn),
			FunctionName:   pulumi.Any(exampleAwsLambdaFunction.Arn),
			Queues:         pulumi.String("orders"),
			BatchSize:      pulumi.Int(1),
			SourceAccessConfigurations: lambda.EventSourceMappingSourceAccessConfigurationArray{
				&lambda.EventSourceMappingSourceAccessConfigurationArgs{
					Type: pulumi.String("VIRTUAL_HOST"),
					Uri:  pulumi.String("/production"),
				},
				&lambda.EventSourceMappingSourceAccessConfigurationArgs{
					Type: pulumi.String("BASIC_AUTH"),
					Uri:  pulumi.Any(exampleAwsSecretsmanagerSecretVersion.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### DocumentDB Change Stream

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewEventSourceMapping(ctx, "example", &lambda.EventSourceMappingArgs{
			EventSourceArn:   pulumi.Any(exampleAwsDocdbCluster.Arn),
			FunctionName:     pulumi.Any(exampleAwsLambdaFunction.Arn),
			StartingPosition: pulumi.String("LATEST"),
			DocumentDbEventSourceConfig: &lambda.EventSourceMappingDocumentDbEventSourceConfigArgs{
				DatabaseName:   pulumi.String("orders"),
				CollectionName: pulumi.String("transactions"),
				FullDocument:   pulumi.String("UpdateLookup"),
			},
			SourceAccessConfigurations: lambda.EventSourceMappingSourceAccessConfigurationArray{
				&lambda.EventSourceMappingSourceAccessConfigurationArgs{
					Type: pulumi.String("BASIC_AUTH"),
					Uri:  pulumi.Any(exampleAwsSecretsmanagerSecretVersion.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Lambda event source mappings using the `UUID` (event source mapping identifier). For example:

```sh $ pulumi import aws:lambda/eventSourceMapping:EventSourceMapping example 12345kxodurf3443 ```

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

func (*EventSourceMapping) ElementType() reflect.Type

func (*EventSourceMapping) ToEventSourceMappingOutput

func (i *EventSourceMapping) ToEventSourceMappingOutput() EventSourceMappingOutput

func (*EventSourceMapping) ToEventSourceMappingOutputWithContext

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

type EventSourceMappingAmazonManagedKafkaEventSourceConfig

type EventSourceMappingAmazonManagedKafkaEventSourceConfig struct {
	// Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).
	ConsumerGroupId *string `pulumi:"consumerGroupId"`
	// Block for a Kafka schema registry setting. See below.
	SchemaRegistryConfig *EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfig `pulumi:"schemaRegistryConfig"`
}

type EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs

type EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs struct {
	// Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).
	ConsumerGroupId pulumi.StringPtrInput `pulumi:"consumerGroupId"`
	// Block for a Kafka schema registry setting. See below.
	SchemaRegistryConfig EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput `pulumi:"schemaRegistryConfig"`
}

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ElementType

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext

func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext

func (i EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput

type EventSourceMappingAmazonManagedKafkaEventSourceConfigInput

type EventSourceMappingAmazonManagedKafkaEventSourceConfigInput interface {
	pulumi.Input

	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput
}

EventSourceMappingAmazonManagedKafkaEventSourceConfigInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs and EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigInput` via:

EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs{...}

type EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput

type EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ConsumerGroupId

Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ElementType

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) SchemaRegistryConfig added in v7.9.0

Block for a Kafka schema registry setting. See below.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutput

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext

func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext

func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput

type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput

type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput interface {
	pulumi.Input

	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput
}

EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs, EventSourceMappingAmazonManagedKafkaEventSourceConfigPtr and EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput` via:

        EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs{...}

or:

        nil

type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput

type EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ConsumerGroupId

Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [AmazonManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_AmazonManagedKafkaEventSourceConfig.html).

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) Elem

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ElementType

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) SchemaRegistryConfig added in v7.9.0

Block for a Kafka schema registry setting. See below.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext

func (o EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrOutput

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfig added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfig struct {
	// Configuration block for authentication Lambda uses to access the schema registry.
	AccessConfigs []EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfig `pulumi:"accessConfigs"`
	// Record format that Lambda delivers to the function after schema validation. Valid values: `JSON`, `SOURCE`.
	EventRecordFormat *string `pulumi:"eventRecordFormat"`
	// URI of the schema registry. For AWS Glue schema registries, use the ARN of the registry. For Confluent schema registries, use the registry URL.
	SchemaRegistryUri *string `pulumi:"schemaRegistryUri"`
	// Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.
	SchemaValidationConfigs []EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfig `pulumi:"schemaValidationConfigs"`
}

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfig added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfig struct {
	// Authentication type Lambda uses to access the schema registry.
	Type *string `pulumi:"type"`
	// URI of the secret (Secrets Manager secret ARN) used to authenticate with the schema registry.
	Uri *string `pulumi:"uri"`
}

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs struct {
	// Authentication type Lambda uses to access the schema registry.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// URI of the secret (Secrets Manager secret ARN) used to authenticate with the schema registry.
	Uri pulumi.StringPtrInput `pulumi:"uri"`
}

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutputWithContext added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray []EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutputWithContext added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput interface {
	pulumi.Input

	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput
	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput
}

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray and EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput` via:

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray{ EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs{...} }

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput struct{ *pulumi.OutputState }

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput) Index added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutputWithContext added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput interface {
	pulumi.Input

	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput
	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput
}

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs and EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput` via:

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs{...}

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutputWithContext added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) Type added in v7.9.0

Authentication type Lambda uses to access the schema registry.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) Uri added in v7.9.0

URI of the secret (Secrets Manager secret ARN) used to authenticate with the schema registry.

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs struct {
	// Configuration block for authentication Lambda uses to access the schema registry.
	AccessConfigs EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput `pulumi:"accessConfigs"`
	// Record format that Lambda delivers to the function after schema validation. Valid values: `JSON`, `SOURCE`.
	EventRecordFormat pulumi.StringPtrInput `pulumi:"eventRecordFormat"`
	// URI of the schema registry. For AWS Glue schema registries, use the ARN of the registry. For Confluent schema registries, use the registry URL.
	SchemaRegistryUri pulumi.StringPtrInput `pulumi:"schemaRegistryUri"`
	// Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.
	SchemaValidationConfigs EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput `pulumi:"schemaValidationConfigs"`
}

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutputWithContext added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutputWithContext added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigInput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigInput interface {
	pulumi.Input

	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput
	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput
}

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs and EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigInput` via:

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs{...}

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) AccessConfigs added in v7.9.0

Configuration block for authentication Lambda uses to access the schema registry.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) EventRecordFormat added in v7.9.0

Record format that Lambda delivers to the function after schema validation. Valid values: `JSON`, `SOURCE`.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) SchemaRegistryUri added in v7.9.0

URI of the schema registry. For AWS Glue schema registries, use the ARN of the registry. For Confluent schema registries, use the registry URL.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) SchemaValidationConfigs added in v7.9.0

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutputWithContext added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutputWithContext added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput interface {
	pulumi.Input

	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput
	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput
}

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs, EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtr and EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput` via:

        EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigArgs{...}

or:

        nil

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) AccessConfigs added in v7.9.0

Configuration block for authentication Lambda uses to access the schema registry.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) Elem added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) EventRecordFormat added in v7.9.0

Record format that Lambda delivers to the function after schema validation. Valid values: `JSON`, `SOURCE`.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) SchemaRegistryUri added in v7.9.0

URI of the schema registry. For AWS Glue schema registries, use the ARN of the registry. For Confluent schema registries, use the registry URL.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) SchemaValidationConfigs added in v7.9.0

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutputWithContext added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfig added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfig struct {
	// Message attribute to validate. Valid values: `KEY`, `VALUE`.
	Attribute *string `pulumi:"attribute"`
}

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs struct {
	// Message attribute to validate. Valid values: `KEY`, `VALUE`.
	Attribute pulumi.StringPtrInput `pulumi:"attribute"`
}

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutputWithContext added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray []EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutputWithContext added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput interface {
	pulumi.Input

	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput
	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput
}

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray and EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput` via:

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray{ EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs{...} }

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput struct{ *pulumi.OutputState }

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput) Index added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutputWithContext added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput interface {
	pulumi.Input

	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput() EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput
	ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutputWithContext(context.Context) EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput
}

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput is an input type that accepts EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs and EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput values. You can construct a concrete instance of `EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput` via:

EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs{...}

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput added in v7.9.0

type EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput) Attribute added in v7.9.0

Message attribute to validate. Valid values: `KEY`, `VALUE`.

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput) ElementType added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput added in v7.9.0

func (EventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput) ToEventSourceMappingAmazonManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutputWithContext added in v7.9.0

type EventSourceMappingArgs

type EventSourceMappingArgs struct {
	// Additional configuration block for Amazon Managed Kafka sources. Incompatible with `selfManagedEventSource` and `selfManagedKafkaEventSourceConfig`. See below.
	AmazonManagedKafkaEventSourceConfig EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput
	// Largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS.
	BatchSize pulumi.IntPtrInput
	// Whether to split the batch in two and retry if the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.
	BisectBatchOnFunctionError pulumi.BoolPtrInput
	// Amazon SQS queue, Amazon SNS topic or Amazon S3 bucket (only available for Kafka sources) destination for failed records. Only available for stream sources (DynamoDB and Kinesis) and Kafka sources (Amazon MSK and Self-managed Apache Kafka). See below.
	DestinationConfig EventSourceMappingDestinationConfigPtrInput
	// Configuration settings for a DocumentDB event source. See below.
	DocumentDbEventSourceConfig EventSourceMappingDocumentDbEventSourceConfigPtrInput
	// Whether the mapping is enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Event source ARN - required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. Incompatible with Self Managed Kafka source.
	EventSourceArn pulumi.StringPtrInput
	// Criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. See below.
	FilterCriteria EventSourceMappingFilterCriteriaPtrInput
	// Name or ARN of the Lambda function that will be subscribing to events.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringInput
	// List of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`.
	FunctionResponseTypes pulumi.StringArrayInput
	// ARN of the Key Management Service (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
	KmsKeyArn pulumi.StringPtrInput
	// Maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues.
	MaximumBatchingWindowInSeconds pulumi.IntPtrInput
	// Maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive).
	MaximumRecordAgeInSeconds pulumi.IntPtrInput
	// Maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000.
	MaximumRetryAttempts pulumi.IntPtrInput
	// CloudWatch metrics configuration of the event source. Only available for stream sources (DynamoDB and Kinesis) and SQS queues. See below.
	MetricsConfig EventSourceMappingMetricsConfigPtrInput
	// 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.
	ParallelizationFactor pulumi.IntPtrInput
	// Event poller configuration for the event source. Only valid for Amazon MSK or self-managed Apache Kafka sources. See below.
	ProvisionedPollerConfig EventSourceMappingProvisionedPollerConfigPtrInput
	// Name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.
	Queues pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Scaling configuration of the event source. Only available for SQS queues. See below.
	ScalingConfig EventSourceMappingScalingConfigPtrInput
	// For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. See below.
	SelfManagedEventSource EventSourceMappingSelfManagedEventSourcePtrInput
	// Additional configuration block for Self Managed Kafka sources. Incompatible with `eventSourceArn` and `amazonManagedKafkaEventSourceConfig`. See below.
	SelfManagedKafkaEventSourceConfig EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput
	// For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. See below.
	SourceAccessConfigurations EventSourceMappingSourceAccessConfigurationArrayInput
	// 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, DynamoDB, MSK or Self Managed Apache Kafka. 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
	// 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.
	StartingPositionTimestamp pulumi.StringPtrInput
	// Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.
	Topics pulumi.StringArrayInput
	// Duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis).
	TumblingWindowInSeconds pulumi.IntPtrInput
}

The set of arguments for constructing a EventSourceMapping resource.

func (EventSourceMappingArgs) ElementType

func (EventSourceMappingArgs) ElementType() reflect.Type

type EventSourceMappingArray

type EventSourceMappingArray []EventSourceMappingInput

func (EventSourceMappingArray) ElementType

func (EventSourceMappingArray) ElementType() reflect.Type

func (EventSourceMappingArray) ToEventSourceMappingArrayOutput

func (i EventSourceMappingArray) ToEventSourceMappingArrayOutput() EventSourceMappingArrayOutput

func (EventSourceMappingArray) ToEventSourceMappingArrayOutputWithContext

func (i EventSourceMappingArray) ToEventSourceMappingArrayOutputWithContext(ctx context.Context) EventSourceMappingArrayOutput

type EventSourceMappingArrayInput

type EventSourceMappingArrayInput interface {
	pulumi.Input

	ToEventSourceMappingArrayOutput() EventSourceMappingArrayOutput
	ToEventSourceMappingArrayOutputWithContext(context.Context) EventSourceMappingArrayOutput
}

EventSourceMappingArrayInput is an input type that accepts EventSourceMappingArray and EventSourceMappingArrayOutput values. You can construct a concrete instance of `EventSourceMappingArrayInput` via:

EventSourceMappingArray{ EventSourceMappingArgs{...} }

type EventSourceMappingArrayOutput

type EventSourceMappingArrayOutput struct{ *pulumi.OutputState }

func (EventSourceMappingArrayOutput) ElementType

func (EventSourceMappingArrayOutput) Index

func (EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutput

func (o EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutput() EventSourceMappingArrayOutput

func (EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutputWithContext

func (o EventSourceMappingArrayOutput) ToEventSourceMappingArrayOutputWithContext(ctx context.Context) EventSourceMappingArrayOutput

type EventSourceMappingDestinationConfig

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

type EventSourceMappingDestinationConfigArgs

type EventSourceMappingDestinationConfigArgs struct {
	// Destination configuration for failed invocations. See 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 {
	// ARN of the destination resource.
	DestinationArn string `pulumi:"destinationArn"`
}

type EventSourceMappingDestinationConfigOnFailureArgs

type EventSourceMappingDestinationConfigOnFailureArgs struct {
	// 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

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

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

Destination configuration for failed invocations. See 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

Destination configuration for failed invocations. See below.

func (EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutput

func (o EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutput() EventSourceMappingDestinationConfigPtrOutput

func (EventSourceMappingDestinationConfigPtrOutput) ToEventSourceMappingDestinationConfigPtrOutputWithContext

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

type EventSourceMappingDocumentDbEventSourceConfig

type EventSourceMappingDocumentDbEventSourceConfig struct {
	// Name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
	CollectionName *string `pulumi:"collectionName"`
	// Name of the database to consume within the DocumentDB cluster.
	DatabaseName string `pulumi:"databaseName"`
	// Determines what DocumentDB sends to your event stream during document update operations. If set to `UpdateLookup`, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. Valid values: `UpdateLookup`, `Default`.
	FullDocument *string `pulumi:"fullDocument"`
}

type EventSourceMappingDocumentDbEventSourceConfigArgs

type EventSourceMappingDocumentDbEventSourceConfigArgs struct {
	// Name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
	CollectionName pulumi.StringPtrInput `pulumi:"collectionName"`
	// Name of the database to consume within the DocumentDB cluster.
	DatabaseName pulumi.StringInput `pulumi:"databaseName"`
	// Determines what DocumentDB sends to your event stream during document update operations. If set to `UpdateLookup`, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. Valid values: `UpdateLookup`, `Default`.
	FullDocument pulumi.StringPtrInput `pulumi:"fullDocument"`
}

func (EventSourceMappingDocumentDbEventSourceConfigArgs) ElementType

func (EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutput

func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutput() EventSourceMappingDocumentDbEventSourceConfigOutput

func (EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext

func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigOutput

func (EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput

func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput

func (EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext

func (i EventSourceMappingDocumentDbEventSourceConfigArgs) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput

type EventSourceMappingDocumentDbEventSourceConfigInput

type EventSourceMappingDocumentDbEventSourceConfigInput interface {
	pulumi.Input

	ToEventSourceMappingDocumentDbEventSourceConfigOutput() EventSourceMappingDocumentDbEventSourceConfigOutput
	ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext(context.Context) EventSourceMappingDocumentDbEventSourceConfigOutput
}

EventSourceMappingDocumentDbEventSourceConfigInput is an input type that accepts EventSourceMappingDocumentDbEventSourceConfigArgs and EventSourceMappingDocumentDbEventSourceConfigOutput values. You can construct a concrete instance of `EventSourceMappingDocumentDbEventSourceConfigInput` via:

EventSourceMappingDocumentDbEventSourceConfigArgs{...}

type EventSourceMappingDocumentDbEventSourceConfigOutput

type EventSourceMappingDocumentDbEventSourceConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingDocumentDbEventSourceConfigOutput) CollectionName

Name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.

func (EventSourceMappingDocumentDbEventSourceConfigOutput) DatabaseName

Name of the database to consume within the DocumentDB cluster.

func (EventSourceMappingDocumentDbEventSourceConfigOutput) ElementType

func (EventSourceMappingDocumentDbEventSourceConfigOutput) FullDocument

Determines what DocumentDB sends to your event stream during document update operations. If set to `UpdateLookup`, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. Valid values: `UpdateLookup`, `Default`.

func (EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutput

func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutput() EventSourceMappingDocumentDbEventSourceConfigOutput

func (EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext

func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigOutput

func (EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput

func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput

func (EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext

func (o EventSourceMappingDocumentDbEventSourceConfigOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput

type EventSourceMappingDocumentDbEventSourceConfigPtrInput

type EventSourceMappingDocumentDbEventSourceConfigPtrInput interface {
	pulumi.Input

	ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput() EventSourceMappingDocumentDbEventSourceConfigPtrOutput
	ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput
}

EventSourceMappingDocumentDbEventSourceConfigPtrInput is an input type that accepts EventSourceMappingDocumentDbEventSourceConfigArgs, EventSourceMappingDocumentDbEventSourceConfigPtr and EventSourceMappingDocumentDbEventSourceConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingDocumentDbEventSourceConfigPtrInput` via:

        EventSourceMappingDocumentDbEventSourceConfigArgs{...}

or:

        nil

type EventSourceMappingDocumentDbEventSourceConfigPtrOutput

type EventSourceMappingDocumentDbEventSourceConfigPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) CollectionName

Name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.

func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) DatabaseName

Name of the database to consume within the DocumentDB cluster.

func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) Elem

func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ElementType

func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) FullDocument

Determines what DocumentDB sends to your event stream during document update operations. If set to `UpdateLookup`, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. Valid values: `UpdateLookup`, `Default`.

func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutput

func (EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext

func (o EventSourceMappingDocumentDbEventSourceConfigPtrOutput) ToEventSourceMappingDocumentDbEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingDocumentDbEventSourceConfigPtrOutput

type EventSourceMappingFilterCriteria

type EventSourceMappingFilterCriteria struct {
	// Set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. See below.
	Filters []EventSourceMappingFilterCriteriaFilter `pulumi:"filters"`
}

type EventSourceMappingFilterCriteriaArgs

type EventSourceMappingFilterCriteriaArgs struct {
	// Set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. See below.
	Filters EventSourceMappingFilterCriteriaFilterArrayInput `pulumi:"filters"`
}

func (EventSourceMappingFilterCriteriaArgs) ElementType

func (EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutput

func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutput() EventSourceMappingFilterCriteriaOutput

func (EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutputWithContext

func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaOutput

func (EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutput

func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput

func (EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutputWithContext

func (i EventSourceMappingFilterCriteriaArgs) ToEventSourceMappingFilterCriteriaPtrOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaPtrOutput

type EventSourceMappingFilterCriteriaFilter

type EventSourceMappingFilterCriteriaFilter struct {
	// Filter pattern up to 4096 characters. See [Filter Rule Syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax).
	Pattern *string `pulumi:"pattern"`
}

type EventSourceMappingFilterCriteriaFilterArgs

type EventSourceMappingFilterCriteriaFilterArgs struct {
	// Filter pattern up to 4096 characters. See [Filter Rule Syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax).
	Pattern pulumi.StringPtrInput `pulumi:"pattern"`
}

func (EventSourceMappingFilterCriteriaFilterArgs) ElementType

func (EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutput

func (i EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutput() EventSourceMappingFilterCriteriaFilterOutput

func (EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutputWithContext

func (i EventSourceMappingFilterCriteriaFilterArgs) ToEventSourceMappingFilterCriteriaFilterOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterOutput

type EventSourceMappingFilterCriteriaFilterArray

type EventSourceMappingFilterCriteriaFilterArray []EventSourceMappingFilterCriteriaFilterInput

func (EventSourceMappingFilterCriteriaFilterArray) ElementType

func (EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutput

func (i EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutput() EventSourceMappingFilterCriteriaFilterArrayOutput

func (EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext

func (i EventSourceMappingFilterCriteriaFilterArray) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterArrayOutput

type EventSourceMappingFilterCriteriaFilterArrayInput

type EventSourceMappingFilterCriteriaFilterArrayInput interface {
	pulumi.Input

	ToEventSourceMappingFilterCriteriaFilterArrayOutput() EventSourceMappingFilterCriteriaFilterArrayOutput
	ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext(context.Context) EventSourceMappingFilterCriteriaFilterArrayOutput
}

EventSourceMappingFilterCriteriaFilterArrayInput is an input type that accepts EventSourceMappingFilterCriteriaFilterArray and EventSourceMappingFilterCriteriaFilterArrayOutput values. You can construct a concrete instance of `EventSourceMappingFilterCriteriaFilterArrayInput` via:

EventSourceMappingFilterCriteriaFilterArray{ EventSourceMappingFilterCriteriaFilterArgs{...} }

type EventSourceMappingFilterCriteriaFilterArrayOutput

type EventSourceMappingFilterCriteriaFilterArrayOutput struct{ *pulumi.OutputState }

func (EventSourceMappingFilterCriteriaFilterArrayOutput) ElementType

func (EventSourceMappingFilterCriteriaFilterArrayOutput) Index

func (EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutput

func (o EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutput() EventSourceMappingFilterCriteriaFilterArrayOutput

func (EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext

func (o EventSourceMappingFilterCriteriaFilterArrayOutput) ToEventSourceMappingFilterCriteriaFilterArrayOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterArrayOutput

type EventSourceMappingFilterCriteriaFilterInput

type EventSourceMappingFilterCriteriaFilterInput interface {
	pulumi.Input

	ToEventSourceMappingFilterCriteriaFilterOutput() EventSourceMappingFilterCriteriaFilterOutput
	ToEventSourceMappingFilterCriteriaFilterOutputWithContext(context.Context) EventSourceMappingFilterCriteriaFilterOutput
}

EventSourceMappingFilterCriteriaFilterInput is an input type that accepts EventSourceMappingFilterCriteriaFilterArgs and EventSourceMappingFilterCriteriaFilterOutput values. You can construct a concrete instance of `EventSourceMappingFilterCriteriaFilterInput` via:

EventSourceMappingFilterCriteriaFilterArgs{...}

type EventSourceMappingFilterCriteriaFilterOutput

type EventSourceMappingFilterCriteriaFilterOutput struct{ *pulumi.OutputState }

func (EventSourceMappingFilterCriteriaFilterOutput) ElementType

func (EventSourceMappingFilterCriteriaFilterOutput) Pattern

Filter pattern up to 4096 characters. See [Filter Rule Syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax).

func (EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutput

func (o EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutput() EventSourceMappingFilterCriteriaFilterOutput

func (EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutputWithContext

func (o EventSourceMappingFilterCriteriaFilterOutput) ToEventSourceMappingFilterCriteriaFilterOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaFilterOutput

type EventSourceMappingFilterCriteriaInput

type EventSourceMappingFilterCriteriaInput interface {
	pulumi.Input

	ToEventSourceMappingFilterCriteriaOutput() EventSourceMappingFilterCriteriaOutput
	ToEventSourceMappingFilterCriteriaOutputWithContext(context.Context) EventSourceMappingFilterCriteriaOutput
}

EventSourceMappingFilterCriteriaInput is an input type that accepts EventSourceMappingFilterCriteriaArgs and EventSourceMappingFilterCriteriaOutput values. You can construct a concrete instance of `EventSourceMappingFilterCriteriaInput` via:

EventSourceMappingFilterCriteriaArgs{...}

type EventSourceMappingFilterCriteriaOutput

type EventSourceMappingFilterCriteriaOutput struct{ *pulumi.OutputState }

func (EventSourceMappingFilterCriteriaOutput) ElementType

func (EventSourceMappingFilterCriteriaOutput) Filters

Set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. See below.

func (EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutput

func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutput() EventSourceMappingFilterCriteriaOutput

func (EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutputWithContext

func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaOutput

func (EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutput

func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput

func (EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext

func (o EventSourceMappingFilterCriteriaOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaPtrOutput

type EventSourceMappingFilterCriteriaPtrInput

type EventSourceMappingFilterCriteriaPtrInput interface {
	pulumi.Input

	ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput
	ToEventSourceMappingFilterCriteriaPtrOutputWithContext(context.Context) EventSourceMappingFilterCriteriaPtrOutput
}

EventSourceMappingFilterCriteriaPtrInput is an input type that accepts EventSourceMappingFilterCriteriaArgs, EventSourceMappingFilterCriteriaPtr and EventSourceMappingFilterCriteriaPtrOutput values. You can construct a concrete instance of `EventSourceMappingFilterCriteriaPtrInput` via:

        EventSourceMappingFilterCriteriaArgs{...}

or:

        nil

type EventSourceMappingFilterCriteriaPtrOutput

type EventSourceMappingFilterCriteriaPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingFilterCriteriaPtrOutput) Elem

func (EventSourceMappingFilterCriteriaPtrOutput) ElementType

func (EventSourceMappingFilterCriteriaPtrOutput) Filters

Set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. See below.

func (EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutput

func (o EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutput() EventSourceMappingFilterCriteriaPtrOutput

func (EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext

func (o EventSourceMappingFilterCriteriaPtrOutput) ToEventSourceMappingFilterCriteriaPtrOutputWithContext(ctx context.Context) EventSourceMappingFilterCriteriaPtrOutput

type EventSourceMappingInput

type EventSourceMappingInput interface {
	pulumi.Input

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

type EventSourceMappingMap

type EventSourceMappingMap map[string]EventSourceMappingInput

func (EventSourceMappingMap) ElementType

func (EventSourceMappingMap) ElementType() reflect.Type

func (EventSourceMappingMap) ToEventSourceMappingMapOutput

func (i EventSourceMappingMap) ToEventSourceMappingMapOutput() EventSourceMappingMapOutput

func (EventSourceMappingMap) ToEventSourceMappingMapOutputWithContext

func (i EventSourceMappingMap) ToEventSourceMappingMapOutputWithContext(ctx context.Context) EventSourceMappingMapOutput

type EventSourceMappingMapInput

type EventSourceMappingMapInput interface {
	pulumi.Input

	ToEventSourceMappingMapOutput() EventSourceMappingMapOutput
	ToEventSourceMappingMapOutputWithContext(context.Context) EventSourceMappingMapOutput
}

EventSourceMappingMapInput is an input type that accepts EventSourceMappingMap and EventSourceMappingMapOutput values. You can construct a concrete instance of `EventSourceMappingMapInput` via:

EventSourceMappingMap{ "key": EventSourceMappingArgs{...} }

type EventSourceMappingMapOutput

type EventSourceMappingMapOutput struct{ *pulumi.OutputState }

func (EventSourceMappingMapOutput) ElementType

func (EventSourceMappingMapOutput) MapIndex

func (EventSourceMappingMapOutput) ToEventSourceMappingMapOutput

func (o EventSourceMappingMapOutput) ToEventSourceMappingMapOutput() EventSourceMappingMapOutput

func (EventSourceMappingMapOutput) ToEventSourceMappingMapOutputWithContext

func (o EventSourceMappingMapOutput) ToEventSourceMappingMapOutputWithContext(ctx context.Context) EventSourceMappingMapOutput

type EventSourceMappingMetricsConfig

type EventSourceMappingMetricsConfig struct {
	// List containing the metrics to be produced by the event source mapping. Valid values: `EventCount`.
	Metrics []string `pulumi:"metrics"`
}

type EventSourceMappingMetricsConfigArgs

type EventSourceMappingMetricsConfigArgs struct {
	// List containing the metrics to be produced by the event source mapping. Valid values: `EventCount`.
	Metrics pulumi.StringArrayInput `pulumi:"metrics"`
}

func (EventSourceMappingMetricsConfigArgs) ElementType

func (EventSourceMappingMetricsConfigArgs) ToEventSourceMappingMetricsConfigOutput

func (i EventSourceMappingMetricsConfigArgs) ToEventSourceMappingMetricsConfigOutput() EventSourceMappingMetricsConfigOutput

func (EventSourceMappingMetricsConfigArgs) ToEventSourceMappingMetricsConfigOutputWithContext

func (i EventSourceMappingMetricsConfigArgs) ToEventSourceMappingMetricsConfigOutputWithContext(ctx context.Context) EventSourceMappingMetricsConfigOutput

func (EventSourceMappingMetricsConfigArgs) ToEventSourceMappingMetricsConfigPtrOutput

func (i EventSourceMappingMetricsConfigArgs) ToEventSourceMappingMetricsConfigPtrOutput() EventSourceMappingMetricsConfigPtrOutput

func (EventSourceMappingMetricsConfigArgs) ToEventSourceMappingMetricsConfigPtrOutputWithContext

func (i EventSourceMappingMetricsConfigArgs) ToEventSourceMappingMetricsConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingMetricsConfigPtrOutput

type EventSourceMappingMetricsConfigInput

type EventSourceMappingMetricsConfigInput interface {
	pulumi.Input

	ToEventSourceMappingMetricsConfigOutput() EventSourceMappingMetricsConfigOutput
	ToEventSourceMappingMetricsConfigOutputWithContext(context.Context) EventSourceMappingMetricsConfigOutput
}

EventSourceMappingMetricsConfigInput is an input type that accepts EventSourceMappingMetricsConfigArgs and EventSourceMappingMetricsConfigOutput values. You can construct a concrete instance of `EventSourceMappingMetricsConfigInput` via:

EventSourceMappingMetricsConfigArgs{...}

type EventSourceMappingMetricsConfigOutput

type EventSourceMappingMetricsConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingMetricsConfigOutput) ElementType

func (EventSourceMappingMetricsConfigOutput) Metrics

List containing the metrics to be produced by the event source mapping. Valid values: `EventCount`.

func (EventSourceMappingMetricsConfigOutput) ToEventSourceMappingMetricsConfigOutput

func (o EventSourceMappingMetricsConfigOutput) ToEventSourceMappingMetricsConfigOutput() EventSourceMappingMetricsConfigOutput

func (EventSourceMappingMetricsConfigOutput) ToEventSourceMappingMetricsConfigOutputWithContext

func (o EventSourceMappingMetricsConfigOutput) ToEventSourceMappingMetricsConfigOutputWithContext(ctx context.Context) EventSourceMappingMetricsConfigOutput

func (EventSourceMappingMetricsConfigOutput) ToEventSourceMappingMetricsConfigPtrOutput

func (o EventSourceMappingMetricsConfigOutput) ToEventSourceMappingMetricsConfigPtrOutput() EventSourceMappingMetricsConfigPtrOutput

func (EventSourceMappingMetricsConfigOutput) ToEventSourceMappingMetricsConfigPtrOutputWithContext

func (o EventSourceMappingMetricsConfigOutput) ToEventSourceMappingMetricsConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingMetricsConfigPtrOutput

type EventSourceMappingMetricsConfigPtrInput

type EventSourceMappingMetricsConfigPtrInput interface {
	pulumi.Input

	ToEventSourceMappingMetricsConfigPtrOutput() EventSourceMappingMetricsConfigPtrOutput
	ToEventSourceMappingMetricsConfigPtrOutputWithContext(context.Context) EventSourceMappingMetricsConfigPtrOutput
}

EventSourceMappingMetricsConfigPtrInput is an input type that accepts EventSourceMappingMetricsConfigArgs, EventSourceMappingMetricsConfigPtr and EventSourceMappingMetricsConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingMetricsConfigPtrInput` via:

        EventSourceMappingMetricsConfigArgs{...}

or:

        nil

type EventSourceMappingMetricsConfigPtrOutput

type EventSourceMappingMetricsConfigPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingMetricsConfigPtrOutput) Elem

func (EventSourceMappingMetricsConfigPtrOutput) ElementType

func (EventSourceMappingMetricsConfigPtrOutput) Metrics

List containing the metrics to be produced by the event source mapping. Valid values: `EventCount`.

func (EventSourceMappingMetricsConfigPtrOutput) ToEventSourceMappingMetricsConfigPtrOutput

func (o EventSourceMappingMetricsConfigPtrOutput) ToEventSourceMappingMetricsConfigPtrOutput() EventSourceMappingMetricsConfigPtrOutput

func (EventSourceMappingMetricsConfigPtrOutput) ToEventSourceMappingMetricsConfigPtrOutputWithContext

func (o EventSourceMappingMetricsConfigPtrOutput) ToEventSourceMappingMetricsConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingMetricsConfigPtrOutput

type EventSourceMappingOutput

type EventSourceMappingOutput struct{ *pulumi.OutputState }

func (EventSourceMappingOutput) AmazonManagedKafkaEventSourceConfig

Additional configuration block for Amazon Managed Kafka sources. Incompatible with `selfManagedEventSource` and `selfManagedKafkaEventSourceConfig`. See below.

func (EventSourceMappingOutput) Arn

Event source mapping ARN.

func (EventSourceMappingOutput) BatchSize

Largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS.

func (EventSourceMappingOutput) BisectBatchOnFunctionError

func (o EventSourceMappingOutput) BisectBatchOnFunctionError() pulumi.BoolPtrOutput

Whether to split the batch in two and retry if the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.

func (EventSourceMappingOutput) DestinationConfig

Amazon SQS queue, Amazon SNS topic or Amazon S3 bucket (only available for Kafka sources) destination for failed records. Only available for stream sources (DynamoDB and Kinesis) and Kafka sources (Amazon MSK and Self-managed Apache Kafka). See below.

func (EventSourceMappingOutput) DocumentDbEventSourceConfig

Configuration settings for a DocumentDB event source. See below.

func (EventSourceMappingOutput) ElementType

func (EventSourceMappingOutput) ElementType() reflect.Type

func (EventSourceMappingOutput) Enabled

Whether the mapping is enabled. Defaults to `true`.

func (EventSourceMappingOutput) EventSourceArn

func (o EventSourceMappingOutput) EventSourceArn() pulumi.StringPtrOutput

Event source ARN - required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. Incompatible with Self Managed Kafka source.

func (EventSourceMappingOutput) FilterCriteria

Criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. See below.

func (EventSourceMappingOutput) FunctionArn

ARN of the Lambda function the event source mapping is sending events to. (Note: this is a computed value that differs from `functionName` above.)

func (EventSourceMappingOutput) FunctionName

func (o EventSourceMappingOutput) FunctionName() pulumi.StringOutput

Name or ARN of the Lambda function that will be subscribing to events.

The following arguments are optional:

func (EventSourceMappingOutput) FunctionResponseTypes

func (o EventSourceMappingOutput) FunctionResponseTypes() pulumi.StringArrayOutput

List of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`.

func (EventSourceMappingOutput) KmsKeyArn

ARN of the Key Management Service (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.

func (EventSourceMappingOutput) LastModified

func (o EventSourceMappingOutput) LastModified() pulumi.StringOutput

Date this resource was last modified.

func (EventSourceMappingOutput) LastProcessingResult

func (o EventSourceMappingOutput) LastProcessingResult() pulumi.StringOutput

Result of the last AWS Lambda invocation of your Lambda function.

func (EventSourceMappingOutput) MaximumBatchingWindowInSeconds

func (o EventSourceMappingOutput) MaximumBatchingWindowInSeconds() pulumi.IntPtrOutput

Maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues.

func (EventSourceMappingOutput) MaximumRecordAgeInSeconds

func (o EventSourceMappingOutput) MaximumRecordAgeInSeconds() pulumi.IntOutput

Maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive).

func (EventSourceMappingOutput) MaximumRetryAttempts

func (o EventSourceMappingOutput) MaximumRetryAttempts() pulumi.IntOutput

Maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000.

func (EventSourceMappingOutput) MetricsConfig

CloudWatch metrics configuration of the event source. Only available for stream sources (DynamoDB and Kinesis) and SQS queues. See below.

func (EventSourceMappingOutput) ParallelizationFactor

func (o EventSourceMappingOutput) ParallelizationFactor() pulumi.IntOutput

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.

func (EventSourceMappingOutput) ProvisionedPollerConfig

Event poller configuration for the event source. Only valid for Amazon MSK or self-managed Apache Kafka sources. See below.

func (EventSourceMappingOutput) Queues

Name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.

func (EventSourceMappingOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (EventSourceMappingOutput) ScalingConfig

Scaling configuration of the event source. Only available for SQS queues. See below.

func (EventSourceMappingOutput) SelfManagedEventSource

For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. See below.

func (EventSourceMappingOutput) SelfManagedKafkaEventSourceConfig

Additional configuration block for Self Managed Kafka sources. Incompatible with `eventSourceArn` and `amazonManagedKafkaEventSourceConfig`. See below.

func (EventSourceMappingOutput) SourceAccessConfigurations

For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. See below.

func (EventSourceMappingOutput) StartingPosition

func (o EventSourceMappingOutput) StartingPosition() pulumi.StringPtrOutput

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, DynamoDB, MSK or Self Managed Apache Kafka. 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).

func (EventSourceMappingOutput) StartingPositionTimestamp

func (o EventSourceMappingOutput) StartingPositionTimestamp() pulumi.StringPtrOutput

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.

func (EventSourceMappingOutput) State

State of the event source mapping.

func (EventSourceMappingOutput) StateTransitionReason

func (o EventSourceMappingOutput) StateTransitionReason() pulumi.StringOutput

Reason the event source mapping is in its current state.

func (EventSourceMappingOutput) Tags

Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (EventSourceMappingOutput) TagsAll

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (EventSourceMappingOutput) ToEventSourceMappingOutput

func (o EventSourceMappingOutput) ToEventSourceMappingOutput() EventSourceMappingOutput

func (EventSourceMappingOutput) ToEventSourceMappingOutputWithContext

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

func (EventSourceMappingOutput) Topics

Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.

func (EventSourceMappingOutput) TumblingWindowInSeconds

func (o EventSourceMappingOutput) TumblingWindowInSeconds() pulumi.IntPtrOutput

Duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis).

func (EventSourceMappingOutput) Uuid

UUID of the created event source mapping.

type EventSourceMappingProvisionedPollerConfig

type EventSourceMappingProvisionedPollerConfig struct {
	// Maximum number of event pollers this event source can scale up to. The range is between 1 and 2000.
	MaximumPollers *int `pulumi:"maximumPollers"`
	// Minimum number of event pollers this event source can scale down to. The range is between 1 and 200.
	MinimumPollers *int `pulumi:"minimumPollers"`
}

type EventSourceMappingProvisionedPollerConfigArgs

type EventSourceMappingProvisionedPollerConfigArgs struct {
	// Maximum number of event pollers this event source can scale up to. The range is between 1 and 2000.
	MaximumPollers pulumi.IntPtrInput `pulumi:"maximumPollers"`
	// Minimum number of event pollers this event source can scale down to. The range is between 1 and 200.
	MinimumPollers pulumi.IntPtrInput `pulumi:"minimumPollers"`
}

func (EventSourceMappingProvisionedPollerConfigArgs) ElementType

func (EventSourceMappingProvisionedPollerConfigArgs) ToEventSourceMappingProvisionedPollerConfigOutput

func (i EventSourceMappingProvisionedPollerConfigArgs) ToEventSourceMappingProvisionedPollerConfigOutput() EventSourceMappingProvisionedPollerConfigOutput

func (EventSourceMappingProvisionedPollerConfigArgs) ToEventSourceMappingProvisionedPollerConfigOutputWithContext

func (i EventSourceMappingProvisionedPollerConfigArgs) ToEventSourceMappingProvisionedPollerConfigOutputWithContext(ctx context.Context) EventSourceMappingProvisionedPollerConfigOutput

func (EventSourceMappingProvisionedPollerConfigArgs) ToEventSourceMappingProvisionedPollerConfigPtrOutput

func (i EventSourceMappingProvisionedPollerConfigArgs) ToEventSourceMappingProvisionedPollerConfigPtrOutput() EventSourceMappingProvisionedPollerConfigPtrOutput

func (EventSourceMappingProvisionedPollerConfigArgs) ToEventSourceMappingProvisionedPollerConfigPtrOutputWithContext

func (i EventSourceMappingProvisionedPollerConfigArgs) ToEventSourceMappingProvisionedPollerConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingProvisionedPollerConfigPtrOutput

type EventSourceMappingProvisionedPollerConfigInput

type EventSourceMappingProvisionedPollerConfigInput interface {
	pulumi.Input

	ToEventSourceMappingProvisionedPollerConfigOutput() EventSourceMappingProvisionedPollerConfigOutput
	ToEventSourceMappingProvisionedPollerConfigOutputWithContext(context.Context) EventSourceMappingProvisionedPollerConfigOutput
}

EventSourceMappingProvisionedPollerConfigInput is an input type that accepts EventSourceMappingProvisionedPollerConfigArgs and EventSourceMappingProvisionedPollerConfigOutput values. You can construct a concrete instance of `EventSourceMappingProvisionedPollerConfigInput` via:

EventSourceMappingProvisionedPollerConfigArgs{...}

type EventSourceMappingProvisionedPollerConfigOutput

type EventSourceMappingProvisionedPollerConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingProvisionedPollerConfigOutput) ElementType

func (EventSourceMappingProvisionedPollerConfigOutput) MaximumPollers

Maximum number of event pollers this event source can scale up to. The range is between 1 and 2000.

func (EventSourceMappingProvisionedPollerConfigOutput) MinimumPollers

Minimum number of event pollers this event source can scale down to. The range is between 1 and 200.

func (EventSourceMappingProvisionedPollerConfigOutput) ToEventSourceMappingProvisionedPollerConfigOutput

func (o EventSourceMappingProvisionedPollerConfigOutput) ToEventSourceMappingProvisionedPollerConfigOutput() EventSourceMappingProvisionedPollerConfigOutput

func (EventSourceMappingProvisionedPollerConfigOutput) ToEventSourceMappingProvisionedPollerConfigOutputWithContext

func (o EventSourceMappingProvisionedPollerConfigOutput) ToEventSourceMappingProvisionedPollerConfigOutputWithContext(ctx context.Context) EventSourceMappingProvisionedPollerConfigOutput

func (EventSourceMappingProvisionedPollerConfigOutput) ToEventSourceMappingProvisionedPollerConfigPtrOutput

func (o EventSourceMappingProvisionedPollerConfigOutput) ToEventSourceMappingProvisionedPollerConfigPtrOutput() EventSourceMappingProvisionedPollerConfigPtrOutput

func (EventSourceMappingProvisionedPollerConfigOutput) ToEventSourceMappingProvisionedPollerConfigPtrOutputWithContext

func (o EventSourceMappingProvisionedPollerConfigOutput) ToEventSourceMappingProvisionedPollerConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingProvisionedPollerConfigPtrOutput

type EventSourceMappingProvisionedPollerConfigPtrInput

type EventSourceMappingProvisionedPollerConfigPtrInput interface {
	pulumi.Input

	ToEventSourceMappingProvisionedPollerConfigPtrOutput() EventSourceMappingProvisionedPollerConfigPtrOutput
	ToEventSourceMappingProvisionedPollerConfigPtrOutputWithContext(context.Context) EventSourceMappingProvisionedPollerConfigPtrOutput
}

EventSourceMappingProvisionedPollerConfigPtrInput is an input type that accepts EventSourceMappingProvisionedPollerConfigArgs, EventSourceMappingProvisionedPollerConfigPtr and EventSourceMappingProvisionedPollerConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingProvisionedPollerConfigPtrInput` via:

        EventSourceMappingProvisionedPollerConfigArgs{...}

or:

        nil

type EventSourceMappingProvisionedPollerConfigPtrOutput

type EventSourceMappingProvisionedPollerConfigPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingProvisionedPollerConfigPtrOutput) Elem

func (EventSourceMappingProvisionedPollerConfigPtrOutput) ElementType

func (EventSourceMappingProvisionedPollerConfigPtrOutput) MaximumPollers

Maximum number of event pollers this event source can scale up to. The range is between 1 and 2000.

func (EventSourceMappingProvisionedPollerConfigPtrOutput) MinimumPollers

Minimum number of event pollers this event source can scale down to. The range is between 1 and 200.

func (EventSourceMappingProvisionedPollerConfigPtrOutput) ToEventSourceMappingProvisionedPollerConfigPtrOutput

func (o EventSourceMappingProvisionedPollerConfigPtrOutput) ToEventSourceMappingProvisionedPollerConfigPtrOutput() EventSourceMappingProvisionedPollerConfigPtrOutput

func (EventSourceMappingProvisionedPollerConfigPtrOutput) ToEventSourceMappingProvisionedPollerConfigPtrOutputWithContext

func (o EventSourceMappingProvisionedPollerConfigPtrOutput) ToEventSourceMappingProvisionedPollerConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingProvisionedPollerConfigPtrOutput

type EventSourceMappingScalingConfig

type EventSourceMappingScalingConfig struct {
	// Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be greater than or equal to 2. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). You need to raise a [Service Quota Ticket](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) to increase the concurrency beyond 1000.
	MaximumConcurrency *int `pulumi:"maximumConcurrency"`
}

type EventSourceMappingScalingConfigArgs

type EventSourceMappingScalingConfigArgs struct {
	// Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be greater than or equal to 2. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). You need to raise a [Service Quota Ticket](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) to increase the concurrency beyond 1000.
	MaximumConcurrency pulumi.IntPtrInput `pulumi:"maximumConcurrency"`
}

func (EventSourceMappingScalingConfigArgs) ElementType

func (EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutput

func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutput() EventSourceMappingScalingConfigOutput

func (EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutputWithContext

func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigOutput

func (EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutput

func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput

func (EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutputWithContext

func (i EventSourceMappingScalingConfigArgs) ToEventSourceMappingScalingConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigPtrOutput

type EventSourceMappingScalingConfigInput

type EventSourceMappingScalingConfigInput interface {
	pulumi.Input

	ToEventSourceMappingScalingConfigOutput() EventSourceMappingScalingConfigOutput
	ToEventSourceMappingScalingConfigOutputWithContext(context.Context) EventSourceMappingScalingConfigOutput
}

EventSourceMappingScalingConfigInput is an input type that accepts EventSourceMappingScalingConfigArgs and EventSourceMappingScalingConfigOutput values. You can construct a concrete instance of `EventSourceMappingScalingConfigInput` via:

EventSourceMappingScalingConfigArgs{...}

type EventSourceMappingScalingConfigOutput

type EventSourceMappingScalingConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingScalingConfigOutput) ElementType

func (EventSourceMappingScalingConfigOutput) MaximumConcurrency

Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be greater than or equal to 2. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). You need to raise a [Service Quota Ticket](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) to increase the concurrency beyond 1000.

func (EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutput

func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutput() EventSourceMappingScalingConfigOutput

func (EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutputWithContext

func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigOutput

func (EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutput

func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput

func (EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext

func (o EventSourceMappingScalingConfigOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigPtrOutput

type EventSourceMappingScalingConfigPtrInput

type EventSourceMappingScalingConfigPtrInput interface {
	pulumi.Input

	ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput
	ToEventSourceMappingScalingConfigPtrOutputWithContext(context.Context) EventSourceMappingScalingConfigPtrOutput
}

EventSourceMappingScalingConfigPtrInput is an input type that accepts EventSourceMappingScalingConfigArgs, EventSourceMappingScalingConfigPtr and EventSourceMappingScalingConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingScalingConfigPtrInput` via:

        EventSourceMappingScalingConfigArgs{...}

or:

        nil

type EventSourceMappingScalingConfigPtrOutput

type EventSourceMappingScalingConfigPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingScalingConfigPtrOutput) Elem

func (EventSourceMappingScalingConfigPtrOutput) ElementType

func (EventSourceMappingScalingConfigPtrOutput) MaximumConcurrency

Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be greater than or equal to 2. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). You need to raise a [Service Quota Ticket](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) to increase the concurrency beyond 1000.

func (EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutput

func (o EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutput() EventSourceMappingScalingConfigPtrOutput

func (EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext

func (o EventSourceMappingScalingConfigPtrOutput) ToEventSourceMappingScalingConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingScalingConfigPtrOutput

type EventSourceMappingSelfManagedEventSource

type EventSourceMappingSelfManagedEventSource struct {
	// Map of endpoints for the self managed source. For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.
	Endpoints map[string]string `pulumi:"endpoints"`
}

type EventSourceMappingSelfManagedEventSourceArgs

type EventSourceMappingSelfManagedEventSourceArgs struct {
	// Map of endpoints for the self managed source. For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.
	Endpoints pulumi.StringMapInput `pulumi:"endpoints"`
}

func (EventSourceMappingSelfManagedEventSourceArgs) ElementType

func (EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutput

func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutput() EventSourceMappingSelfManagedEventSourceOutput

func (EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutputWithContext

func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourceOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourceOutput

func (EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutput

func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput

func (EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext

func (i EventSourceMappingSelfManagedEventSourceArgs) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput

type EventSourceMappingSelfManagedEventSourceInput

type EventSourceMappingSelfManagedEventSourceInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedEventSourceOutput() EventSourceMappingSelfManagedEventSourceOutput
	ToEventSourceMappingSelfManagedEventSourceOutputWithContext(context.Context) EventSourceMappingSelfManagedEventSourceOutput
}

EventSourceMappingSelfManagedEventSourceInput is an input type that accepts EventSourceMappingSelfManagedEventSourceArgs and EventSourceMappingSelfManagedEventSourceOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedEventSourceInput` via:

EventSourceMappingSelfManagedEventSourceArgs{...}

type EventSourceMappingSelfManagedEventSourceOutput

type EventSourceMappingSelfManagedEventSourceOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedEventSourceOutput) ElementType

func (EventSourceMappingSelfManagedEventSourceOutput) Endpoints

Map of endpoints for the self managed source. For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.

func (EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutput

func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutput() EventSourceMappingSelfManagedEventSourceOutput

func (EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutputWithContext

func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourceOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourceOutput

func (EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput

func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput

func (EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext

func (o EventSourceMappingSelfManagedEventSourceOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput

type EventSourceMappingSelfManagedEventSourcePtrInput

type EventSourceMappingSelfManagedEventSourcePtrInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput
	ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput
}

EventSourceMappingSelfManagedEventSourcePtrInput is an input type that accepts EventSourceMappingSelfManagedEventSourceArgs, EventSourceMappingSelfManagedEventSourcePtr and EventSourceMappingSelfManagedEventSourcePtrOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedEventSourcePtrInput` via:

        EventSourceMappingSelfManagedEventSourceArgs{...}

or:

        nil

type EventSourceMappingSelfManagedEventSourcePtrOutput

type EventSourceMappingSelfManagedEventSourcePtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedEventSourcePtrOutput) Elem

func (EventSourceMappingSelfManagedEventSourcePtrOutput) ElementType

func (EventSourceMappingSelfManagedEventSourcePtrOutput) Endpoints

Map of endpoints for the self managed source. For Kafka self-managed sources, the key should be `KAFKA_BOOTSTRAP_SERVERS` and the value should be a string with a comma separated list of broker endpoints.

func (EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput

func (o EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutput() EventSourceMappingSelfManagedEventSourcePtrOutput

func (EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext

func (o EventSourceMappingSelfManagedEventSourcePtrOutput) ToEventSourceMappingSelfManagedEventSourcePtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedEventSourcePtrOutput

type EventSourceMappingSelfManagedKafkaEventSourceConfig

type EventSourceMappingSelfManagedKafkaEventSourceConfig struct {
	// Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [SelfManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_SelfManagedKafkaEventSourceConfig.html).
	ConsumerGroupId *string `pulumi:"consumerGroupId"`
	// Block for a Kafka schema registry setting. See below.
	SchemaRegistryConfig *EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfig `pulumi:"schemaRegistryConfig"`
}

type EventSourceMappingSelfManagedKafkaEventSourceConfigArgs

type EventSourceMappingSelfManagedKafkaEventSourceConfigArgs struct {
	// Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [SelfManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_SelfManagedKafkaEventSourceConfig.html).
	ConsumerGroupId pulumi.StringPtrInput `pulumi:"consumerGroupId"`
	// Block for a Kafka schema registry setting. See below.
	SchemaRegistryConfig EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput `pulumi:"schemaRegistryConfig"`
}

func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ElementType

func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput

func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext

func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigOutput

func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput

func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput

func (EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext

func (i EventSourceMappingSelfManagedKafkaEventSourceConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput

type EventSourceMappingSelfManagedKafkaEventSourceConfigInput

type EventSourceMappingSelfManagedKafkaEventSourceConfigInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
	ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigOutput
}

EventSourceMappingSelfManagedKafkaEventSourceConfigInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigArgs and EventSourceMappingSelfManagedKafkaEventSourceConfigOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigInput` via:

EventSourceMappingSelfManagedKafkaEventSourceConfigArgs{...}

type EventSourceMappingSelfManagedKafkaEventSourceConfigOutput

type EventSourceMappingSelfManagedKafkaEventSourceConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ConsumerGroupId

Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [SelfManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_SelfManagedKafkaEventSourceConfig.html).

func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ElementType

func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) SchemaRegistryConfig added in v7.9.0

Block for a Kafka schema registry setting. See below.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutput

func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext

func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigOutput

func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput

func (EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext

func (o EventSourceMappingSelfManagedKafkaEventSourceConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput

type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput

type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
	ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput
}

EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigArgs, EventSourceMappingSelfManagedKafkaEventSourceConfigPtr and EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput` via:

        EventSourceMappingSelfManagedKafkaEventSourceConfigArgs{...}

or:

        nil

type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput

type EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ConsumerGroupId

Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See [SelfManagedKafkaEventSourceConfig Syntax](https://docs.aws.amazon.com/lambda/latest/dg/API_SelfManagedKafkaEventSourceConfig.html).

func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) Elem

func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ElementType

func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) SchemaRegistryConfig added in v7.9.0

Block for a Kafka schema registry setting. See below.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput

func (EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext

func (o EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigPtrOutput

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfig added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfig struct {
	// Configuration block for authentication Lambda uses to access the schema registry.
	AccessConfigs []EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfig `pulumi:"accessConfigs"`
	// Record format that Lambda delivers to the function after schema validation. Valid values: `JSON`, `SOURCE`.
	EventRecordFormat *string `pulumi:"eventRecordFormat"`
	// URI of the schema registry. For AWS Glue schema registries, use the ARN of the registry. For Confluent schema registries, use the registry URL.
	SchemaRegistryUri *string `pulumi:"schemaRegistryUri"`
	// Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.
	SchemaValidationConfigs []EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfig `pulumi:"schemaValidationConfigs"`
}

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfig added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfig struct {
	// Authentication type Lambda uses to access the schema registry.
	Type *string `pulumi:"type"`
	// URI of the secret (Secrets Manager secret ARN) used to authenticate with the schema registry.
	Uri *string `pulumi:"uri"`
}

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs struct {
	// Authentication type Lambda uses to access the schema registry.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// URI of the secret (Secrets Manager secret ARN) used to authenticate with the schema registry.
	Uri pulumi.StringPtrInput `pulumi:"uri"`
}

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutputWithContext added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray []EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutputWithContext added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput
	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput
}

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray and EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput` via:

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArray{ EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs{...} }

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput) Index added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayOutputWithContext added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput
	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput
}

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs and EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigInput` via:

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArgs{...}

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutputWithContext added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) Type added in v7.9.0

Authentication type Lambda uses to access the schema registry.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigOutput) Uri added in v7.9.0

URI of the secret (Secrets Manager secret ARN) used to authenticate with the schema registry.

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs struct {
	// Configuration block for authentication Lambda uses to access the schema registry.
	AccessConfigs EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigAccessConfigArrayInput `pulumi:"accessConfigs"`
	// Record format that Lambda delivers to the function after schema validation. Valid values: `JSON`, `SOURCE`.
	EventRecordFormat pulumi.StringPtrInput `pulumi:"eventRecordFormat"`
	// URI of the schema registry. For AWS Glue schema registries, use the ARN of the registry. For Confluent schema registries, use the registry URL.
	SchemaRegistryUri pulumi.StringPtrInput `pulumi:"schemaRegistryUri"`
	// Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.
	SchemaValidationConfigs EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput `pulumi:"schemaValidationConfigs"`
}

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutputWithContext added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutputWithContext added in v7.9.0

func (i EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutputWithContext(ctx context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigInput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput
	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput
}

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs and EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigInput` via:

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs{...}

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) AccessConfigs added in v7.9.0

Configuration block for authentication Lambda uses to access the schema registry.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) EventRecordFormat added in v7.9.0

Record format that Lambda delivers to the function after schema validation. Valid values: `JSON`, `SOURCE`.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) SchemaRegistryUri added in v7.9.0

URI of the schema registry. For AWS Glue schema registries, use the ARN of the registry. For Confluent schema registries, use the registry URL.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) SchemaValidationConfigs added in v7.9.0

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutputWithContext added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutputWithContext added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput
	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput
}

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs, EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtr and EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrInput` via:

        EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigArgs{...}

or:

        nil

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) AccessConfigs added in v7.9.0

Configuration block for authentication Lambda uses to access the schema registry.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) Elem added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) EventRecordFormat added in v7.9.0

Record format that Lambda delivers to the function after schema validation. Valid values: `JSON`, `SOURCE`.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) SchemaRegistryUri added in v7.9.0

URI of the schema registry. For AWS Glue schema registries, use the ARN of the registry. For Confluent schema registries, use the registry URL.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) SchemaValidationConfigs added in v7.9.0

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigPtrOutputWithContext added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfig added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfig struct {
	// Message attribute to validate. Valid values: `KEY`, `VALUE`.
	Attribute *string `pulumi:"attribute"`
}

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs struct {
	// Message attribute to validate. Valid values: `KEY`, `VALUE`.
	Attribute pulumi.StringPtrInput `pulumi:"attribute"`
}

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutputWithContext added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray []EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutputWithContext added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput
	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput
}

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray and EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayInput` via:

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArray{ EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs{...} }

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput) Index added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArrayOutputWithContext added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput interface {
	pulumi.Input

	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput() EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput
	ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutputWithContext(context.Context) EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput
}

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput is an input type that accepts EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs and EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput values. You can construct a concrete instance of `EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigInput` via:

EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigArgs{...}

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput added in v7.9.0

type EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput) Attribute added in v7.9.0

Message attribute to validate. Valid values: `KEY`, `VALUE`.

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput) ElementType added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput added in v7.9.0

func (EventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutput) ToEventSourceMappingSelfManagedKafkaEventSourceConfigSchemaRegistryConfigSchemaValidationConfigOutputWithContext added in v7.9.0

type EventSourceMappingSourceAccessConfiguration

type EventSourceMappingSourceAccessConfiguration struct {
	// Type of authentication protocol, VPC components, or virtual host for your event source. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/api/API_SourceAccessConfiguration.html).
	Type string `pulumi:"type"`
	// URI for this configuration. For type `VPC_SUBNET` the value should be `subnet:subnet_id` where `subnetId` is the value you would find in an ec2.Subnet resource's id attribute. For type `VPC_SECURITY_GROUP` the value should be `security_group:security_group_id` where `securityGroupId` is the value you would find in an ec2.SecurityGroup resource's id attribute.
	Uri string `pulumi:"uri"`
}

type EventSourceMappingSourceAccessConfigurationArgs

type EventSourceMappingSourceAccessConfigurationArgs struct {
	// Type of authentication protocol, VPC components, or virtual host for your event source. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/api/API_SourceAccessConfiguration.html).
	Type pulumi.StringInput `pulumi:"type"`
	// URI for this configuration. For type `VPC_SUBNET` the value should be `subnet:subnet_id` where `subnetId` is the value you would find in an ec2.Subnet resource's id attribute. For type `VPC_SECURITY_GROUP` the value should be `security_group:security_group_id` where `securityGroupId` is the value you would find in an ec2.SecurityGroup resource's id attribute.
	Uri pulumi.StringInput `pulumi:"uri"`
}

func (EventSourceMappingSourceAccessConfigurationArgs) ElementType

func (EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutput

func (i EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutput() EventSourceMappingSourceAccessConfigurationOutput

func (EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutputWithContext

func (i EventSourceMappingSourceAccessConfigurationArgs) ToEventSourceMappingSourceAccessConfigurationOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationOutput

type EventSourceMappingSourceAccessConfigurationArray

type EventSourceMappingSourceAccessConfigurationArray []EventSourceMappingSourceAccessConfigurationInput

func (EventSourceMappingSourceAccessConfigurationArray) ElementType

func (EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutput

func (i EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutput() EventSourceMappingSourceAccessConfigurationArrayOutput

func (EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext

func (i EventSourceMappingSourceAccessConfigurationArray) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationArrayOutput

type EventSourceMappingSourceAccessConfigurationArrayInput

type EventSourceMappingSourceAccessConfigurationArrayInput interface {
	pulumi.Input

	ToEventSourceMappingSourceAccessConfigurationArrayOutput() EventSourceMappingSourceAccessConfigurationArrayOutput
	ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext(context.Context) EventSourceMappingSourceAccessConfigurationArrayOutput
}

EventSourceMappingSourceAccessConfigurationArrayInput is an input type that accepts EventSourceMappingSourceAccessConfigurationArray and EventSourceMappingSourceAccessConfigurationArrayOutput values. You can construct a concrete instance of `EventSourceMappingSourceAccessConfigurationArrayInput` via:

EventSourceMappingSourceAccessConfigurationArray{ EventSourceMappingSourceAccessConfigurationArgs{...} }

type EventSourceMappingSourceAccessConfigurationArrayOutput

type EventSourceMappingSourceAccessConfigurationArrayOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSourceAccessConfigurationArrayOutput) ElementType

func (EventSourceMappingSourceAccessConfigurationArrayOutput) Index

func (EventSourceMappingSourceAccessConfigurationArrayOutput) ToEventSourceMappingSourceAccessConfigurationArrayOutput

func (EventSourceMappingSourceAccessConfigurationArrayOutput) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext

func (o EventSourceMappingSourceAccessConfigurationArrayOutput) ToEventSourceMappingSourceAccessConfigurationArrayOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationArrayOutput

type EventSourceMappingSourceAccessConfigurationInput

type EventSourceMappingSourceAccessConfigurationInput interface {
	pulumi.Input

	ToEventSourceMappingSourceAccessConfigurationOutput() EventSourceMappingSourceAccessConfigurationOutput
	ToEventSourceMappingSourceAccessConfigurationOutputWithContext(context.Context) EventSourceMappingSourceAccessConfigurationOutput
}

EventSourceMappingSourceAccessConfigurationInput is an input type that accepts EventSourceMappingSourceAccessConfigurationArgs and EventSourceMappingSourceAccessConfigurationOutput values. You can construct a concrete instance of `EventSourceMappingSourceAccessConfigurationInput` via:

EventSourceMappingSourceAccessConfigurationArgs{...}

type EventSourceMappingSourceAccessConfigurationOutput

type EventSourceMappingSourceAccessConfigurationOutput struct{ *pulumi.OutputState }

func (EventSourceMappingSourceAccessConfigurationOutput) ElementType

func (EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutput

func (o EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutput() EventSourceMappingSourceAccessConfigurationOutput

func (EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutputWithContext

func (o EventSourceMappingSourceAccessConfigurationOutput) ToEventSourceMappingSourceAccessConfigurationOutputWithContext(ctx context.Context) EventSourceMappingSourceAccessConfigurationOutput

func (EventSourceMappingSourceAccessConfigurationOutput) Type

Type of authentication protocol, VPC components, or virtual host for your event source. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/lambda/latest/api/API_SourceAccessConfiguration.html).

func (EventSourceMappingSourceAccessConfigurationOutput) Uri

URI for this configuration. For type `VPC_SUBNET` the value should be `subnet:subnet_id` where `subnetId` is the value you would find in an ec2.Subnet resource's id attribute. For type `VPC_SECURITY_GROUP` the value should be `security_group:security_group_id` where `securityGroupId` is the value you would find in an ec2.SecurityGroup resource's id attribute.

type EventSourceMappingState

type EventSourceMappingState struct {
	// Additional configuration block for Amazon Managed Kafka sources. Incompatible with `selfManagedEventSource` and `selfManagedKafkaEventSourceConfig`. See below.
	AmazonManagedKafkaEventSourceConfig EventSourceMappingAmazonManagedKafkaEventSourceConfigPtrInput
	// Event source mapping ARN.
	Arn pulumi.StringPtrInput
	// Largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS.
	BatchSize pulumi.IntPtrInput
	// Whether to split the batch in two and retry if the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.
	BisectBatchOnFunctionError pulumi.BoolPtrInput
	// Amazon SQS queue, Amazon SNS topic or Amazon S3 bucket (only available for Kafka sources) destination for failed records. Only available for stream sources (DynamoDB and Kinesis) and Kafka sources (Amazon MSK and Self-managed Apache Kafka). See below.
	DestinationConfig EventSourceMappingDestinationConfigPtrInput
	// Configuration settings for a DocumentDB event source. See below.
	DocumentDbEventSourceConfig EventSourceMappingDocumentDbEventSourceConfigPtrInput
	// Whether the mapping is enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Event source ARN - required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. Incompatible with Self Managed Kafka source.
	EventSourceArn pulumi.StringPtrInput
	// Criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. See below.
	FilterCriteria EventSourceMappingFilterCriteriaPtrInput
	// 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
	// Name or ARN of the Lambda function that will be subscribing to events.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringPtrInput
	// List of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`.
	FunctionResponseTypes pulumi.StringArrayInput
	// ARN of the Key Management Service (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
	KmsKeyArn pulumi.StringPtrInput
	// Date this resource was last modified.
	LastModified pulumi.StringPtrInput
	// Result of the last AWS Lambda invocation of your Lambda function.
	LastProcessingResult pulumi.StringPtrInput
	// Maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues.
	MaximumBatchingWindowInSeconds pulumi.IntPtrInput
	// Maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive).
	MaximumRecordAgeInSeconds pulumi.IntPtrInput
	// Maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000.
	MaximumRetryAttempts pulumi.IntPtrInput
	// CloudWatch metrics configuration of the event source. Only available for stream sources (DynamoDB and Kinesis) and SQS queues. See below.
	MetricsConfig EventSourceMappingMetricsConfigPtrInput
	// 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.
	ParallelizationFactor pulumi.IntPtrInput
	// Event poller configuration for the event source. Only valid for Amazon MSK or self-managed Apache Kafka sources. See below.
	ProvisionedPollerConfig EventSourceMappingProvisionedPollerConfigPtrInput
	// Name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.
	Queues pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Scaling configuration of the event source. Only available for SQS queues. See below.
	ScalingConfig EventSourceMappingScalingConfigPtrInput
	// For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. See below.
	SelfManagedEventSource EventSourceMappingSelfManagedEventSourcePtrInput
	// Additional configuration block for Self Managed Kafka sources. Incompatible with `eventSourceArn` and `amazonManagedKafkaEventSourceConfig`. See below.
	SelfManagedKafkaEventSourceConfig EventSourceMappingSelfManagedKafkaEventSourceConfigPtrInput
	// For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. See below.
	SourceAccessConfigurations EventSourceMappingSourceAccessConfigurationArrayInput
	// 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, DynamoDB, MSK or Self Managed Apache Kafka. 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
	// 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.
	StartingPositionTimestamp pulumi.StringPtrInput
	// State of the event source mapping.
	State pulumi.StringPtrInput
	// Reason the event source mapping is in its current state.
	StateTransitionReason pulumi.StringPtrInput
	// Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.
	Topics pulumi.StringArrayInput
	// Duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis).
	TumblingWindowInSeconds pulumi.IntPtrInput
	// 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

	// Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stays the same.
	Architectures pulumi.StringArrayOutput `pulumi:"architectures"`
	// ARN identifying your Lambda Function.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Path to the function's deployment package within the local filesystem. Conflicts with `imageUri` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
	Code pulumi.ArchiveOutput `pulumi:"code"`
	// Base64-encoded representation of raw SHA-256 sum of the zip file.
	CodeSha256 pulumi.StringOutput `pulumi:"codeSha256"`
	// ARN of a code-signing configuration to enable code signing for this function.
	CodeSigningConfigArn pulumi.StringPtrOutput `pulumi:"codeSigningConfigArn"`
	// Configuration block for dead letter queue. See below.
	DeadLetterConfig FunctionDeadLetterConfigPtrOutput `pulumi:"deadLetterConfig"`
	// Description of what your Lambda Function does.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Configuration block for environment variables. See below.
	Environment FunctionEnvironmentPtrOutput `pulumi:"environment"`
	// Amount of ephemeral storage (`/tmp`) to allocate for the Lambda Function. See below.
	EphemeralStorage FunctionEphemeralStorageOutput `pulumi:"ephemeralStorage"`
	// Configuration block for EFS file system. See below.
	FileSystemConfig FunctionFileSystemConfigPtrOutput `pulumi:"fileSystemConfig"`
	// Function entry point in your code. Required if `packageType` is `Zip`.
	Handler pulumi.StringPtrOutput `pulumi:"handler"`
	// Container image configuration values. See below.
	ImageConfig FunctionImageConfigPtrOutput `pulumi:"imageConfig"`
	// ECR image URI containing the function's deployment package. Conflicts with `filename` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
	ImageUri pulumi.StringPtrOutput `pulumi:"imageUri"`
	// ARN to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`.
	InvokeArn pulumi.StringOutput `pulumi:"invokeArn"`
	// ARN of the AWS Key Management Service key used to encrypt environment variables. If not provided when environment variables are in use, AWS Lambda uses a default service key. If provided when environment variables are not in use, the AWS Lambda API does not save this configuration.
	KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"`
	// 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.
	Layers pulumi.StringArrayOutput `pulumi:"layers"`
	// Configuration block for advanced logging settings. See below.
	LoggingConfig FunctionLoggingConfigOutput `pulumi:"loggingConfig"`
	// Amount of memory in MB your Lambda Function can use at runtime. Valid value between 128 MB to 10,240 MB (10 GB), in 1 MB increments. Defaults to 128.
	MemorySize pulumi.IntPtrOutput `pulumi:"memorySize"`
	// Unique name for your Lambda Function.
	Name pulumi.StringOutput `pulumi:"name"`
	// Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`.
	PackageType pulumi.StringPtrOutput `pulumi:"packageType"`
	// Whether to publish creation/change as new Lambda Function Version. Defaults to `false`.
	Publish pulumi.BoolPtrOutput `pulumi:"publish"`
	// ARN identifying your Lambda Function Version (if versioning is enabled via `publish = true`).
	QualifiedArn pulumi.StringOutput `pulumi:"qualifiedArn"`
	// Qualified ARN (ARN with lambda version number) to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`.
	QualifiedInvokeArn pulumi.StringOutput `pulumi:"qualifiedInvokeArn"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// Whether to replace the security groups on the function's VPC configuration prior to destruction. Default is `false`.
	ReplaceSecurityGroupsOnDestroy pulumi.BoolPtrOutput `pulumi:"replaceSecurityGroupsOnDestroy"`
	// List of security group IDs to assign to the function's VPC configuration prior to destruction. Required if `replaceSecurityGroupsOnDestroy` is `true`.
	ReplacementSecurityGroupIds pulumi.StringArrayOutput `pulumi:"replacementSecurityGroupIds"`
	// 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`.
	ReservedConcurrentExecutions pulumi.IntPtrOutput `pulumi:"reservedConcurrentExecutions"`
	// ARN of the function's execution role. The role provides the function's identity and access to AWS services and resources.
	//
	// The following arguments are optional:
	Role pulumi.StringOutput `pulumi:"role"`
	// Identifier of the function's runtime. Required if `packageType` is `Zip`. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
	Runtime pulumi.StringPtrOutput `pulumi:"runtime"`
	// S3 bucket location containing the function's deployment package. Conflicts with `filename` and `imageUri`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
	S3Bucket pulumi.StringPtrOutput `pulumi:"s3Bucket"`
	// S3 key of an object containing the function's deployment package. Required if `s3Bucket` is set.
	S3Key pulumi.StringPtrOutput `pulumi:"s3Key"`
	// Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`.
	S3ObjectVersion pulumi.StringPtrOutput `pulumi:"s3ObjectVersion"`
	// ARN of the signing job.
	SigningJobArn pulumi.StringOutput `pulumi:"signingJobArn"`
	// ARN of the signing profile version.
	SigningProfileVersionArn pulumi.StringOutput `pulumi:"signingProfileVersionArn"`
	// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.
	SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"`
	// Configuration block for snap start settings. See below.
	SnapStart FunctionSnapStartPtrOutput `pulumi:"snapStart"`
	// Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
	SourceCodeHash pulumi.StringOutput `pulumi:"sourceCodeHash"`
	// Size in bytes of the function .zip file.
	SourceCodeSize pulumi.IntOutput `pulumi:"sourceCodeSize"`
	// ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package. Conflicts with `imageUri`.
	SourceKmsKeyArn pulumi.StringPtrOutput `pulumi:"sourceKmsKeyArn"`
	// Key-value map of tags for the Lambda function. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Amount of time your Lambda Function has to run in seconds. Defaults to 3. Valid between 1 and 900.
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// Configuration block for X-Ray tracing. See below.
	TracingConfig FunctionTracingConfigOutput `pulumi:"tracingConfig"`
	// Latest published version of your Lambda Function.
	Version pulumi.StringOutput `pulumi:"version"`
	// Configuration block for VPC. See below.
	VpcConfig FunctionVpcConfigPtrOutput `pulumi:"vpcConfig"`
}

Manages an AWS Lambda Function. Use this resource to create serverless functions that run code in response to events without provisioning or managing servers.

For information about Lambda and how to use it, see [What is AWS Lambda?](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html). For a detailed example of setting up Lambda and API Gateway, see Serverless Applications with AWS Lambda and API Gateway.

> **Note:** Due to [AWS Lambda improved VPC networking changes that began deploying in September 2019](https://aws.amazon.com/blogs/compute/announcing-improved-vpc-networking-for-aws-lambda-functions/), EC2 subnets and security groups associated with Lambda Functions can take up to 45 minutes to successfully delete. Pulumi AWS Provider version 2.31.0 and later automatically handles this increased timeout, however prior versions require setting the customizable deletion timeouts of those Pulumi resources to 45 minutes (`delete = "45m"`). AWS and HashiCorp are working together to reduce the amount of time required for resource deletion and updates can be tracked in this GitHub issue.

> **Note:** If you get a `KMSAccessDeniedException: Lambda was unable to decrypt the environment variables because KMS access was denied` error when invoking an `lambda.Function` with environment variables, the IAM role associated with the function may have been deleted and recreated after the function was created. You can fix the problem two ways: 1) updating the function's role to another role and then updating it back again to the recreated role. (When you create a function, Lambda grants permissions on the KMS key to the function's IAM role. If the IAM role is recreated, the grant is no longer valid. Changing the function's role or recreating the function causes Lambda to update the grant.)

> **Tip:** To give an external source (like an EventBridge Rule, SNS, or S3) permission to access the Lambda function, use the `lambda.Permission` resource. See [Lambda Permission Model](https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html) for more details. On the other hand, the `role` argument of this resource is the function's execution role for identity and access to AWS services and resources.

## Example Usage

### Container Image Function

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Name:        pulumi.String("example_container_function"),
			Role:        pulumi.Any(exampleAwsIamRole.Arn),
			PackageType: pulumi.String("Image"),
			ImageUri:    pulumi.Sprintf("%v:latest", exampleAwsEcrRepository.RepositoryUrl),
			ImageConfig: &lambda.FunctionImageConfigArgs{
				EntryPoints: pulumi.StringArray{
					pulumi.String("/lambda-entrypoint.sh"),
				},
				Commands: pulumi.StringArray{
					pulumi.String("app.handler"),
				},
			},
			MemorySize: pulumi.Int(512),
			Timeout:    pulumi.Int(30),
			Architectures: pulumi.StringArray{
				pulumi.String("arm64"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Function with Lambda Layers

> **Note:** The `lambda.LayerVersion` attribute values for `arn` and `layerArn` were swapped in version 2.0.0 of the Pulumi AWS Provider. For version 2.x, use `arn` references.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Common dependencies layer
		example, err := lambda.NewLayerVersion(ctx, "example", &lambda.LayerVersionArgs{
			Code:        pulumi.NewFileArchive("layer.zip"),
			LayerName:   pulumi.String("example_dependencies_layer"),
			Description: pulumi.String("Common dependencies for Lambda functions"),
			CompatibleRuntimes: pulumi.StringArray{
				pulumi.String("nodejs20.x"),
				pulumi.String("python3.12"),
			},
			CompatibleArchitectures: pulumi.StringArray{
				pulumi.String("x86_64"),
				pulumi.String("arm64"),
			},
		})
		if err != nil {
			return err
		}
		// Function using the layer
		_, err = lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("function.zip"),
			Name:    pulumi.String("example_layered_function"),
			Role:    pulumi.Any(exampleAwsIamRole.Arn),
			Handler: pulumi.String("index.handler"),
			Runtime: pulumi.String(lambda.RuntimeNodeJS20dX),
			Layers: pulumi.StringArray{
				example.Arn,
			},
			TracingConfig: &lambda.FunctionTracingConfigArgs{
				Mode: pulumi.String("Active"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### VPC Function with Enhanced Networking

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:       pulumi.NewFileArchive("function.zip"),
			Name:       pulumi.String("example_vpc_function"),
			Role:       pulumi.Any(exampleAwsIamRole.Arn),
			Handler:    pulumi.String("app.handler"),
			Runtime:    pulumi.String(lambda.RuntimePython3d12),
			MemorySize: pulumi.Int(1024),
			Timeout:    pulumi.Int(30),
			VpcConfig: &lambda.FunctionVpcConfigArgs{
				SubnetIds: pulumi.StringArray{
					examplePrivate1.Id,
					examplePrivate2.Id,
				},
				SecurityGroupIds: pulumi.StringArray{
					exampleLambda.Id,
				},
				Ipv6AllowedForDualStack: pulumi.Bool(true),
			},
			EphemeralStorage: &lambda.FunctionEphemeralStorageArgs{
				Size: pulumi.Int(5120),
			},
			SnapStart: &lambda.FunctionSnapStartArgs{
				ApplyOn: pulumi.String("PublishedVersions"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Function with EFS Integration

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// EFS file system for Lambda
		example, err := efs.NewFileSystem(ctx, "example", &efs.FileSystemArgs{
			Encrypted: pulumi.Bool(true),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("lambda-efs"),
			},
		})
		if err != nil {
			return err
		}
		cfg := config.New(ctx, "")
		// List of subnet IDs for EFS mount targets
		subnetIds := []string{
			"subnet-12345678",
			"subnet-87654321",
		}
		if param := cfg.GetObject("subnetIds"); param != nil {
			subnetIds = param
		}
		// Mount target in each subnet
		var exampleMountTarget []*efs.MountTarget
		for index := 0; index < len(subnetIds); index++ {
			key0 := index
			val0 := index
			__res, err := efs.NewMountTarget(ctx, fmt.Sprintf("example-%v", key0), &efs.MountTargetArgs{
				FileSystemId: example.ID(),
				SubnetId:     pulumi.String(subnetIds[val0]),
				SecurityGroups: pulumi.StringArray{
					efs.Id,
				},
			})
			if err != nil {
				return err
			}
			exampleMountTarget = append(exampleMountTarget, __res)
		}
		// Access point for Lambda
		exampleAccessPoint, err := efs.NewAccessPoint(ctx, "example", &efs.AccessPointArgs{
			FileSystemId: example.ID(),
			RootDirectory: &efs.AccessPointRootDirectoryArgs{
				Path: pulumi.String("/lambda"),
				CreationInfo: &efs.AccessPointRootDirectoryCreationInfoArgs{
					OwnerGid:    pulumi.Int(1000),
					OwnerUid:    pulumi.Int(1000),
					Permissions: pulumi.String("755"),
				},
			},
			PosixUser: &efs.AccessPointPosixUserArgs{
				Gid: pulumi.Int(1000),
				Uid: pulumi.Int(1000),
			},
		})
		if err != nil {
			return err
		}
		// Lambda function with EFS
		_, err = lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("function.zip"),
			Name:    pulumi.String("example_efs_function"),
			Role:    pulumi.Any(exampleAwsIamRole.Arn),
			Handler: pulumi.String("index.handler"),
			Runtime: pulumi.String(lambda.RuntimeNodeJS20dX),
			VpcConfig: &lambda.FunctionVpcConfigArgs{
				SubnetIds: subnetIds,
				SecurityGroupIds: pulumi.StringArray{
					lambda.Id,
				},
			},
			FileSystemConfig: &lambda.FunctionFileSystemConfigArgs{
				Arn:            exampleAccessPoint.Arn,
				LocalMountPath: pulumi.String("/mnt/data"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleMountTarget,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Function with Advanced Logging

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cloudwatch.NewLogGroup(ctx, "example", &cloudwatch.LogGroupArgs{
			Name:            pulumi.String("/aws/lambda/example_function"),
			RetentionInDays: pulumi.Int(14),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
				"Application": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("function.zip"),
			Name:    pulumi.String("example_function"),
			Role:    pulumi.Any(exampleAwsIamRole.Arn),
			Handler: pulumi.String("index.handler"),
			Runtime: pulumi.String(lambda.RuntimeNodeJS20dX),
			LoggingConfig: &lambda.FunctionLoggingConfigArgs{
				LogFormat:           pulumi.String("JSON"),
				ApplicationLogLevel: pulumi.String("INFO"),
				SystemLogLevel:      pulumi.String("WARN"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			example,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Function with logging to S3 or Data Firehose

#### Required Resources

* An S3 bucket or Data Firehose delivery stream to store the logs. * A CloudWatch Log Group with:

  • `logGroupClass = "DELIVERY"`
  • A subscription filter whose `destinationArn` points to the S3 bucket or the Data Firehose delivery stream.

* IAM roles:

  • Assumed by the `logs.amazonaws.com` service to deliver logs to the S3 bucket or Data Firehose delivery stream.
  • Assumed by the `lambda.amazonaws.com` service to send logs to CloudWatch Logs

* A Lambda function:

  • In the `loggingConfiguration`, specify the name of the Log Group created above using the `logGroup` field
  • No special configuration is required to use S3 or Firehose as the log destination

For more details, see [Sending Lambda function logs to Amazon S3](https://docs.aws.amazon.com/lambda/latest/dg/logging-with-s3.html).

### Example: Exporting Lambda Logs to S3 Bucket

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		lambdaFunctionName := "lambda-log-export-example"
		lambdaLogExportBucket, err := s3.NewBucket(ctx, "lambda_log_export", &s3.BucketArgs{
			Bucket: pulumi.Sprintf("%v-bucket", lambdaFunctionName),
		})
		if err != nil {
			return err
		}
		export, err := cloudwatch.NewLogGroup(ctx, "export", &cloudwatch.LogGroupArgs{
			Name:          pulumi.Sprintf("/aws/lambda/%v", lambdaFunctionName),
			LogGroupClass: pulumi.String("DELIVERY"),
		})
		if err != nil {
			return err
		}
		logsAssumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Actions: []string{
						"sts:AssumeRole",
					},
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"logs.amazonaws.com",
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		logsLogExport, err := iam.NewRole(ctx, "logs_log_export", &iam.RoleArgs{
			Name:             pulumi.Sprintf("%v-lambda-log-export-role", lambdaFunctionName),
			AssumeRolePolicy: pulumi.String(logsAssumeRole.Json),
		})
		if err != nil {
			return err
		}
		lambdaLogExport := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Actions: pulumi.StringArray{
						pulumi.String("s3:PutObject"),
					},
					Effect: pulumi.String("Allow"),
					Resources: pulumi.StringArray{
						lambdaLogExportBucket.Arn.ApplyT(func(arn string) (string, error) {
							return fmt.Sprintf("%v/*", arn), nil
						}).(pulumi.StringOutput),
					},
				},
			},
		}, nil)
		_, err = iam.NewRolePolicy(ctx, "lambda_log_export", &iam.RolePolicyArgs{
			Policy: pulumi.String(lambdaLogExport.ApplyT(func(lambdaLogExport iam.GetPolicyDocumentResult) (*string, error) {
				return &lambdaLogExport.Json, nil
			}).(pulumi.StringPtrOutput)),
			Role: logsLogExport.Name,
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewLogSubscriptionFilter(ctx, "lambda_log_export", &cloudwatch.LogSubscriptionFilterArgs{
			Name:           pulumi.Sprintf("%v-filter", lambdaFunctionName),
			LogGroup:       export.Name,
			FilterPattern:  pulumi.String(""),
			DestinationArn: lambdaLogExportBucket.Arn,
			RoleArn:        logsLogExport.Arn,
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewFunction(ctx, "log_export", &lambda.FunctionArgs{
			Name:    pulumi.String(lambdaFunctionName),
			Handler: pulumi.String("index.lambda_handler"),
			Runtime: pulumi.String(lambda.RuntimePython3d13),
			Role:    pulumi.Any(example.Arn),
			Code:    pulumi.NewFileArchive("function.zip"),
			LoggingConfig: &lambda.FunctionLoggingConfigArgs{
				LogFormat: pulumi.String("Text"),
				LogGroup:  export.Name,
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			export,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Function with Error Handling

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Main Lambda function
		example, err := lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("function.zip"),
			Name:    pulumi.String("example_function"),
			Role:    pulumi.Any(exampleAwsIamRole.Arn),
			Handler: pulumi.String("index.handler"),
			Runtime: pulumi.String(lambda.RuntimeNodeJS20dX),
			DeadLetterConfig: &lambda.FunctionDeadLetterConfigArgs{
				TargetArn: pulumi.Any(dlq.Arn),
			},
		})
		if err != nil {
			return err
		}
		// Event invoke configuration for retries
		_, err = lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName:             example.Name,
			MaximumEventAgeInSeconds: pulumi.Int(60),
			MaximumRetryAttempts:     pulumi.Int(2),
			DestinationConfig: &lambda.FunctionEventInvokeConfigDestinationConfigArgs{
				OnFailure: &lambda.FunctionEventInvokeConfigDestinationConfigOnFailureArgs{
					Destination: pulumi.Any(dlq.Arn),
				},
				OnSuccess: &lambda.FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{
					Destination: pulumi.Any(success.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### CloudWatch Logging and Permissions

```go package main

import (

"encoding/json"
"fmt"

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		// Name of the Lambda function
		functionName := "example_function"
		if param := cfg.Get("functionName"); param != "" {
			functionName = param
		}
		// CloudWatch Log Group with retention
		example, err := cloudwatch.NewLogGroup(ctx, "example", &cloudwatch.LogGroupArgs{
			Name:            pulumi.Sprintf("/aws/lambda/%v", functionName),
			RetentionInDays: pulumi.Int(14),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
				"Function":    pulumi.String(functionName),
			},
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Action": "sts:AssumeRole",
					"Effect": "Allow",
					"Principal": map[string]interface{}{
						"Service": "lambda.amazonaws.com",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		// Lambda execution role
		exampleRole, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
			Name:             pulumi.String("lambda_execution_role"),
			AssumeRolePolicy: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Effect": "Allow",
					"Action": []string{
						"logs:CreateLogGroup",
						"logs:CreateLogStream",
						"logs:PutLogEvents",
					},
					"Resource": []string{
						"arn:aws:logs:*:*:*",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		// CloudWatch Logs policy
		lambdaLogging, err := iam.NewPolicy(ctx, "lambda_logging", &iam.PolicyArgs{
			Name:        pulumi.String("lambda_logging"),
			Path:        pulumi.String("/"),
			Description: pulumi.String("IAM policy for logging from Lambda"),
			Policy:      pulumi.String(json1),
		})
		if err != nil {
			return err
		}
		// Attach logging policy to Lambda role
		lambdaLogs, err := iam.NewRolePolicyAttachment(ctx, "lambda_logs", &iam.RolePolicyAttachmentArgs{
			Role:      exampleRole.Name,
			PolicyArn: lambdaLogging.Arn,
		})
		if err != nil {
			return err
		}
		// Lambda function with logging
		_, err = lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("function.zip"),
			Name:    pulumi.String(functionName),
			Role:    exampleRole.Arn,
			Handler: pulumi.String("index.handler"),
			Runtime: pulumi.String(lambda.RuntimeNodeJS20dX),
			LoggingConfig: &lambda.FunctionLoggingConfigArgs{
				LogFormat:           pulumi.String("JSON"),
				ApplicationLogLevel: pulumi.String("INFO"),
				SystemLogLevel:      pulumi.String("WARN"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			lambdaLogs,
			example,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Specifying the Deployment Package

AWS Lambda expects source code to be provided as a deployment package whose structure varies depending on which `runtime` is in use. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for the valid values of `runtime`. The expected structure of the deployment package can be found in [the AWS Lambda documentation for each runtime](https://docs.aws.amazon.com/lambda/latest/dg/deployment-package-v2.html).

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.BucketObjectv2` 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

### Identity Schema

#### Required

* `function_name` (String) Name of the Lambda function.

#### Optional

* `account_id` (String) AWS Account where this resource is managed.

* `region` (String) Region where this resource is managed.

Using `pulumi import`, import Lambda Functions using the `function_name`. For example:

console

% pulumi import aws_lambda_function.example example

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

func (*Function) ElementType() reflect.Type

func (*Function) ToFunctionOutput

func (i *Function) ToFunctionOutput() FunctionOutput

func (*Function) ToFunctionOutputWithContext

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

type FunctionArgs

type FunctionArgs struct {
	// Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stays the same.
	Architectures pulumi.StringArrayInput
	// Path to the function's deployment package within the local filesystem. Conflicts with `imageUri` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
	Code pulumi.ArchiveInput
	// ARN of a code-signing configuration to enable code signing for this function.
	CodeSigningConfigArn pulumi.StringPtrInput
	// Configuration block for dead letter queue. See below.
	DeadLetterConfig FunctionDeadLetterConfigPtrInput
	// Description of what your Lambda Function does.
	Description pulumi.StringPtrInput
	// Configuration block for environment variables. See below.
	Environment FunctionEnvironmentPtrInput
	// Amount of ephemeral storage (`/tmp`) to allocate for the Lambda Function. See below.
	EphemeralStorage FunctionEphemeralStoragePtrInput
	// Configuration block for EFS file system. See below.
	FileSystemConfig FunctionFileSystemConfigPtrInput
	// Function entry point in your code. Required if `packageType` is `Zip`.
	Handler pulumi.StringPtrInput
	// Container image configuration values. See below.
	ImageConfig FunctionImageConfigPtrInput
	// ECR image URI containing the function's deployment package. Conflicts with `filename` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
	ImageUri pulumi.StringPtrInput
	// ARN of the AWS Key Management Service key used to encrypt environment variables. If not provided when environment variables are in use, AWS Lambda uses a default service key. If provided when environment variables are not in use, the AWS Lambda API does not save this configuration.
	KmsKeyArn pulumi.StringPtrInput
	// List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function.
	Layers pulumi.StringArrayInput
	// Configuration block for advanced logging settings. See below.
	LoggingConfig FunctionLoggingConfigPtrInput
	// Amount of memory in MB your Lambda Function can use at runtime. Valid value between 128 MB to 10,240 MB (10 GB), in 1 MB increments. Defaults to 128.
	MemorySize pulumi.IntPtrInput
	// Unique name for your Lambda Function.
	Name pulumi.StringPtrInput
	// Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`.
	PackageType pulumi.StringPtrInput
	// Whether to publish creation/change as new Lambda Function Version. Defaults to `false`.
	Publish pulumi.BoolPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Whether to replace the security groups on the function's VPC configuration prior to destruction. Default is `false`.
	ReplaceSecurityGroupsOnDestroy pulumi.BoolPtrInput
	// List of security group IDs to assign to the function's VPC configuration prior to destruction. Required if `replaceSecurityGroupsOnDestroy` is `true`.
	ReplacementSecurityGroupIds pulumi.StringArrayInput
	// 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`.
	ReservedConcurrentExecutions pulumi.IntPtrInput
	// ARN of the function's execution role. The role provides the function's identity and access to AWS services and resources.
	//
	// The following arguments are optional:
	Role pulumi.StringInput
	// Identifier of the function's runtime. Required if `packageType` is `Zip`. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
	Runtime pulumi.StringPtrInput
	// S3 bucket location containing the function's deployment package. Conflicts with `filename` and `imageUri`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
	S3Bucket pulumi.StringPtrInput
	// S3 key of an object containing the function's deployment package. Required if `s3Bucket` is set.
	S3Key pulumi.StringPtrInput
	// Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`.
	S3ObjectVersion pulumi.StringPtrInput
	// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.
	SkipDestroy pulumi.BoolPtrInput
	// Configuration block for snap start settings. See below.
	SnapStart FunctionSnapStartPtrInput
	// Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
	SourceCodeHash pulumi.StringPtrInput
	// ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package. Conflicts with `imageUri`.
	SourceKmsKeyArn pulumi.StringPtrInput
	// Key-value map of tags for the Lambda function. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Amount of time your Lambda Function has to run in seconds. Defaults to 3. Valid between 1 and 900.
	Timeout pulumi.IntPtrInput
	// Configuration block for X-Ray tracing. See below.
	TracingConfig FunctionTracingConfigPtrInput
	// Configuration block for VPC. See below.
	VpcConfig FunctionVpcConfigPtrInput
}

The set of arguments for constructing a Function resource.

func (FunctionArgs) ElementType

func (FunctionArgs) ElementType() reflect.Type

type FunctionArray

type FunctionArray []FunctionInput

func (FunctionArray) ElementType

func (FunctionArray) ElementType() reflect.Type

func (FunctionArray) ToFunctionArrayOutput

func (i FunctionArray) ToFunctionArrayOutput() FunctionArrayOutput

func (FunctionArray) ToFunctionArrayOutputWithContext

func (i FunctionArray) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput

type FunctionArrayInput

type FunctionArrayInput interface {
	pulumi.Input

	ToFunctionArrayOutput() FunctionArrayOutput
	ToFunctionArrayOutputWithContext(context.Context) FunctionArrayOutput
}

FunctionArrayInput is an input type that accepts FunctionArray and FunctionArrayOutput values. You can construct a concrete instance of `FunctionArrayInput` via:

FunctionArray{ FunctionArgs{...} }

type FunctionArrayOutput

type FunctionArrayOutput struct{ *pulumi.OutputState }

func (FunctionArrayOutput) ElementType

func (FunctionArrayOutput) ElementType() reflect.Type

func (FunctionArrayOutput) Index

func (FunctionArrayOutput) ToFunctionArrayOutput

func (o FunctionArrayOutput) ToFunctionArrayOutput() FunctionArrayOutput

func (FunctionArrayOutput) ToFunctionArrayOutputWithContext

func (o FunctionArrayOutput) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput

type FunctionDeadLetterConfig

type FunctionDeadLetterConfig struct {
	// ARN of an SNS topic or SQS queue to notify when an invocation fails.
	TargetArn string `pulumi:"targetArn"`
}

type FunctionDeadLetterConfigArgs

type FunctionDeadLetterConfigArgs struct {
	// ARN of an SNS topic or SQS queue to notify when an invocation fails.
	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

ARN of an SNS topic or SQS queue to notify when an invocation fails.

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

ARN of an SNS topic or SQS queue to notify when an invocation fails.

func (FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutput

func (o FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutput() FunctionDeadLetterConfigPtrOutput

func (FunctionDeadLetterConfigPtrOutput) ToFunctionDeadLetterConfigPtrOutputWithContext

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

type FunctionEnvironment

type FunctionEnvironment struct {
	// Map of environment variables available to your Lambda function during execution.
	Variables map[string]string `pulumi:"variables"`
}

type FunctionEnvironmentArgs

type FunctionEnvironmentArgs struct {
	// Map of environment variables available to your Lambda function during execution.
	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

Map of environment variables available to your Lambda function during execution.

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

Map of environment variables available to your Lambda function during execution.

type FunctionEphemeralStorage

type FunctionEphemeralStorage struct {
	// Amount of ephemeral storage (`/tmp`) in MB. Valid between 512 MB and 10,240 MB (10 GB).
	Size *int `pulumi:"size"`
}

type FunctionEphemeralStorageArgs

type FunctionEphemeralStorageArgs struct {
	// Amount of ephemeral storage (`/tmp`) in MB. Valid between 512 MB and 10,240 MB (10 GB).
	Size pulumi.IntPtrInput `pulumi:"size"`
}

func (FunctionEphemeralStorageArgs) ElementType

func (FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutput

func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutput() FunctionEphemeralStorageOutput

func (FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutputWithContext

func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStorageOutputWithContext(ctx context.Context) FunctionEphemeralStorageOutput

func (FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutput

func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput

func (FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutputWithContext

func (i FunctionEphemeralStorageArgs) ToFunctionEphemeralStoragePtrOutputWithContext(ctx context.Context) FunctionEphemeralStoragePtrOutput

type FunctionEphemeralStorageInput

type FunctionEphemeralStorageInput interface {
	pulumi.Input

	ToFunctionEphemeralStorageOutput() FunctionEphemeralStorageOutput
	ToFunctionEphemeralStorageOutputWithContext(context.Context) FunctionEphemeralStorageOutput
}

FunctionEphemeralStorageInput is an input type that accepts FunctionEphemeralStorageArgs and FunctionEphemeralStorageOutput values. You can construct a concrete instance of `FunctionEphemeralStorageInput` via:

FunctionEphemeralStorageArgs{...}

type FunctionEphemeralStorageOutput

type FunctionEphemeralStorageOutput struct{ *pulumi.OutputState }

func (FunctionEphemeralStorageOutput) ElementType

func (FunctionEphemeralStorageOutput) Size

Amount of ephemeral storage (`/tmp`) in MB. Valid between 512 MB and 10,240 MB (10 GB).

func (FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutput

func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutput() FunctionEphemeralStorageOutput

func (FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutputWithContext

func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStorageOutputWithContext(ctx context.Context) FunctionEphemeralStorageOutput

func (FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutput

func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput

func (FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutputWithContext

func (o FunctionEphemeralStorageOutput) ToFunctionEphemeralStoragePtrOutputWithContext(ctx context.Context) FunctionEphemeralStoragePtrOutput

type FunctionEphemeralStoragePtrInput

type FunctionEphemeralStoragePtrInput interface {
	pulumi.Input

	ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput
	ToFunctionEphemeralStoragePtrOutputWithContext(context.Context) FunctionEphemeralStoragePtrOutput
}

FunctionEphemeralStoragePtrInput is an input type that accepts FunctionEphemeralStorageArgs, FunctionEphemeralStoragePtr and FunctionEphemeralStoragePtrOutput values. You can construct a concrete instance of `FunctionEphemeralStoragePtrInput` via:

        FunctionEphemeralStorageArgs{...}

or:

        nil

type FunctionEphemeralStoragePtrOutput

type FunctionEphemeralStoragePtrOutput struct{ *pulumi.OutputState }

func (FunctionEphemeralStoragePtrOutput) Elem

func (FunctionEphemeralStoragePtrOutput) ElementType

func (FunctionEphemeralStoragePtrOutput) Size

Amount of ephemeral storage (`/tmp`) in MB. Valid between 512 MB and 10,240 MB (10 GB).

func (FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutput

func (o FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutput() FunctionEphemeralStoragePtrOutput

func (FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutputWithContext

func (o FunctionEphemeralStoragePtrOutput) ToFunctionEphemeralStoragePtrOutputWithContext(ctx context.Context) FunctionEphemeralStoragePtrOutput

type FunctionEventInvokeConfig

type FunctionEventInvokeConfig struct {
	pulumi.CustomResourceState

	// Configuration block with destination configuration. See below.
	DestinationConfig FunctionEventInvokeConfigDestinationConfigPtrOutput `pulumi:"destinationConfig"`
	// Name or ARN of the Lambda Function, omitting any version or alias qualifier.
	//
	// The following arguments are optional:
	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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
}

Manages an AWS Lambda Function Event Invoke Config. Use this resource to configure error handling and destinations for asynchronous Lambda function invocations.

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

### Complete Error Handling and Destinations

> **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/v7/go/aws/lambda"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/sns"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/sqs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// SQS queue for failed invocations
		dlq, err := sqs.NewQueue(ctx, "dlq", &sqs.QueueArgs{
			Name: pulumi.String("lambda-dlq"),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
				"Purpose":     pulumi.String("lambda-error-handling"),
			},
		})
		if err != nil {
			return err
		}
		// SNS topic for successful invocations
		success, err := sns.NewTopic(ctx, "success", &sns.TopicArgs{
			Name: pulumi.String("lambda-success-notifications"),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
				"Purpose":     pulumi.String("lambda-success-notifications"),
			},
		})
		if err != nil {
			return err
		}
		// Complete event invoke configuration
		_, err = lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName:             pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			MaximumEventAgeInSeconds: pulumi.Int(300),
			MaximumRetryAttempts:     pulumi.Int(1),
			DestinationConfig: &lambda.FunctionEventInvokeConfigDestinationConfigArgs{
				OnFailure: &lambda.FunctionEventInvokeConfigDestinationConfigOnFailureArgs{
					Destination: dlq.Arn,
				},
				OnSuccess: &lambda.FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{
					Destination: success.Arn,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Error Handling Only

```go package main

import (

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

)

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

```

### Configuration for Lambda Alias

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lambda.NewAlias(ctx, "example", &lambda.AliasArgs{
			Name:            pulumi.String("production"),
			Description:     pulumi.String("Production alias"),
			FunctionName:    pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			FunctionVersion: pulumi.Any(exampleAwsLambdaFunction.Version),
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName:             pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			Qualifier:                example.Name,
			MaximumEventAgeInSeconds: pulumi.Int(1800),
			MaximumRetryAttempts:     pulumi.Int(2),
			DestinationConfig: &lambda.FunctionEventInvokeConfigDestinationConfigArgs{
				OnFailure: &lambda.FunctionEventInvokeConfigDestinationConfigOnFailureArgs{
					Destination: pulumi.Any(productionDlq.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Configuration for Published Version

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName:             pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			Qualifier:                pulumi.Any(exampleAwsLambdaFunction.Version),
			MaximumEventAgeInSeconds: pulumi.Int(21600),
			MaximumRetryAttempts:     pulumi.Int(2),
			DestinationConfig: &lambda.FunctionEventInvokeConfigDestinationConfigArgs{
				OnFailure: &lambda.FunctionEventInvokeConfigDestinationConfigOnFailureArgs{
					Destination: pulumi.Any(versionDlq.Arn),
				},
				OnSuccess: &lambda.FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{
					Destination: pulumi.Any(versionSuccess.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Configuration for Latest Version

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName:             pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			Qualifier:                pulumi.String("$LATEST"),
			MaximumEventAgeInSeconds: pulumi.Int(120),
			MaximumRetryAttempts:     pulumi.Int(0),
			DestinationConfig: &lambda.FunctionEventInvokeConfigDestinationConfigArgs{
				OnFailure: &lambda.FunctionEventInvokeConfigDestinationConfigOnFailureArgs{
					Destination: pulumi.Any(devDlq.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Multiple Destination Types

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// S3 bucket for archiving successful events
		lambdaSuccessArchive, err := s3.NewBucket(ctx, "lambda_success_archive", &s3.BucketArgs{
			Bucket: pulumi.Sprintf("lambda-success-archive-%v", bucketSuffix.Hex),
		})
		if err != nil {
			return err
		}
		// EventBridge custom bus for failed events
		lambdaFailures, err := cloudwatch.NewEventBus(ctx, "lambda_failures", &cloudwatch.EventBusArgs{
			Name: pulumi.String("lambda-failure-events"),
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewFunctionEventInvokeConfig(ctx, "example", &lambda.FunctionEventInvokeConfigArgs{
			FunctionName: pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			DestinationConfig: &lambda.FunctionEventInvokeConfigDestinationConfigArgs{
				OnFailure: &lambda.FunctionEventInvokeConfigDestinationConfigOnFailureArgs{
					Destination: lambdaFailures.Arn,
				},
				OnSuccess: &lambda.FunctionEventInvokeConfigDestinationConfigOnSuccessArgs{
					Destination: lambdaSuccessArchive.Arn,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ARN with qualifier:

Name without qualifier (all versions and aliases):

Name with qualifier:

For backwards compatibility, the following legacy `pulumi import` commands are also supported:

Using ARN without qualifier:

```sh $ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example arn:aws:lambda:us-east-1:123456789012:function:example ``` Using ARN with qualifier:

```sh $ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example arn:aws:lambda:us-east-1:123456789012:function:example:production ``` Name without qualifier (all versions and aliases):

```sh $ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example example ``` Name with qualifier:

```sh $ pulumi import aws:lambda/functionEventInvokeConfig:FunctionEventInvokeConfig example example: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

func (*FunctionEventInvokeConfig) ElementType() reflect.Type

func (*FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutput

func (i *FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput

func (*FunctionEventInvokeConfig) ToFunctionEventInvokeConfigOutputWithContext

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

type FunctionEventInvokeConfigArgs

type FunctionEventInvokeConfigArgs struct {
	// Configuration block with destination configuration. See below.
	DestinationConfig FunctionEventInvokeConfigDestinationConfigPtrInput
	// Name or ARN of the Lambda Function, omitting any version or alias qualifier.
	//
	// The following arguments are optional:
	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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a FunctionEventInvokeConfig resource.

func (FunctionEventInvokeConfigArgs) ElementType

type FunctionEventInvokeConfigArray

type FunctionEventInvokeConfigArray []FunctionEventInvokeConfigInput

func (FunctionEventInvokeConfigArray) ElementType

func (FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutput

func (i FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutput() FunctionEventInvokeConfigArrayOutput

func (FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutputWithContext

func (i FunctionEventInvokeConfigArray) ToFunctionEventInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionEventInvokeConfigArrayOutput

type FunctionEventInvokeConfigArrayInput

type FunctionEventInvokeConfigArrayInput interface {
	pulumi.Input

	ToFunctionEventInvokeConfigArrayOutput() FunctionEventInvokeConfigArrayOutput
	ToFunctionEventInvokeConfigArrayOutputWithContext(context.Context) FunctionEventInvokeConfigArrayOutput
}

FunctionEventInvokeConfigArrayInput is an input type that accepts FunctionEventInvokeConfigArray and FunctionEventInvokeConfigArrayOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigArrayInput` via:

FunctionEventInvokeConfigArray{ FunctionEventInvokeConfigArgs{...} }

type FunctionEventInvokeConfigArrayOutput

type FunctionEventInvokeConfigArrayOutput struct{ *pulumi.OutputState }

func (FunctionEventInvokeConfigArrayOutput) ElementType

func (FunctionEventInvokeConfigArrayOutput) Index

func (FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutput

func (o FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutput() FunctionEventInvokeConfigArrayOutput

func (FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutputWithContext

func (o FunctionEventInvokeConfigArrayOutput) ToFunctionEventInvokeConfigArrayOutputWithContext(ctx context.Context) FunctionEventInvokeConfigArrayOutput

type FunctionEventInvokeConfigDestinationConfig

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

type FunctionEventInvokeConfigDestinationConfigArgs

type FunctionEventInvokeConfigDestinationConfigArgs struct {
	// Configuration block with destination configuration for failed asynchronous invocations. See below.
	OnFailure FunctionEventInvokeConfigDestinationConfigOnFailurePtrInput `pulumi:"onFailure"`
	// Configuration block with destination configuration for successful asynchronous invocations. See below.
	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 {
	// 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 {
	// 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

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

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 {
	// 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 {
	// 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

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

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.

func (FunctionEventInvokeConfigDestinationConfigOutput) OnSuccess

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

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.

func (FunctionEventInvokeConfigDestinationConfigPtrOutput) OnSuccess

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

func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput

func (o FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutput() FunctionEventInvokeConfigDestinationConfigPtrOutput

func (FunctionEventInvokeConfigDestinationConfigPtrOutput) ToFunctionEventInvokeConfigDestinationConfigPtrOutputWithContext

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

type FunctionEventInvokeConfigInput

type FunctionEventInvokeConfigInput interface {
	pulumi.Input

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

type FunctionEventInvokeConfigMap

type FunctionEventInvokeConfigMap map[string]FunctionEventInvokeConfigInput

func (FunctionEventInvokeConfigMap) ElementType

func (FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutput

func (i FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutput() FunctionEventInvokeConfigMapOutput

func (FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutputWithContext

func (i FunctionEventInvokeConfigMap) ToFunctionEventInvokeConfigMapOutputWithContext(ctx context.Context) FunctionEventInvokeConfigMapOutput

type FunctionEventInvokeConfigMapInput

type FunctionEventInvokeConfigMapInput interface {
	pulumi.Input

	ToFunctionEventInvokeConfigMapOutput() FunctionEventInvokeConfigMapOutput
	ToFunctionEventInvokeConfigMapOutputWithContext(context.Context) FunctionEventInvokeConfigMapOutput
}

FunctionEventInvokeConfigMapInput is an input type that accepts FunctionEventInvokeConfigMap and FunctionEventInvokeConfigMapOutput values. You can construct a concrete instance of `FunctionEventInvokeConfigMapInput` via:

FunctionEventInvokeConfigMap{ "key": FunctionEventInvokeConfigArgs{...} }

type FunctionEventInvokeConfigMapOutput

type FunctionEventInvokeConfigMapOutput struct{ *pulumi.OutputState }

func (FunctionEventInvokeConfigMapOutput) ElementType

func (FunctionEventInvokeConfigMapOutput) MapIndex

func (FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutput

func (o FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutput() FunctionEventInvokeConfigMapOutput

func (FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutputWithContext

func (o FunctionEventInvokeConfigMapOutput) ToFunctionEventInvokeConfigMapOutputWithContext(ctx context.Context) FunctionEventInvokeConfigMapOutput

type FunctionEventInvokeConfigOutput

type FunctionEventInvokeConfigOutput struct{ *pulumi.OutputState }

func (FunctionEventInvokeConfigOutput) DestinationConfig

Configuration block with destination configuration. See below.

func (FunctionEventInvokeConfigOutput) ElementType

func (FunctionEventInvokeConfigOutput) FunctionName

Name or ARN of the Lambda Function, omitting any version or alias qualifier.

The following arguments are optional:

func (FunctionEventInvokeConfigOutput) MaximumEventAgeInSeconds

func (o FunctionEventInvokeConfigOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput

Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600.

func (FunctionEventInvokeConfigOutput) MaximumRetryAttempts

func (o FunctionEventInvokeConfigOutput) MaximumRetryAttempts() pulumi.IntPtrOutput

Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2.

func (FunctionEventInvokeConfigOutput) Qualifier

Lambda Function published version, `$LATEST`, or Lambda Alias name.

func (FunctionEventInvokeConfigOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutput

func (o FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutput() FunctionEventInvokeConfigOutput

func (FunctionEventInvokeConfigOutput) ToFunctionEventInvokeConfigOutputWithContext

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

type FunctionEventInvokeConfigState

type FunctionEventInvokeConfigState struct {
	// Configuration block with destination configuration. See below.
	DestinationConfig FunctionEventInvokeConfigDestinationConfigPtrInput
	// Name or ARN of the Lambda Function, omitting any version or alias qualifier.
	//
	// The following arguments are optional:
	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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

func (FunctionEventInvokeConfigState) ElementType

type FunctionFileSystemConfig

type FunctionFileSystemConfig struct {
	// ARN of the Amazon EFS Access Point.
	Arn string `pulumi:"arn"`
	// Path where the function can access the file system. Must start with `/mnt/`.
	LocalMountPath string `pulumi:"localMountPath"`
}

type FunctionFileSystemConfigArgs

type FunctionFileSystemConfigArgs struct {
	// ARN of the Amazon EFS Access Point.
	Arn pulumi.StringInput `pulumi:"arn"`
	// Path where the function can access the file system. Must start 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

ARN of the Amazon EFS Access Point.

func (FunctionFileSystemConfigOutput) ElementType

func (FunctionFileSystemConfigOutput) LocalMountPath

Path where the function can access the file system. Must start 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

ARN of the Amazon EFS Access Point.

func (FunctionFileSystemConfigPtrOutput) Elem

func (FunctionFileSystemConfigPtrOutput) ElementType

func (FunctionFileSystemConfigPtrOutput) LocalMountPath

Path where the function can access the file system. Must start with `/mnt/`.

func (FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutput

func (o FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutput() FunctionFileSystemConfigPtrOutput

func (FunctionFileSystemConfigPtrOutput) ToFunctionFileSystemConfigPtrOutputWithContext

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

type FunctionImageConfig

type FunctionImageConfig struct {
	// Parameters to pass to the container image.
	Commands []string `pulumi:"commands"`
	// Entry point to your application.
	EntryPoints []string `pulumi:"entryPoints"`
	// Working directory for the container image.
	WorkingDirectory *string `pulumi:"workingDirectory"`
}

type FunctionImageConfigArgs

type FunctionImageConfigArgs struct {
	// Parameters to pass to the container image.
	Commands pulumi.StringArrayInput `pulumi:"commands"`
	// Entry point to your application.
	EntryPoints pulumi.StringArrayInput `pulumi:"entryPoints"`
	// Working directory for the container image.
	WorkingDirectory pulumi.StringPtrInput `pulumi:"workingDirectory"`
}

func (FunctionImageConfigArgs) ElementType

func (FunctionImageConfigArgs) ElementType() reflect.Type

func (FunctionImageConfigArgs) ToFunctionImageConfigOutput

func (i FunctionImageConfigArgs) ToFunctionImageConfigOutput() FunctionImageConfigOutput

func (FunctionImageConfigArgs) ToFunctionImageConfigOutputWithContext

func (i FunctionImageConfigArgs) ToFunctionImageConfigOutputWithContext(ctx context.Context) FunctionImageConfigOutput

func (FunctionImageConfigArgs) ToFunctionImageConfigPtrOutput

func (i FunctionImageConfigArgs) ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput

func (FunctionImageConfigArgs) ToFunctionImageConfigPtrOutputWithContext

func (i FunctionImageConfigArgs) ToFunctionImageConfigPtrOutputWithContext(ctx context.Context) FunctionImageConfigPtrOutput

type FunctionImageConfigInput

type FunctionImageConfigInput interface {
	pulumi.Input

	ToFunctionImageConfigOutput() FunctionImageConfigOutput
	ToFunctionImageConfigOutputWithContext(context.Context) FunctionImageConfigOutput
}

FunctionImageConfigInput is an input type that accepts FunctionImageConfigArgs and FunctionImageConfigOutput values. You can construct a concrete instance of `FunctionImageConfigInput` via:

FunctionImageConfigArgs{...}

type FunctionImageConfigOutput

type FunctionImageConfigOutput struct{ *pulumi.OutputState }

func (FunctionImageConfigOutput) Commands

Parameters to pass to the container image.

func (FunctionImageConfigOutput) ElementType

func (FunctionImageConfigOutput) ElementType() reflect.Type

func (FunctionImageConfigOutput) EntryPoints

Entry point to your application.

func (FunctionImageConfigOutput) ToFunctionImageConfigOutput

func (o FunctionImageConfigOutput) ToFunctionImageConfigOutput() FunctionImageConfigOutput

func (FunctionImageConfigOutput) ToFunctionImageConfigOutputWithContext

func (o FunctionImageConfigOutput) ToFunctionImageConfigOutputWithContext(ctx context.Context) FunctionImageConfigOutput

func (FunctionImageConfigOutput) ToFunctionImageConfigPtrOutput

func (o FunctionImageConfigOutput) ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput

func (FunctionImageConfigOutput) ToFunctionImageConfigPtrOutputWithContext

func (o FunctionImageConfigOutput) ToFunctionImageConfigPtrOutputWithContext(ctx context.Context) FunctionImageConfigPtrOutput

func (FunctionImageConfigOutput) WorkingDirectory

func (o FunctionImageConfigOutput) WorkingDirectory() pulumi.StringPtrOutput

Working directory for the container image.

type FunctionImageConfigPtrInput

type FunctionImageConfigPtrInput interface {
	pulumi.Input

	ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput
	ToFunctionImageConfigPtrOutputWithContext(context.Context) FunctionImageConfigPtrOutput
}

FunctionImageConfigPtrInput is an input type that accepts FunctionImageConfigArgs, FunctionImageConfigPtr and FunctionImageConfigPtrOutput values. You can construct a concrete instance of `FunctionImageConfigPtrInput` via:

        FunctionImageConfigArgs{...}

or:

        nil

type FunctionImageConfigPtrOutput

type FunctionImageConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionImageConfigPtrOutput) Commands

Parameters to pass to the container image.

func (FunctionImageConfigPtrOutput) Elem

func (FunctionImageConfigPtrOutput) ElementType

func (FunctionImageConfigPtrOutput) EntryPoints

Entry point to your application.

func (FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutput

func (o FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutput() FunctionImageConfigPtrOutput

func (FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutputWithContext

func (o FunctionImageConfigPtrOutput) ToFunctionImageConfigPtrOutputWithContext(ctx context.Context) FunctionImageConfigPtrOutput

func (FunctionImageConfigPtrOutput) WorkingDirectory

Working directory for the container image.

type FunctionInput

type FunctionInput interface {
	pulumi.Input

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

type FunctionLoggingConfig

type FunctionLoggingConfig struct {
	// Detail level of application logs. Valid values: `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`.
	ApplicationLogLevel *string `pulumi:"applicationLogLevel"`
	// Log format. Valid values: `Text`, `JSON`.
	LogFormat string `pulumi:"logFormat"`
	// CloudWatch log group where logs are sent.
	LogGroup *string `pulumi:"logGroup"`
	// Detail level of Lambda platform logs. Valid values: `DEBUG`, `INFO`, `WARN`.
	SystemLogLevel *string `pulumi:"systemLogLevel"`
}

type FunctionLoggingConfigArgs

type FunctionLoggingConfigArgs struct {
	// Detail level of application logs. Valid values: `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`.
	ApplicationLogLevel pulumi.StringPtrInput `pulumi:"applicationLogLevel"`
	// Log format. Valid values: `Text`, `JSON`.
	LogFormat pulumi.StringInput `pulumi:"logFormat"`
	// CloudWatch log group where logs are sent.
	LogGroup pulumi.StringPtrInput `pulumi:"logGroup"`
	// Detail level of Lambda platform logs. Valid values: `DEBUG`, `INFO`, `WARN`.
	SystemLogLevel pulumi.StringPtrInput `pulumi:"systemLogLevel"`
}

func (FunctionLoggingConfigArgs) ElementType

func (FunctionLoggingConfigArgs) ElementType() reflect.Type

func (FunctionLoggingConfigArgs) ToFunctionLoggingConfigOutput

func (i FunctionLoggingConfigArgs) ToFunctionLoggingConfigOutput() FunctionLoggingConfigOutput

func (FunctionLoggingConfigArgs) ToFunctionLoggingConfigOutputWithContext

func (i FunctionLoggingConfigArgs) ToFunctionLoggingConfigOutputWithContext(ctx context.Context) FunctionLoggingConfigOutput

func (FunctionLoggingConfigArgs) ToFunctionLoggingConfigPtrOutput

func (i FunctionLoggingConfigArgs) ToFunctionLoggingConfigPtrOutput() FunctionLoggingConfigPtrOutput

func (FunctionLoggingConfigArgs) ToFunctionLoggingConfigPtrOutputWithContext

func (i FunctionLoggingConfigArgs) ToFunctionLoggingConfigPtrOutputWithContext(ctx context.Context) FunctionLoggingConfigPtrOutput

type FunctionLoggingConfigInput

type FunctionLoggingConfigInput interface {
	pulumi.Input

	ToFunctionLoggingConfigOutput() FunctionLoggingConfigOutput
	ToFunctionLoggingConfigOutputWithContext(context.Context) FunctionLoggingConfigOutput
}

FunctionLoggingConfigInput is an input type that accepts FunctionLoggingConfigArgs and FunctionLoggingConfigOutput values. You can construct a concrete instance of `FunctionLoggingConfigInput` via:

FunctionLoggingConfigArgs{...}

type FunctionLoggingConfigOutput

type FunctionLoggingConfigOutput struct{ *pulumi.OutputState }

func (FunctionLoggingConfigOutput) ApplicationLogLevel

func (o FunctionLoggingConfigOutput) ApplicationLogLevel() pulumi.StringPtrOutput

Detail level of application logs. Valid values: `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`.

func (FunctionLoggingConfigOutput) ElementType

func (FunctionLoggingConfigOutput) LogFormat

Log format. Valid values: `Text`, `JSON`.

func (FunctionLoggingConfigOutput) LogGroup

CloudWatch log group where logs are sent.

func (FunctionLoggingConfigOutput) SystemLogLevel

Detail level of Lambda platform logs. Valid values: `DEBUG`, `INFO`, `WARN`.

func (FunctionLoggingConfigOutput) ToFunctionLoggingConfigOutput

func (o FunctionLoggingConfigOutput) ToFunctionLoggingConfigOutput() FunctionLoggingConfigOutput

func (FunctionLoggingConfigOutput) ToFunctionLoggingConfigOutputWithContext

func (o FunctionLoggingConfigOutput) ToFunctionLoggingConfigOutputWithContext(ctx context.Context) FunctionLoggingConfigOutput

func (FunctionLoggingConfigOutput) ToFunctionLoggingConfigPtrOutput

func (o FunctionLoggingConfigOutput) ToFunctionLoggingConfigPtrOutput() FunctionLoggingConfigPtrOutput

func (FunctionLoggingConfigOutput) ToFunctionLoggingConfigPtrOutputWithContext

func (o FunctionLoggingConfigOutput) ToFunctionLoggingConfigPtrOutputWithContext(ctx context.Context) FunctionLoggingConfigPtrOutput

type FunctionLoggingConfigPtrInput

type FunctionLoggingConfigPtrInput interface {
	pulumi.Input

	ToFunctionLoggingConfigPtrOutput() FunctionLoggingConfigPtrOutput
	ToFunctionLoggingConfigPtrOutputWithContext(context.Context) FunctionLoggingConfigPtrOutput
}

FunctionLoggingConfigPtrInput is an input type that accepts FunctionLoggingConfigArgs, FunctionLoggingConfigPtr and FunctionLoggingConfigPtrOutput values. You can construct a concrete instance of `FunctionLoggingConfigPtrInput` via:

        FunctionLoggingConfigArgs{...}

or:

        nil

type FunctionLoggingConfigPtrOutput

type FunctionLoggingConfigPtrOutput struct{ *pulumi.OutputState }

func (FunctionLoggingConfigPtrOutput) ApplicationLogLevel

func (o FunctionLoggingConfigPtrOutput) ApplicationLogLevel() pulumi.StringPtrOutput

Detail level of application logs. Valid values: `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`.

func (FunctionLoggingConfigPtrOutput) Elem

func (FunctionLoggingConfigPtrOutput) ElementType

func (FunctionLoggingConfigPtrOutput) LogFormat

Log format. Valid values: `Text`, `JSON`.

func (FunctionLoggingConfigPtrOutput) LogGroup

CloudWatch log group where logs are sent.

func (FunctionLoggingConfigPtrOutput) SystemLogLevel

Detail level of Lambda platform logs. Valid values: `DEBUG`, `INFO`, `WARN`.

func (FunctionLoggingConfigPtrOutput) ToFunctionLoggingConfigPtrOutput

func (o FunctionLoggingConfigPtrOutput) ToFunctionLoggingConfigPtrOutput() FunctionLoggingConfigPtrOutput

func (FunctionLoggingConfigPtrOutput) ToFunctionLoggingConfigPtrOutputWithContext

func (o FunctionLoggingConfigPtrOutput) ToFunctionLoggingConfigPtrOutputWithContext(ctx context.Context) FunctionLoggingConfigPtrOutput

type FunctionMap

type FunctionMap map[string]FunctionInput

func (FunctionMap) ElementType

func (FunctionMap) ElementType() reflect.Type

func (FunctionMap) ToFunctionMapOutput

func (i FunctionMap) ToFunctionMapOutput() FunctionMapOutput

func (FunctionMap) ToFunctionMapOutputWithContext

func (i FunctionMap) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput

type FunctionMapInput

type FunctionMapInput interface {
	pulumi.Input

	ToFunctionMapOutput() FunctionMapOutput
	ToFunctionMapOutputWithContext(context.Context) FunctionMapOutput
}

FunctionMapInput is an input type that accepts FunctionMap and FunctionMapOutput values. You can construct a concrete instance of `FunctionMapInput` via:

FunctionMap{ "key": FunctionArgs{...} }

type FunctionMapOutput

type FunctionMapOutput struct{ *pulumi.OutputState }

func (FunctionMapOutput) ElementType

func (FunctionMapOutput) ElementType() reflect.Type

func (FunctionMapOutput) MapIndex

func (FunctionMapOutput) ToFunctionMapOutput

func (o FunctionMapOutput) ToFunctionMapOutput() FunctionMapOutput

func (FunctionMapOutput) ToFunctionMapOutputWithContext

func (o FunctionMapOutput) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput

type FunctionOutput

type FunctionOutput struct{ *pulumi.OutputState }

func (FunctionOutput) Architectures

func (o FunctionOutput) Architectures() pulumi.StringArrayOutput

Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stays the same.

func (FunctionOutput) Arn

ARN identifying your Lambda Function.

func (FunctionOutput) Code

Path to the function's deployment package within the local filesystem. Conflicts with `imageUri` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.

func (FunctionOutput) CodeSha256

func (o FunctionOutput) CodeSha256() pulumi.StringOutput

Base64-encoded representation of raw SHA-256 sum of the zip file.

func (FunctionOutput) CodeSigningConfigArn

func (o FunctionOutput) CodeSigningConfigArn() pulumi.StringPtrOutput

ARN of a code-signing configuration to enable code signing for this function.

func (FunctionOutput) DeadLetterConfig

Configuration block for dead letter queue. See below.

func (FunctionOutput) Description

func (o FunctionOutput) Description() pulumi.StringPtrOutput

Description of what your Lambda Function does.

func (FunctionOutput) ElementType

func (FunctionOutput) ElementType() reflect.Type

func (FunctionOutput) Environment

Configuration block for environment variables. See below.

func (FunctionOutput) EphemeralStorage

func (o FunctionOutput) EphemeralStorage() FunctionEphemeralStorageOutput

Amount of ephemeral storage (`/tmp`) to allocate for the Lambda Function. See below.

func (FunctionOutput) FileSystemConfig

Configuration block for EFS file system. See below.

func (FunctionOutput) Handler

Function entry point in your code. Required if `packageType` is `Zip`.

func (FunctionOutput) ImageConfig

Container image configuration values. See below.

func (FunctionOutput) ImageUri

func (o FunctionOutput) ImageUri() pulumi.StringPtrOutput

ECR image URI containing the function's deployment package. Conflicts with `filename` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.

func (FunctionOutput) InvokeArn

func (o FunctionOutput) InvokeArn() pulumi.StringOutput

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

func (FunctionOutput) KmsKeyArn

func (o FunctionOutput) KmsKeyArn() pulumi.StringPtrOutput

ARN of the AWS Key Management Service key used to encrypt environment variables. If not provided when environment variables are in use, AWS Lambda uses a default service key. If provided when environment variables are not in use, the AWS Lambda API does not save this configuration.

func (FunctionOutput) LastModified

func (o FunctionOutput) LastModified() pulumi.StringOutput

Date this resource was last modified.

func (FunctionOutput) Layers

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

func (FunctionOutput) LoggingConfig

func (o FunctionOutput) LoggingConfig() FunctionLoggingConfigOutput

Configuration block for advanced logging settings. See below.

func (FunctionOutput) MemorySize

func (o FunctionOutput) MemorySize() pulumi.IntPtrOutput

Amount of memory in MB your Lambda Function can use at runtime. Valid value between 128 MB to 10,240 MB (10 GB), in 1 MB increments. Defaults to 128.

func (FunctionOutput) Name

Unique name for your Lambda Function.

func (FunctionOutput) PackageType

func (o FunctionOutput) PackageType() pulumi.StringPtrOutput

Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`.

func (FunctionOutput) Publish

func (o FunctionOutput) Publish() pulumi.BoolPtrOutput

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

func (FunctionOutput) QualifiedArn

func (o FunctionOutput) QualifiedArn() pulumi.StringOutput

ARN identifying your Lambda Function Version (if versioning is enabled via `publish = true`).

func (FunctionOutput) QualifiedInvokeArn

func (o FunctionOutput) QualifiedInvokeArn() pulumi.StringOutput

Qualified ARN (ARN with lambda version number) to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`.

func (FunctionOutput) Region

func (o FunctionOutput) Region() pulumi.StringOutput

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (FunctionOutput) ReplaceSecurityGroupsOnDestroy

func (o FunctionOutput) ReplaceSecurityGroupsOnDestroy() pulumi.BoolPtrOutput

Whether to replace the security groups on the function's VPC configuration prior to destruction. Default is `false`.

func (FunctionOutput) ReplacementSecurityGroupIds

func (o FunctionOutput) ReplacementSecurityGroupIds() pulumi.StringArrayOutput

List of security group IDs to assign to the function's VPC configuration prior to destruction. Required if `replaceSecurityGroupsOnDestroy` is `true`.

func (FunctionOutput) ReservedConcurrentExecutions

func (o FunctionOutput) ReservedConcurrentExecutions() pulumi.IntPtrOutput

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`.

func (FunctionOutput) Role

ARN of the function's execution role. The role provides the function's identity and access to AWS services and resources.

The following arguments are optional:

func (FunctionOutput) Runtime

Identifier of the function's runtime. Required if `packageType` is `Zip`. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.

func (FunctionOutput) S3Bucket

func (o FunctionOutput) S3Bucket() pulumi.StringPtrOutput

S3 bucket location containing the function's deployment package. Conflicts with `filename` and `imageUri`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.

func (FunctionOutput) S3Key

S3 key of an object containing the function's deployment package. Required if `s3Bucket` is set.

func (FunctionOutput) S3ObjectVersion

func (o FunctionOutput) S3ObjectVersion() pulumi.StringPtrOutput

Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`.

func (FunctionOutput) SigningJobArn

func (o FunctionOutput) SigningJobArn() pulumi.StringOutput

ARN of the signing job.

func (FunctionOutput) SigningProfileVersionArn

func (o FunctionOutput) SigningProfileVersionArn() pulumi.StringOutput

ARN of the signing profile version.

func (FunctionOutput) SkipDestroy

func (o FunctionOutput) SkipDestroy() pulumi.BoolPtrOutput

Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.

func (FunctionOutput) SnapStart

Configuration block for snap start settings. See below.

func (FunctionOutput) SourceCodeHash

func (o FunctionOutput) SourceCodeHash() pulumi.StringOutput

Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.

func (FunctionOutput) SourceCodeSize

func (o FunctionOutput) SourceCodeSize() pulumi.IntOutput

Size in bytes of the function .zip file.

func (FunctionOutput) SourceKmsKeyArn added in v7.8.0

func (o FunctionOutput) SourceKmsKeyArn() pulumi.StringPtrOutput

ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package. Conflicts with `imageUri`.

func (FunctionOutput) Tags

Key-value map of tags for the Lambda function. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (FunctionOutput) TagsAll

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (FunctionOutput) Timeout

func (o FunctionOutput) Timeout() pulumi.IntPtrOutput

Amount of time your Lambda Function has to run in seconds. Defaults to 3. Valid between 1 and 900.

func (FunctionOutput) ToFunctionOutput

func (o FunctionOutput) ToFunctionOutput() FunctionOutput

func (FunctionOutput) ToFunctionOutputWithContext

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

func (FunctionOutput) TracingConfig

func (o FunctionOutput) TracingConfig() FunctionTracingConfigOutput

Configuration block for X-Ray tracing. See below.

func (FunctionOutput) Version

func (o FunctionOutput) Version() pulumi.StringOutput

Latest published version of your Lambda Function.

func (FunctionOutput) VpcConfig

Configuration block for VPC. See below.

type FunctionRecursionConfig

type FunctionRecursionConfig struct {
	pulumi.CustomResourceState

	// Name of the Lambda function.
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// Lambda function recursion configuration. Valid values are `Allow` or `Terminate`.
	//
	// The following arguments are optional:
	RecursiveLoop pulumi.StringOutput `pulumi:"recursiveLoop"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
}

Manages an AWS Lambda Function Recursion Config. Use this resource to control how Lambda handles recursive function invocations to prevent infinite loops.

> **Note:** Destruction of this resource will return the `recursiveLoop` configuration back to the default value of `Terminate`.

## Example Usage

### Allow Recursive Invocations

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Lambda function that may need to call itself
		example, err := lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("function.zip"),
			Name:    pulumi.String("recursive_processor"),
			Role:    pulumi.Any(lambdaRole.Arn),
			Handler: pulumi.String("index.handler"),
			Runtime: pulumi.String(lambda.RuntimePython3d12),
		})
		if err != nil {
			return err
		}
		// Allow the function to invoke itself recursively
		_, err = lambda.NewFunctionRecursionConfig(ctx, "example", &lambda.FunctionRecursionConfigArgs{
			FunctionName:  example.Name,
			RecursiveLoop: pulumi.String("Allow"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Production Safety Configuration

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Production function with recursion protection
		productionProcessor, err := lambda.NewFunction(ctx, "production_processor", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("processor.zip"),
			Name:    pulumi.String("production-data-processor"),
			Role:    pulumi.Any(lambdaRole.Arn),
			Handler: pulumi.String("app.handler"),
			Runtime: pulumi.String(lambda.RuntimeNodeJS20dX),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
				"Purpose":     pulumi.String("data-processing"),
			},
		})
		if err != nil {
			return err
		}
		// Prevent infinite loops in production
		_, err = lambda.NewFunctionRecursionConfig(ctx, "example", &lambda.FunctionRecursionConfigArgs{
			FunctionName:  productionProcessor.Name,
			RecursiveLoop: pulumi.String("Terminate"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For backwards compatibility, the following legacy `pulumi import` command is also supported:

```sh $ pulumi import aws:lambda/functionRecursionConfig:FunctionRecursionConfig example recursive_processor ```

func GetFunctionRecursionConfig

func GetFunctionRecursionConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionRecursionConfigState, opts ...pulumi.ResourceOption) (*FunctionRecursionConfig, error)

GetFunctionRecursionConfig gets an existing FunctionRecursionConfig 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 NewFunctionRecursionConfig

func NewFunctionRecursionConfig(ctx *pulumi.Context,
	name string, args *FunctionRecursionConfigArgs, opts ...pulumi.ResourceOption) (*FunctionRecursionConfig, error)

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

func (*FunctionRecursionConfig) ElementType

func (*FunctionRecursionConfig) ElementType() reflect.Type

func (*FunctionRecursionConfig) ToFunctionRecursionConfigOutput

func (i *FunctionRecursionConfig) ToFunctionRecursionConfigOutput() FunctionRecursionConfigOutput

func (*FunctionRecursionConfig) ToFunctionRecursionConfigOutputWithContext

func (i *FunctionRecursionConfig) ToFunctionRecursionConfigOutputWithContext(ctx context.Context) FunctionRecursionConfigOutput

type FunctionRecursionConfigArgs

type FunctionRecursionConfigArgs struct {
	// Name of the Lambda function.
	FunctionName pulumi.StringInput
	// Lambda function recursion configuration. Valid values are `Allow` or `Terminate`.
	//
	// The following arguments are optional:
	RecursiveLoop pulumi.StringInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a FunctionRecursionConfig resource.

func (FunctionRecursionConfigArgs) ElementType

type FunctionRecursionConfigArray

type FunctionRecursionConfigArray []FunctionRecursionConfigInput

func (FunctionRecursionConfigArray) ElementType

func (FunctionRecursionConfigArray) ToFunctionRecursionConfigArrayOutput

func (i FunctionRecursionConfigArray) ToFunctionRecursionConfigArrayOutput() FunctionRecursionConfigArrayOutput

func (FunctionRecursionConfigArray) ToFunctionRecursionConfigArrayOutputWithContext

func (i FunctionRecursionConfigArray) ToFunctionRecursionConfigArrayOutputWithContext(ctx context.Context) FunctionRecursionConfigArrayOutput

type FunctionRecursionConfigArrayInput

type FunctionRecursionConfigArrayInput interface {
	pulumi.Input

	ToFunctionRecursionConfigArrayOutput() FunctionRecursionConfigArrayOutput
	ToFunctionRecursionConfigArrayOutputWithContext(context.Context) FunctionRecursionConfigArrayOutput
}

FunctionRecursionConfigArrayInput is an input type that accepts FunctionRecursionConfigArray and FunctionRecursionConfigArrayOutput values. You can construct a concrete instance of `FunctionRecursionConfigArrayInput` via:

FunctionRecursionConfigArray{ FunctionRecursionConfigArgs{...} }

type FunctionRecursionConfigArrayOutput

type FunctionRecursionConfigArrayOutput struct{ *pulumi.OutputState }

func (FunctionRecursionConfigArrayOutput) ElementType

func (FunctionRecursionConfigArrayOutput) Index

func (FunctionRecursionConfigArrayOutput) ToFunctionRecursionConfigArrayOutput

func (o FunctionRecursionConfigArrayOutput) ToFunctionRecursionConfigArrayOutput() FunctionRecursionConfigArrayOutput

func (FunctionRecursionConfigArrayOutput) ToFunctionRecursionConfigArrayOutputWithContext

func (o FunctionRecursionConfigArrayOutput) ToFunctionRecursionConfigArrayOutputWithContext(ctx context.Context) FunctionRecursionConfigArrayOutput

type FunctionRecursionConfigInput

type FunctionRecursionConfigInput interface {
	pulumi.Input

	ToFunctionRecursionConfigOutput() FunctionRecursionConfigOutput
	ToFunctionRecursionConfigOutputWithContext(ctx context.Context) FunctionRecursionConfigOutput
}

type FunctionRecursionConfigMap

type FunctionRecursionConfigMap map[string]FunctionRecursionConfigInput

func (FunctionRecursionConfigMap) ElementType

func (FunctionRecursionConfigMap) ElementType() reflect.Type

func (FunctionRecursionConfigMap) ToFunctionRecursionConfigMapOutput

func (i FunctionRecursionConfigMap) ToFunctionRecursionConfigMapOutput() FunctionRecursionConfigMapOutput

func (FunctionRecursionConfigMap) ToFunctionRecursionConfigMapOutputWithContext

func (i FunctionRecursionConfigMap) ToFunctionRecursionConfigMapOutputWithContext(ctx context.Context) FunctionRecursionConfigMapOutput

type FunctionRecursionConfigMapInput

type FunctionRecursionConfigMapInput interface {
	pulumi.Input

	ToFunctionRecursionConfigMapOutput() FunctionRecursionConfigMapOutput
	ToFunctionRecursionConfigMapOutputWithContext(context.Context) FunctionRecursionConfigMapOutput
}

FunctionRecursionConfigMapInput is an input type that accepts FunctionRecursionConfigMap and FunctionRecursionConfigMapOutput values. You can construct a concrete instance of `FunctionRecursionConfigMapInput` via:

FunctionRecursionConfigMap{ "key": FunctionRecursionConfigArgs{...} }

type FunctionRecursionConfigMapOutput

type FunctionRecursionConfigMapOutput struct{ *pulumi.OutputState }

func (FunctionRecursionConfigMapOutput) ElementType

func (FunctionRecursionConfigMapOutput) MapIndex

func (FunctionRecursionConfigMapOutput) ToFunctionRecursionConfigMapOutput

func (o FunctionRecursionConfigMapOutput) ToFunctionRecursionConfigMapOutput() FunctionRecursionConfigMapOutput

func (FunctionRecursionConfigMapOutput) ToFunctionRecursionConfigMapOutputWithContext

func (o FunctionRecursionConfigMapOutput) ToFunctionRecursionConfigMapOutputWithContext(ctx context.Context) FunctionRecursionConfigMapOutput

type FunctionRecursionConfigOutput

type FunctionRecursionConfigOutput struct{ *pulumi.OutputState }

func (FunctionRecursionConfigOutput) ElementType

func (FunctionRecursionConfigOutput) FunctionName

Name of the Lambda function.

func (FunctionRecursionConfigOutput) RecursiveLoop

Lambda function recursion configuration. Valid values are `Allow` or `Terminate`.

The following arguments are optional:

func (FunctionRecursionConfigOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (FunctionRecursionConfigOutput) ToFunctionRecursionConfigOutput

func (o FunctionRecursionConfigOutput) ToFunctionRecursionConfigOutput() FunctionRecursionConfigOutput

func (FunctionRecursionConfigOutput) ToFunctionRecursionConfigOutputWithContext

func (o FunctionRecursionConfigOutput) ToFunctionRecursionConfigOutputWithContext(ctx context.Context) FunctionRecursionConfigOutput

type FunctionRecursionConfigState

type FunctionRecursionConfigState struct {
	// Name of the Lambda function.
	FunctionName pulumi.StringPtrInput
	// Lambda function recursion configuration. Valid values are `Allow` or `Terminate`.
	//
	// The following arguments are optional:
	RecursiveLoop pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

func (FunctionRecursionConfigState) ElementType

type FunctionSnapStart

type FunctionSnapStart struct {
	// When to apply snap start optimization. Valid value: `PublishedVersions`.
	ApplyOn string `pulumi:"applyOn"`
	// Optimization status of the snap start configuration. Valid values are `On` and `Off`.
	OptimizationStatus *string `pulumi:"optimizationStatus"`
}

type FunctionSnapStartArgs

type FunctionSnapStartArgs struct {
	// When to apply snap start optimization. Valid value: `PublishedVersions`.
	ApplyOn pulumi.StringInput `pulumi:"applyOn"`
	// Optimization status of the snap start configuration. Valid values are `On` and `Off`.
	OptimizationStatus pulumi.StringPtrInput `pulumi:"optimizationStatus"`
}

func (FunctionSnapStartArgs) ElementType

func (FunctionSnapStartArgs) ElementType() reflect.Type

func (FunctionSnapStartArgs) ToFunctionSnapStartOutput

func (i FunctionSnapStartArgs) ToFunctionSnapStartOutput() FunctionSnapStartOutput

func (FunctionSnapStartArgs) ToFunctionSnapStartOutputWithContext

func (i FunctionSnapStartArgs) ToFunctionSnapStartOutputWithContext(ctx context.Context) FunctionSnapStartOutput

func (FunctionSnapStartArgs) ToFunctionSnapStartPtrOutput

func (i FunctionSnapStartArgs) ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput

func (FunctionSnapStartArgs) ToFunctionSnapStartPtrOutputWithContext

func (i FunctionSnapStartArgs) ToFunctionSnapStartPtrOutputWithContext(ctx context.Context) FunctionSnapStartPtrOutput

type FunctionSnapStartInput

type FunctionSnapStartInput interface {
	pulumi.Input

	ToFunctionSnapStartOutput() FunctionSnapStartOutput
	ToFunctionSnapStartOutputWithContext(context.Context) FunctionSnapStartOutput
}

FunctionSnapStartInput is an input type that accepts FunctionSnapStartArgs and FunctionSnapStartOutput values. You can construct a concrete instance of `FunctionSnapStartInput` via:

FunctionSnapStartArgs{...}

type FunctionSnapStartOutput

type FunctionSnapStartOutput struct{ *pulumi.OutputState }

func (FunctionSnapStartOutput) ApplyOn

When to apply snap start optimization. Valid value: `PublishedVersions`.

func (FunctionSnapStartOutput) ElementType

func (FunctionSnapStartOutput) ElementType() reflect.Type

func (FunctionSnapStartOutput) OptimizationStatus

func (o FunctionSnapStartOutput) OptimizationStatus() pulumi.StringPtrOutput

Optimization status of the snap start configuration. Valid values are `On` and `Off`.

func (FunctionSnapStartOutput) ToFunctionSnapStartOutput

func (o FunctionSnapStartOutput) ToFunctionSnapStartOutput() FunctionSnapStartOutput

func (FunctionSnapStartOutput) ToFunctionSnapStartOutputWithContext

func (o FunctionSnapStartOutput) ToFunctionSnapStartOutputWithContext(ctx context.Context) FunctionSnapStartOutput

func (FunctionSnapStartOutput) ToFunctionSnapStartPtrOutput

func (o FunctionSnapStartOutput) ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput

func (FunctionSnapStartOutput) ToFunctionSnapStartPtrOutputWithContext

func (o FunctionSnapStartOutput) ToFunctionSnapStartPtrOutputWithContext(ctx context.Context) FunctionSnapStartPtrOutput

type FunctionSnapStartPtrInput

type FunctionSnapStartPtrInput interface {
	pulumi.Input

	ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput
	ToFunctionSnapStartPtrOutputWithContext(context.Context) FunctionSnapStartPtrOutput
}

FunctionSnapStartPtrInput is an input type that accepts FunctionSnapStartArgs, FunctionSnapStartPtr and FunctionSnapStartPtrOutput values. You can construct a concrete instance of `FunctionSnapStartPtrInput` via:

        FunctionSnapStartArgs{...}

or:

        nil

type FunctionSnapStartPtrOutput

type FunctionSnapStartPtrOutput struct{ *pulumi.OutputState }

func (FunctionSnapStartPtrOutput) ApplyOn

When to apply snap start optimization. Valid value: `PublishedVersions`.

func (FunctionSnapStartPtrOutput) Elem

func (FunctionSnapStartPtrOutput) ElementType

func (FunctionSnapStartPtrOutput) ElementType() reflect.Type

func (FunctionSnapStartPtrOutput) OptimizationStatus

func (o FunctionSnapStartPtrOutput) OptimizationStatus() pulumi.StringPtrOutput

Optimization status of the snap start configuration. Valid values are `On` and `Off`.

func (FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutput

func (o FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutput() FunctionSnapStartPtrOutput

func (FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutputWithContext

func (o FunctionSnapStartPtrOutput) ToFunctionSnapStartPtrOutputWithContext(ctx context.Context) FunctionSnapStartPtrOutput

type FunctionState

type FunctionState struct {
	// Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stays the same.
	Architectures pulumi.StringArrayInput
	// ARN identifying your Lambda Function.
	Arn pulumi.StringPtrInput
	// Path to the function's deployment package within the local filesystem. Conflicts with `imageUri` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
	Code pulumi.ArchiveInput
	// Base64-encoded representation of raw SHA-256 sum of the zip file.
	CodeSha256 pulumi.StringPtrInput
	// ARN of a code-signing configuration to enable code signing for this function.
	CodeSigningConfigArn pulumi.StringPtrInput
	// Configuration block for dead letter queue. See below.
	DeadLetterConfig FunctionDeadLetterConfigPtrInput
	// Description of what your Lambda Function does.
	Description pulumi.StringPtrInput
	// Configuration block for environment variables. See below.
	Environment FunctionEnvironmentPtrInput
	// Amount of ephemeral storage (`/tmp`) to allocate for the Lambda Function. See below.
	EphemeralStorage FunctionEphemeralStoragePtrInput
	// Configuration block for EFS file system. See below.
	FileSystemConfig FunctionFileSystemConfigPtrInput
	// Function entry point in your code. Required if `packageType` is `Zip`.
	Handler pulumi.StringPtrInput
	// Container image configuration values. See below.
	ImageConfig FunctionImageConfigPtrInput
	// ECR image URI containing the function's deployment package. Conflicts with `filename` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
	ImageUri pulumi.StringPtrInput
	// ARN to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`.
	InvokeArn pulumi.StringPtrInput
	// ARN of the AWS Key Management Service key used to encrypt environment variables. If not provided when environment variables are in use, AWS Lambda uses a default service key. If provided when environment variables are not in use, the AWS Lambda API does not save this configuration.
	KmsKeyArn pulumi.StringPtrInput
	// Date this resource was last modified.
	LastModified pulumi.StringPtrInput
	// List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function.
	Layers pulumi.StringArrayInput
	// Configuration block for advanced logging settings. See below.
	LoggingConfig FunctionLoggingConfigPtrInput
	// Amount of memory in MB your Lambda Function can use at runtime. Valid value between 128 MB to 10,240 MB (10 GB), in 1 MB increments. Defaults to 128.
	MemorySize pulumi.IntPtrInput
	// Unique name for your Lambda Function.
	Name pulumi.StringPtrInput
	// Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`.
	PackageType pulumi.StringPtrInput
	// Whether to publish creation/change as new Lambda Function Version. Defaults to `false`.
	Publish pulumi.BoolPtrInput
	// ARN identifying your Lambda Function Version (if versioning is enabled via `publish = true`).
	QualifiedArn pulumi.StringPtrInput
	// Qualified ARN (ARN with lambda version number) to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`.
	QualifiedInvokeArn pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Whether to replace the security groups on the function's VPC configuration prior to destruction. Default is `false`.
	ReplaceSecurityGroupsOnDestroy pulumi.BoolPtrInput
	// List of security group IDs to assign to the function's VPC configuration prior to destruction. Required if `replaceSecurityGroupsOnDestroy` is `true`.
	ReplacementSecurityGroupIds pulumi.StringArrayInput
	// 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`.
	ReservedConcurrentExecutions pulumi.IntPtrInput
	// ARN of the function's execution role. The role provides the function's identity and access to AWS services and resources.
	//
	// The following arguments are optional:
	Role pulumi.StringPtrInput
	// Identifier of the function's runtime. Required if `packageType` is `Zip`. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
	Runtime pulumi.StringPtrInput
	// S3 bucket location containing the function's deployment package. Conflicts with `filename` and `imageUri`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
	S3Bucket pulumi.StringPtrInput
	// S3 key of an object containing the function's deployment package. Required if `s3Bucket` is set.
	S3Key pulumi.StringPtrInput
	// Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`.
	S3ObjectVersion pulumi.StringPtrInput
	// ARN of the signing job.
	SigningJobArn pulumi.StringPtrInput
	// ARN of the signing profile version.
	SigningProfileVersionArn pulumi.StringPtrInput
	// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.
	SkipDestroy pulumi.BoolPtrInput
	// Configuration block for snap start settings. See below.
	SnapStart FunctionSnapStartPtrInput
	// Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
	SourceCodeHash pulumi.StringPtrInput
	// Size in bytes of the function .zip file.
	SourceCodeSize pulumi.IntPtrInput
	// ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package. Conflicts with `imageUri`.
	SourceKmsKeyArn pulumi.StringPtrInput
	// Key-value map of tags for the Lambda function. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Amount of time your Lambda Function has to run in seconds. Defaults to 3. Valid between 1 and 900.
	Timeout pulumi.IntPtrInput
	// Configuration block for X-Ray tracing. See below.
	TracingConfig FunctionTracingConfigPtrInput
	// Latest published version of your Lambda Function.
	Version pulumi.StringPtrInput
	// Configuration block for VPC. See below.
	VpcConfig FunctionVpcConfigPtrInput
}

func (FunctionState) ElementType

func (FunctionState) ElementType() reflect.Type

type FunctionTracingConfig

type FunctionTracingConfig struct {
	// X-Ray tracing mode. Valid values: `Active`, `PassThrough`.
	Mode string `pulumi:"mode"`
}

type FunctionTracingConfigArgs

type FunctionTracingConfigArgs struct {
	// X-Ray tracing mode. Valid values: `Active`, `PassThrough`.
	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

X-Ray tracing mode. Valid values: `Active`, `PassThrough`.

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

X-Ray tracing mode. Valid values: `Active`, `PassThrough`.

func (FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutput

func (o FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutput() FunctionTracingConfigPtrOutput

func (FunctionTracingConfigPtrOutput) ToFunctionTracingConfigPtrOutputWithContext

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

type FunctionUrl

type FunctionUrl struct {
	pulumi.CustomResourceState

	// Type of authentication that the function URL uses. Valid values are `AWS_IAM` and `NONE`.
	AuthorizationType pulumi.StringOutput `pulumi:"authorizationType"`
	// Cross-origin resource sharing (CORS) settings for the function URL. See below.
	Cors FunctionUrlCorsPtrOutput `pulumi:"cors"`
	// ARN of the Lambda function.
	FunctionArn pulumi.StringOutput `pulumi:"functionArn"`
	// Name or ARN of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws/`.
	FunctionUrl pulumi.StringOutput `pulumi:"functionUrl"`
	// How the Lambda function responds to an invocation. Valid values are `BUFFERED` (default) and `RESPONSE_STREAM`.
	InvokeMode pulumi.StringPtrOutput `pulumi:"invokeMode"`
	// Alias name or `$LATEST`.
	Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// Generated ID for the endpoint.
	UrlId pulumi.StringOutput `pulumi:"urlId"`
}

Manages a Lambda function URL. Creates a dedicated HTTP(S) endpoint for a Lambda function to enable direct invocation via HTTP requests.

## Example Usage

### Basic Function URL with No Authentication

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionUrl(ctx, "example", &lambda.FunctionUrlArgs{
			FunctionName:      pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			AuthorizationType: pulumi.String("NONE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Function URL with IAM Authentication and CORS Configuration

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionUrl(ctx, "example", &lambda.FunctionUrlArgs{
			FunctionName:      pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			Qualifier:         pulumi.String("my_alias"),
			AuthorizationType: pulumi.String("AWS_IAM"),
			InvokeMode:        pulumi.String("RESPONSE_STREAM"),
			Cors: &lambda.FunctionUrlCorsArgs{
				AllowCredentials: pulumi.Bool(true),
				AllowOrigins: pulumi.StringArray{
					pulumi.String("https://example.com"),
				},
				AllowMethods: pulumi.StringArray{
					pulumi.String("GET"),
					pulumi.String("POST"),
				},
				AllowHeaders: pulumi.StringArray{
					pulumi.String("date"),
					pulumi.String("keep-alive"),
				},
				ExposeHeaders: pulumi.StringArray{
					pulumi.String("keep-alive"),
					pulumi.String("date"),
				},
				MaxAge: pulumi.Int(86400),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Lambda function URLs using the `function_name` or `function_name/qualifier`. For example:

```sh $ pulumi import aws:lambda/functionUrl:FunctionUrl example example ```

func GetFunctionUrl

func GetFunctionUrl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionUrlState, opts ...pulumi.ResourceOption) (*FunctionUrl, error)

GetFunctionUrl gets an existing FunctionUrl 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 NewFunctionUrl

func NewFunctionUrl(ctx *pulumi.Context,
	name string, args *FunctionUrlArgs, opts ...pulumi.ResourceOption) (*FunctionUrl, error)

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

func (*FunctionUrl) ElementType

func (*FunctionUrl) ElementType() reflect.Type

func (*FunctionUrl) ToFunctionUrlOutput

func (i *FunctionUrl) ToFunctionUrlOutput() FunctionUrlOutput

func (*FunctionUrl) ToFunctionUrlOutputWithContext

func (i *FunctionUrl) ToFunctionUrlOutputWithContext(ctx context.Context) FunctionUrlOutput

type FunctionUrlArgs

type FunctionUrlArgs struct {
	// Type of authentication that the function URL uses. Valid values are `AWS_IAM` and `NONE`.
	AuthorizationType pulumi.StringInput
	// Cross-origin resource sharing (CORS) settings for the function URL. See below.
	Cors FunctionUrlCorsPtrInput
	// Name or ARN of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringInput
	// How the Lambda function responds to an invocation. Valid values are `BUFFERED` (default) and `RESPONSE_STREAM`.
	InvokeMode pulumi.StringPtrInput
	// Alias name or `$LATEST`.
	Qualifier pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a FunctionUrl resource.

func (FunctionUrlArgs) ElementType

func (FunctionUrlArgs) ElementType() reflect.Type

type FunctionUrlArray

type FunctionUrlArray []FunctionUrlInput

func (FunctionUrlArray) ElementType

func (FunctionUrlArray) ElementType() reflect.Type

func (FunctionUrlArray) ToFunctionUrlArrayOutput

func (i FunctionUrlArray) ToFunctionUrlArrayOutput() FunctionUrlArrayOutput

func (FunctionUrlArray) ToFunctionUrlArrayOutputWithContext

func (i FunctionUrlArray) ToFunctionUrlArrayOutputWithContext(ctx context.Context) FunctionUrlArrayOutput

type FunctionUrlArrayInput

type FunctionUrlArrayInput interface {
	pulumi.Input

	ToFunctionUrlArrayOutput() FunctionUrlArrayOutput
	ToFunctionUrlArrayOutputWithContext(context.Context) FunctionUrlArrayOutput
}

FunctionUrlArrayInput is an input type that accepts FunctionUrlArray and FunctionUrlArrayOutput values. You can construct a concrete instance of `FunctionUrlArrayInput` via:

FunctionUrlArray{ FunctionUrlArgs{...} }

type FunctionUrlArrayOutput

type FunctionUrlArrayOutput struct{ *pulumi.OutputState }

func (FunctionUrlArrayOutput) ElementType

func (FunctionUrlArrayOutput) ElementType() reflect.Type

func (FunctionUrlArrayOutput) Index

func (FunctionUrlArrayOutput) ToFunctionUrlArrayOutput

func (o FunctionUrlArrayOutput) ToFunctionUrlArrayOutput() FunctionUrlArrayOutput

func (FunctionUrlArrayOutput) ToFunctionUrlArrayOutputWithContext

func (o FunctionUrlArrayOutput) ToFunctionUrlArrayOutputWithContext(ctx context.Context) FunctionUrlArrayOutput

type FunctionUrlCors

type FunctionUrlCors struct {
	// Whether to allow cookies or other credentials in requests to the function URL.
	AllowCredentials *bool `pulumi:"allowCredentials"`
	// HTTP headers that origins can include in requests to the function URL.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// HTTP methods that are allowed when calling the function URL.
	AllowMethods []string `pulumi:"allowMethods"`
	// Origins that can access the function URL.
	AllowOrigins []string `pulumi:"allowOrigins"`
	// HTTP headers in your function response that you want to expose to origins that call the function URL.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// Maximum amount of time, in seconds, that web browsers can cache results of a preflight request. Maximum value is `86400`.
	MaxAge *int `pulumi:"maxAge"`
}

type FunctionUrlCorsArgs

type FunctionUrlCorsArgs struct {
	// Whether to allow cookies or other credentials in requests to the function URL.
	AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"`
	// HTTP headers that origins can include in requests to the function URL.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// HTTP methods that are allowed when calling the function URL.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// Origins that can access the function URL.
	AllowOrigins pulumi.StringArrayInput `pulumi:"allowOrigins"`
	// HTTP headers in your function response that you want to expose to origins that call the function URL.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// Maximum amount of time, in seconds, that web browsers can cache results of a preflight request. Maximum value is `86400`.
	MaxAge pulumi.IntPtrInput `pulumi:"maxAge"`
}

func (FunctionUrlCorsArgs) ElementType

func (FunctionUrlCorsArgs) ElementType() reflect.Type

func (FunctionUrlCorsArgs) ToFunctionUrlCorsOutput

func (i FunctionUrlCorsArgs) ToFunctionUrlCorsOutput() FunctionUrlCorsOutput

func (FunctionUrlCorsArgs) ToFunctionUrlCorsOutputWithContext

func (i FunctionUrlCorsArgs) ToFunctionUrlCorsOutputWithContext(ctx context.Context) FunctionUrlCorsOutput

func (FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutput

func (i FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput

func (FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutputWithContext

func (i FunctionUrlCorsArgs) ToFunctionUrlCorsPtrOutputWithContext(ctx context.Context) FunctionUrlCorsPtrOutput

type FunctionUrlCorsInput

type FunctionUrlCorsInput interface {
	pulumi.Input

	ToFunctionUrlCorsOutput() FunctionUrlCorsOutput
	ToFunctionUrlCorsOutputWithContext(context.Context) FunctionUrlCorsOutput
}

FunctionUrlCorsInput is an input type that accepts FunctionUrlCorsArgs and FunctionUrlCorsOutput values. You can construct a concrete instance of `FunctionUrlCorsInput` via:

FunctionUrlCorsArgs{...}

type FunctionUrlCorsOutput

type FunctionUrlCorsOutput struct{ *pulumi.OutputState }

func (FunctionUrlCorsOutput) AllowCredentials

func (o FunctionUrlCorsOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether to allow cookies or other credentials in requests to the function URL.

func (FunctionUrlCorsOutput) AllowHeaders

HTTP headers that origins can include in requests to the function URL.

func (FunctionUrlCorsOutput) AllowMethods

HTTP methods that are allowed when calling the function URL.

func (FunctionUrlCorsOutput) AllowOrigins

Origins that can access the function URL.

func (FunctionUrlCorsOutput) ElementType

func (FunctionUrlCorsOutput) ElementType() reflect.Type

func (FunctionUrlCorsOutput) ExposeHeaders

HTTP headers in your function response that you want to expose to origins that call the function URL.

func (FunctionUrlCorsOutput) MaxAge

Maximum amount of time, in seconds, that web browsers can cache results of a preflight request. Maximum value is `86400`.

func (FunctionUrlCorsOutput) ToFunctionUrlCorsOutput

func (o FunctionUrlCorsOutput) ToFunctionUrlCorsOutput() FunctionUrlCorsOutput

func (FunctionUrlCorsOutput) ToFunctionUrlCorsOutputWithContext

func (o FunctionUrlCorsOutput) ToFunctionUrlCorsOutputWithContext(ctx context.Context) FunctionUrlCorsOutput

func (FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutput

func (o FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput

func (FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutputWithContext

func (o FunctionUrlCorsOutput) ToFunctionUrlCorsPtrOutputWithContext(ctx context.Context) FunctionUrlCorsPtrOutput

type FunctionUrlCorsPtrInput

type FunctionUrlCorsPtrInput interface {
	pulumi.Input

	ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput
	ToFunctionUrlCorsPtrOutputWithContext(context.Context) FunctionUrlCorsPtrOutput
}

FunctionUrlCorsPtrInput is an input type that accepts FunctionUrlCorsArgs, FunctionUrlCorsPtr and FunctionUrlCorsPtrOutput values. You can construct a concrete instance of `FunctionUrlCorsPtrInput` via:

        FunctionUrlCorsArgs{...}

or:

        nil

type FunctionUrlCorsPtrOutput

type FunctionUrlCorsPtrOutput struct{ *pulumi.OutputState }

func (FunctionUrlCorsPtrOutput) AllowCredentials

func (o FunctionUrlCorsPtrOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether to allow cookies or other credentials in requests to the function URL.

func (FunctionUrlCorsPtrOutput) AllowHeaders

HTTP headers that origins can include in requests to the function URL.

func (FunctionUrlCorsPtrOutput) AllowMethods

HTTP methods that are allowed when calling the function URL.

func (FunctionUrlCorsPtrOutput) AllowOrigins

Origins that can access the function URL.

func (FunctionUrlCorsPtrOutput) Elem

func (FunctionUrlCorsPtrOutput) ElementType

func (FunctionUrlCorsPtrOutput) ElementType() reflect.Type

func (FunctionUrlCorsPtrOutput) ExposeHeaders

HTTP headers in your function response that you want to expose to origins that call the function URL.

func (FunctionUrlCorsPtrOutput) MaxAge

Maximum amount of time, in seconds, that web browsers can cache results of a preflight request. Maximum value is `86400`.

func (FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutput

func (o FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutput() FunctionUrlCorsPtrOutput

func (FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutputWithContext

func (o FunctionUrlCorsPtrOutput) ToFunctionUrlCorsPtrOutputWithContext(ctx context.Context) FunctionUrlCorsPtrOutput

type FunctionUrlInput

type FunctionUrlInput interface {
	pulumi.Input

	ToFunctionUrlOutput() FunctionUrlOutput
	ToFunctionUrlOutputWithContext(ctx context.Context) FunctionUrlOutput
}

type FunctionUrlMap

type FunctionUrlMap map[string]FunctionUrlInput

func (FunctionUrlMap) ElementType

func (FunctionUrlMap) ElementType() reflect.Type

func (FunctionUrlMap) ToFunctionUrlMapOutput

func (i FunctionUrlMap) ToFunctionUrlMapOutput() FunctionUrlMapOutput

func (FunctionUrlMap) ToFunctionUrlMapOutputWithContext

func (i FunctionUrlMap) ToFunctionUrlMapOutputWithContext(ctx context.Context) FunctionUrlMapOutput

type FunctionUrlMapInput

type FunctionUrlMapInput interface {
	pulumi.Input

	ToFunctionUrlMapOutput() FunctionUrlMapOutput
	ToFunctionUrlMapOutputWithContext(context.Context) FunctionUrlMapOutput
}

FunctionUrlMapInput is an input type that accepts FunctionUrlMap and FunctionUrlMapOutput values. You can construct a concrete instance of `FunctionUrlMapInput` via:

FunctionUrlMap{ "key": FunctionUrlArgs{...} }

type FunctionUrlMapOutput

type FunctionUrlMapOutput struct{ *pulumi.OutputState }

func (FunctionUrlMapOutput) ElementType

func (FunctionUrlMapOutput) ElementType() reflect.Type

func (FunctionUrlMapOutput) MapIndex

func (FunctionUrlMapOutput) ToFunctionUrlMapOutput

func (o FunctionUrlMapOutput) ToFunctionUrlMapOutput() FunctionUrlMapOutput

func (FunctionUrlMapOutput) ToFunctionUrlMapOutputWithContext

func (o FunctionUrlMapOutput) ToFunctionUrlMapOutputWithContext(ctx context.Context) FunctionUrlMapOutput

type FunctionUrlOutput

type FunctionUrlOutput struct{ *pulumi.OutputState }

func (FunctionUrlOutput) AuthorizationType

func (o FunctionUrlOutput) AuthorizationType() pulumi.StringOutput

Type of authentication that the function URL uses. Valid values are `AWS_IAM` and `NONE`.

func (FunctionUrlOutput) Cors

Cross-origin resource sharing (CORS) settings for the function URL. See below.

func (FunctionUrlOutput) ElementType

func (FunctionUrlOutput) ElementType() reflect.Type

func (FunctionUrlOutput) FunctionArn

func (o FunctionUrlOutput) FunctionArn() pulumi.StringOutput

ARN of the Lambda function.

func (FunctionUrlOutput) FunctionName

func (o FunctionUrlOutput) FunctionName() pulumi.StringOutput

Name or ARN of the Lambda function.

The following arguments are optional:

func (FunctionUrlOutput) FunctionUrl

func (o FunctionUrlOutput) FunctionUrl() pulumi.StringOutput

HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws/`.

func (FunctionUrlOutput) InvokeMode

func (o FunctionUrlOutput) InvokeMode() pulumi.StringPtrOutput

How the Lambda function responds to an invocation. Valid values are `BUFFERED` (default) and `RESPONSE_STREAM`.

func (FunctionUrlOutput) Qualifier

Alias name or `$LATEST`.

func (FunctionUrlOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (FunctionUrlOutput) ToFunctionUrlOutput

func (o FunctionUrlOutput) ToFunctionUrlOutput() FunctionUrlOutput

func (FunctionUrlOutput) ToFunctionUrlOutputWithContext

func (o FunctionUrlOutput) ToFunctionUrlOutputWithContext(ctx context.Context) FunctionUrlOutput

func (FunctionUrlOutput) UrlId

Generated ID for the endpoint.

type FunctionUrlState

type FunctionUrlState struct {
	// Type of authentication that the function URL uses. Valid values are `AWS_IAM` and `NONE`.
	AuthorizationType pulumi.StringPtrInput
	// Cross-origin resource sharing (CORS) settings for the function URL. See below.
	Cors FunctionUrlCorsPtrInput
	// ARN of the Lambda function.
	FunctionArn pulumi.StringPtrInput
	// Name or ARN of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringPtrInput
	// HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws/`.
	FunctionUrl pulumi.StringPtrInput
	// How the Lambda function responds to an invocation. Valid values are `BUFFERED` (default) and `RESPONSE_STREAM`.
	InvokeMode pulumi.StringPtrInput
	// Alias name or `$LATEST`.
	Qualifier pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Generated ID for the endpoint.
	UrlId pulumi.StringPtrInput
}

func (FunctionUrlState) ElementType

func (FunctionUrlState) ElementType() reflect.Type

type FunctionVpcConfig

type FunctionVpcConfig struct {
	// Whether to allow outbound IPv6 traffic on VPC functions connected to dual-stack subnets. Default: `false`.
	Ipv6AllowedForDualStack *bool `pulumi:"ipv6AllowedForDualStack"`
	// List of security group IDs associated with the Lambda function.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// List of subnet IDs associated with the Lambda function.
	SubnetIds []string `pulumi:"subnetIds"`
	// ID of the VPC.
	VpcId *string `pulumi:"vpcId"`
}

type FunctionVpcConfigArgs

type FunctionVpcConfigArgs struct {
	// Whether to allow outbound IPv6 traffic on VPC functions connected to dual-stack subnets. Default: `false`.
	Ipv6AllowedForDualStack pulumi.BoolPtrInput `pulumi:"ipv6AllowedForDualStack"`
	// List of security group IDs associated with the Lambda function.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// List of subnet IDs associated with the Lambda function.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	// ID of the VPC.
	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) Ipv6AllowedForDualStack

func (o FunctionVpcConfigOutput) Ipv6AllowedForDualStack() pulumi.BoolPtrOutput

Whether to allow outbound IPv6 traffic on VPC functions connected to dual-stack subnets. Default: `false`.

func (FunctionVpcConfigOutput) SecurityGroupIds

func (o FunctionVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput

List of security group IDs associated with the Lambda function.

func (FunctionVpcConfigOutput) SubnetIds

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

ID of the VPC.

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) Ipv6AllowedForDualStack

func (o FunctionVpcConfigPtrOutput) Ipv6AllowedForDualStack() pulumi.BoolPtrOutput

Whether to allow outbound IPv6 traffic on VPC functions connected to dual-stack subnets. Default: `false`.

func (FunctionVpcConfigPtrOutput) SecurityGroupIds

List of security group IDs associated with the Lambda function.

func (FunctionVpcConfigPtrOutput) SubnetIds

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

ID of the VPC.

type GetCodeSigningConfigAllowedPublisher

type GetCodeSigningConfigAllowedPublisher struct {
	// Set of ARNs 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

type GetCodeSigningConfigAllowedPublisherArgs struct {
	// Set of ARNs 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

func (GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutput

func (i GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput

func (GetCodeSigningConfigAllowedPublisherArgs) ToGetCodeSigningConfigAllowedPublisherOutputWithContext

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

type GetCodeSigningConfigAllowedPublisherArray

type GetCodeSigningConfigAllowedPublisherArray []GetCodeSigningConfigAllowedPublisherInput

func (GetCodeSigningConfigAllowedPublisherArray) ElementType

func (GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutput

func (i GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput

func (GetCodeSigningConfigAllowedPublisherArray) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext

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

type GetCodeSigningConfigAllowedPublisherArrayInput

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

type GetCodeSigningConfigAllowedPublisherArrayOutput struct{ *pulumi.OutputState }

func (GetCodeSigningConfigAllowedPublisherArrayOutput) ElementType

func (GetCodeSigningConfigAllowedPublisherArrayOutput) Index

func (GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutput

func (o GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutput() GetCodeSigningConfigAllowedPublisherArrayOutput

func (GetCodeSigningConfigAllowedPublisherArrayOutput) ToGetCodeSigningConfigAllowedPublisherArrayOutputWithContext

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

type GetCodeSigningConfigAllowedPublisherInput

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

type GetCodeSigningConfigAllowedPublisherOutput struct{ *pulumi.OutputState }

func (GetCodeSigningConfigAllowedPublisherOutput) ElementType

func (GetCodeSigningConfigAllowedPublisherOutput) SigningProfileVersionArns

Set of ARNs for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.

func (GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutput

func (o GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutput() GetCodeSigningConfigAllowedPublisherOutput

func (GetCodeSigningConfigAllowedPublisherOutput) ToGetCodeSigningConfigAllowedPublisherOutputWithContext

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

type GetCodeSigningConfigPolicy

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

type GetCodeSigningConfigPolicyArgs

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

func (GetCodeSigningConfigPolicyArgs) ElementType

func (GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutput

func (i GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput

func (GetCodeSigningConfigPolicyArgs) ToGetCodeSigningConfigPolicyOutputWithContext

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

type GetCodeSigningConfigPolicyArray

type GetCodeSigningConfigPolicyArray []GetCodeSigningConfigPolicyInput

func (GetCodeSigningConfigPolicyArray) ElementType

func (GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutput

func (i GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput

func (GetCodeSigningConfigPolicyArray) ToGetCodeSigningConfigPolicyArrayOutputWithContext

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

type GetCodeSigningConfigPolicyArrayInput

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

type GetCodeSigningConfigPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetCodeSigningConfigPolicyArrayOutput) ElementType

func (GetCodeSigningConfigPolicyArrayOutput) Index

func (GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutput

func (o GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutput() GetCodeSigningConfigPolicyArrayOutput

func (GetCodeSigningConfigPolicyArrayOutput) ToGetCodeSigningConfigPolicyArrayOutputWithContext

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

type GetCodeSigningConfigPolicyInput

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

type GetCodeSigningConfigPolicyOutput struct{ *pulumi.OutputState }

func (GetCodeSigningConfigPolicyOutput) ElementType

func (GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutput

func (o GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutput() GetCodeSigningConfigPolicyOutput

func (GetCodeSigningConfigPolicyOutput) ToGetCodeSigningConfigPolicyOutputWithContext

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

func (GetCodeSigningConfigPolicyOutput) UntrustedArtifactOnDeployment

func (o GetCodeSigningConfigPolicyOutput) UntrustedArtifactOnDeployment() pulumi.StringOutput

Code signing configuration policy for deployment validation failure. Valid values: `Warn`, `Enforce`.

type GetFunctionDeadLetterConfig

type GetFunctionDeadLetterConfig struct {
	// ARN of an SNS topic or SQS queue to notify when an invocation fails.
	TargetArn string `pulumi:"targetArn"`
}

type GetFunctionDeadLetterConfigArgs

type GetFunctionDeadLetterConfigArgs struct {
	// ARN of an SNS topic or SQS queue to notify when an invocation fails.
	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

ARN of an SNS topic or SQS queue to notify when an invocation fails.

func (GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutput

func (o GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutput() GetFunctionDeadLetterConfigOutput

func (GetFunctionDeadLetterConfigOutput) ToGetFunctionDeadLetterConfigOutputWithContext

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

type GetFunctionEnvironment

type GetFunctionEnvironment struct {
	// Map of environment variables that are accessible from the function code during execution.
	Variables map[string]string `pulumi:"variables"`
}

type GetFunctionEnvironmentArgs

type GetFunctionEnvironmentArgs struct {
	// Map of environment variables that are accessible from the function code during execution.
	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

Map of environment variables that are accessible from the function code during execution.

type GetFunctionEphemeralStorage

type GetFunctionEphemeralStorage struct {
	// Size of the Lambda function ephemeral storage (`/tmp`) in MB.
	Size int `pulumi:"size"`
}

type GetFunctionEphemeralStorageArgs

type GetFunctionEphemeralStorageArgs struct {
	// Size of the Lambda function ephemeral storage (`/tmp`) in MB.
	Size pulumi.IntInput `pulumi:"size"`
}

func (GetFunctionEphemeralStorageArgs) ElementType

func (GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutput

func (i GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutput() GetFunctionEphemeralStorageOutput

func (GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutputWithContext

func (i GetFunctionEphemeralStorageArgs) ToGetFunctionEphemeralStorageOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageOutput

type GetFunctionEphemeralStorageArray

type GetFunctionEphemeralStorageArray []GetFunctionEphemeralStorageInput

func (GetFunctionEphemeralStorageArray) ElementType

func (GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutput

func (i GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutput() GetFunctionEphemeralStorageArrayOutput

func (GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutputWithContext

func (i GetFunctionEphemeralStorageArray) ToGetFunctionEphemeralStorageArrayOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageArrayOutput

type GetFunctionEphemeralStorageArrayInput

type GetFunctionEphemeralStorageArrayInput interface {
	pulumi.Input

	ToGetFunctionEphemeralStorageArrayOutput() GetFunctionEphemeralStorageArrayOutput
	ToGetFunctionEphemeralStorageArrayOutputWithContext(context.Context) GetFunctionEphemeralStorageArrayOutput
}

GetFunctionEphemeralStorageArrayInput is an input type that accepts GetFunctionEphemeralStorageArray and GetFunctionEphemeralStorageArrayOutput values. You can construct a concrete instance of `GetFunctionEphemeralStorageArrayInput` via:

GetFunctionEphemeralStorageArray{ GetFunctionEphemeralStorageArgs{...} }

type GetFunctionEphemeralStorageArrayOutput

type GetFunctionEphemeralStorageArrayOutput struct{ *pulumi.OutputState }

func (GetFunctionEphemeralStorageArrayOutput) ElementType

func (GetFunctionEphemeralStorageArrayOutput) Index

func (GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutput

func (o GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutput() GetFunctionEphemeralStorageArrayOutput

func (GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutputWithContext

func (o GetFunctionEphemeralStorageArrayOutput) ToGetFunctionEphemeralStorageArrayOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageArrayOutput

type GetFunctionEphemeralStorageInput

type GetFunctionEphemeralStorageInput interface {
	pulumi.Input

	ToGetFunctionEphemeralStorageOutput() GetFunctionEphemeralStorageOutput
	ToGetFunctionEphemeralStorageOutputWithContext(context.Context) GetFunctionEphemeralStorageOutput
}

GetFunctionEphemeralStorageInput is an input type that accepts GetFunctionEphemeralStorageArgs and GetFunctionEphemeralStorageOutput values. You can construct a concrete instance of `GetFunctionEphemeralStorageInput` via:

GetFunctionEphemeralStorageArgs{...}

type GetFunctionEphemeralStorageOutput

type GetFunctionEphemeralStorageOutput struct{ *pulumi.OutputState }

func (GetFunctionEphemeralStorageOutput) ElementType

func (GetFunctionEphemeralStorageOutput) Size

Size of the Lambda function ephemeral storage (`/tmp`) in MB.

func (GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutput

func (o GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutput() GetFunctionEphemeralStorageOutput

func (GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutputWithContext

func (o GetFunctionEphemeralStorageOutput) ToGetFunctionEphemeralStorageOutputWithContext(ctx context.Context) GetFunctionEphemeralStorageOutput

type GetFunctionFileSystemConfig

type GetFunctionFileSystemConfig struct {
	// ARN of the Amazon EFS Access Point that provides access to the file system.
	Arn string `pulumi:"arn"`
	// Path where the function can access the file system, starting with `/mnt/`.
	LocalMountPath string `pulumi:"localMountPath"`
}

type GetFunctionFileSystemConfigArgs

type GetFunctionFileSystemConfigArgs struct {
	// ARN of the Amazon EFS Access Point that provides access to the file system.
	Arn pulumi.StringInput `pulumi:"arn"`
	// Path where the function can access the file system, starting with `/mnt/`.
	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

ARN of the Amazon EFS Access Point that provides access to the file system.

func (GetFunctionFileSystemConfigOutput) ElementType

func (GetFunctionFileSystemConfigOutput) LocalMountPath

Path where the function can access the file system, starting with `/mnt/`.

func (GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutput

func (o GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutput() GetFunctionFileSystemConfigOutput

func (GetFunctionFileSystemConfigOutput) ToGetFunctionFileSystemConfigOutputWithContext

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

type GetFunctionLoggingConfig

type GetFunctionLoggingConfig struct {
	// Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
	ApplicationLogLevel string `pulumi:"applicationLogLevel"`
	// Format for your function's logs. Valid values: `Text`, `JSON`.
	LogFormat string `pulumi:"logFormat"`
	// CloudWatch log group your function sends logs to.
	LogGroup string `pulumi:"logGroup"`
	// Detail level of the Lambda platform event logs sent to CloudWatch.
	SystemLogLevel string `pulumi:"systemLogLevel"`
}

type GetFunctionLoggingConfigArgs

type GetFunctionLoggingConfigArgs struct {
	// Detail level of the logs your application sends to CloudWatch when using supported logging libraries.
	ApplicationLogLevel pulumi.StringInput `pulumi:"applicationLogLevel"`
	// Format for your function's logs. Valid values: `Text`, `JSON`.
	LogFormat pulumi.StringInput `pulumi:"logFormat"`
	// CloudWatch log group your function sends logs to.
	LogGroup pulumi.StringInput `pulumi:"logGroup"`
	// Detail level of the Lambda platform event logs sent to CloudWatch.
	SystemLogLevel pulumi.StringInput `pulumi:"systemLogLevel"`
}

func (GetFunctionLoggingConfigArgs) ElementType

func (GetFunctionLoggingConfigArgs) ToGetFunctionLoggingConfigOutput

func (i GetFunctionLoggingConfigArgs) ToGetFunctionLoggingConfigOutput() GetFunctionLoggingConfigOutput

func (GetFunctionLoggingConfigArgs) ToGetFunctionLoggingConfigOutputWithContext

func (i GetFunctionLoggingConfigArgs) ToGetFunctionLoggingConfigOutputWithContext(ctx context.Context) GetFunctionLoggingConfigOutput

type GetFunctionLoggingConfigArray

type GetFunctionLoggingConfigArray []GetFunctionLoggingConfigInput

func (GetFunctionLoggingConfigArray) ElementType

func (GetFunctionLoggingConfigArray) ToGetFunctionLoggingConfigArrayOutput

func (i GetFunctionLoggingConfigArray) ToGetFunctionLoggingConfigArrayOutput() GetFunctionLoggingConfigArrayOutput

func (GetFunctionLoggingConfigArray) ToGetFunctionLoggingConfigArrayOutputWithContext

func (i GetFunctionLoggingConfigArray) ToGetFunctionLoggingConfigArrayOutputWithContext(ctx context.Context) GetFunctionLoggingConfigArrayOutput

type GetFunctionLoggingConfigArrayInput

type GetFunctionLoggingConfigArrayInput interface {
	pulumi.Input

	ToGetFunctionLoggingConfigArrayOutput() GetFunctionLoggingConfigArrayOutput
	ToGetFunctionLoggingConfigArrayOutputWithContext(context.Context) GetFunctionLoggingConfigArrayOutput
}

GetFunctionLoggingConfigArrayInput is an input type that accepts GetFunctionLoggingConfigArray and GetFunctionLoggingConfigArrayOutput values. You can construct a concrete instance of `GetFunctionLoggingConfigArrayInput` via:

GetFunctionLoggingConfigArray{ GetFunctionLoggingConfigArgs{...} }

type GetFunctionLoggingConfigArrayOutput

type GetFunctionLoggingConfigArrayOutput struct{ *pulumi.OutputState }

func (GetFunctionLoggingConfigArrayOutput) ElementType

func (GetFunctionLoggingConfigArrayOutput) Index

func (GetFunctionLoggingConfigArrayOutput) ToGetFunctionLoggingConfigArrayOutput

func (o GetFunctionLoggingConfigArrayOutput) ToGetFunctionLoggingConfigArrayOutput() GetFunctionLoggingConfigArrayOutput

func (GetFunctionLoggingConfigArrayOutput) ToGetFunctionLoggingConfigArrayOutputWithContext

func (o GetFunctionLoggingConfigArrayOutput) ToGetFunctionLoggingConfigArrayOutputWithContext(ctx context.Context) GetFunctionLoggingConfigArrayOutput

type GetFunctionLoggingConfigInput

type GetFunctionLoggingConfigInput interface {
	pulumi.Input

	ToGetFunctionLoggingConfigOutput() GetFunctionLoggingConfigOutput
	ToGetFunctionLoggingConfigOutputWithContext(context.Context) GetFunctionLoggingConfigOutput
}

GetFunctionLoggingConfigInput is an input type that accepts GetFunctionLoggingConfigArgs and GetFunctionLoggingConfigOutput values. You can construct a concrete instance of `GetFunctionLoggingConfigInput` via:

GetFunctionLoggingConfigArgs{...}

type GetFunctionLoggingConfigOutput

type GetFunctionLoggingConfigOutput struct{ *pulumi.OutputState }

func (GetFunctionLoggingConfigOutput) ApplicationLogLevel

func (o GetFunctionLoggingConfigOutput) ApplicationLogLevel() pulumi.StringOutput

Detail level of the logs your application sends to CloudWatch when using supported logging libraries.

func (GetFunctionLoggingConfigOutput) ElementType

func (GetFunctionLoggingConfigOutput) LogFormat

Format for your function's logs. Valid values: `Text`, `JSON`.

func (GetFunctionLoggingConfigOutput) LogGroup

CloudWatch log group your function sends logs to.

func (GetFunctionLoggingConfigOutput) SystemLogLevel

Detail level of the Lambda platform event logs sent to CloudWatch.

func (GetFunctionLoggingConfigOutput) ToGetFunctionLoggingConfigOutput

func (o GetFunctionLoggingConfigOutput) ToGetFunctionLoggingConfigOutput() GetFunctionLoggingConfigOutput

func (GetFunctionLoggingConfigOutput) ToGetFunctionLoggingConfigOutputWithContext

func (o GetFunctionLoggingConfigOutput) ToGetFunctionLoggingConfigOutputWithContext(ctx context.Context) GetFunctionLoggingConfigOutput

type GetFunctionTracingConfig

type GetFunctionTracingConfig struct {
	// Tracing mode. Valid values: `Active`, `PassThrough`.
	Mode string `pulumi:"mode"`
}

type GetFunctionTracingConfigArgs

type GetFunctionTracingConfigArgs struct {
	// Tracing mode. Valid values: `Active`, `PassThrough`.
	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

Tracing mode. Valid values: `Active`, `PassThrough`.

func (GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutput

func (o GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutput() GetFunctionTracingConfigOutput

func (GetFunctionTracingConfigOutput) ToGetFunctionTracingConfigOutputWithContext

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

type GetFunctionUrlCor

type GetFunctionUrlCor struct {
	// Whether credentials are included in the CORS request.
	AllowCredentials bool `pulumi:"allowCredentials"`
	// List of headers that are specified in the Access-Control-Request-Headers header.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// List of HTTP methods that are allowed when calling the function URL.
	AllowMethods []string `pulumi:"allowMethods"`
	// List of origins that are allowed to make requests to the function URL.
	AllowOrigins []string `pulumi:"allowOrigins"`
	// List of headers in the response that you want to expose to the origin that called the function URL.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// Maximum amount of time, in seconds, that web browsers can cache results of a preflight request.
	MaxAge int `pulumi:"maxAge"`
}

type GetFunctionUrlCorArgs

type GetFunctionUrlCorArgs struct {
	// Whether credentials are included in the CORS request.
	AllowCredentials pulumi.BoolInput `pulumi:"allowCredentials"`
	// List of headers that are specified in the Access-Control-Request-Headers header.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// List of HTTP methods that are allowed when calling the function URL.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// List of origins that are allowed to make requests to the function URL.
	AllowOrigins pulumi.StringArrayInput `pulumi:"allowOrigins"`
	// List of headers in the response that you want to expose to the origin that called the function URL.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// Maximum amount of time, in seconds, that web browsers can cache results of a preflight request.
	MaxAge pulumi.IntInput `pulumi:"maxAge"`
}

func (GetFunctionUrlCorArgs) ElementType

func (GetFunctionUrlCorArgs) ElementType() reflect.Type

func (GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutput

func (i GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutput() GetFunctionUrlCorOutput

func (GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutputWithContext

func (i GetFunctionUrlCorArgs) ToGetFunctionUrlCorOutputWithContext(ctx context.Context) GetFunctionUrlCorOutput

type GetFunctionUrlCorArray

type GetFunctionUrlCorArray []GetFunctionUrlCorInput

func (GetFunctionUrlCorArray) ElementType

func (GetFunctionUrlCorArray) ElementType() reflect.Type

func (GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutput

func (i GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutput() GetFunctionUrlCorArrayOutput

func (GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutputWithContext

func (i GetFunctionUrlCorArray) ToGetFunctionUrlCorArrayOutputWithContext(ctx context.Context) GetFunctionUrlCorArrayOutput

type GetFunctionUrlCorArrayInput

type GetFunctionUrlCorArrayInput interface {
	pulumi.Input

	ToGetFunctionUrlCorArrayOutput() GetFunctionUrlCorArrayOutput
	ToGetFunctionUrlCorArrayOutputWithContext(context.Context) GetFunctionUrlCorArrayOutput
}

GetFunctionUrlCorArrayInput is an input type that accepts GetFunctionUrlCorArray and GetFunctionUrlCorArrayOutput values. You can construct a concrete instance of `GetFunctionUrlCorArrayInput` via:

GetFunctionUrlCorArray{ GetFunctionUrlCorArgs{...} }

type GetFunctionUrlCorArrayOutput

type GetFunctionUrlCorArrayOutput struct{ *pulumi.OutputState }

func (GetFunctionUrlCorArrayOutput) ElementType

func (GetFunctionUrlCorArrayOutput) Index

func (GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutput

func (o GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutput() GetFunctionUrlCorArrayOutput

func (GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutputWithContext

func (o GetFunctionUrlCorArrayOutput) ToGetFunctionUrlCorArrayOutputWithContext(ctx context.Context) GetFunctionUrlCorArrayOutput

type GetFunctionUrlCorInput

type GetFunctionUrlCorInput interface {
	pulumi.Input

	ToGetFunctionUrlCorOutput() GetFunctionUrlCorOutput
	ToGetFunctionUrlCorOutputWithContext(context.Context) GetFunctionUrlCorOutput
}

GetFunctionUrlCorInput is an input type that accepts GetFunctionUrlCorArgs and GetFunctionUrlCorOutput values. You can construct a concrete instance of `GetFunctionUrlCorInput` via:

GetFunctionUrlCorArgs{...}

type GetFunctionUrlCorOutput

type GetFunctionUrlCorOutput struct{ *pulumi.OutputState }

func (GetFunctionUrlCorOutput) AllowCredentials

func (o GetFunctionUrlCorOutput) AllowCredentials() pulumi.BoolOutput

Whether credentials are included in the CORS request.

func (GetFunctionUrlCorOutput) AllowHeaders

List of headers that are specified in the Access-Control-Request-Headers header.

func (GetFunctionUrlCorOutput) AllowMethods

List of HTTP methods that are allowed when calling the function URL.

func (GetFunctionUrlCorOutput) AllowOrigins

List of origins that are allowed to make requests to the function URL.

func (GetFunctionUrlCorOutput) ElementType

func (GetFunctionUrlCorOutput) ElementType() reflect.Type

func (GetFunctionUrlCorOutput) ExposeHeaders

List of headers in the response that you want to expose to the origin that called the function URL.

func (GetFunctionUrlCorOutput) MaxAge

Maximum amount of time, in seconds, that web browsers can cache results of a preflight request.

func (GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutput

func (o GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutput() GetFunctionUrlCorOutput

func (GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutputWithContext

func (o GetFunctionUrlCorOutput) ToGetFunctionUrlCorOutputWithContext(ctx context.Context) GetFunctionUrlCorOutput

type GetFunctionVpcConfig

type GetFunctionVpcConfig struct {
	Ipv6AllowedForDualStack bool `pulumi:"ipv6AllowedForDualStack"`
	// List of security group IDs associated with the Lambda function.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// List of subnet IDs associated with the Lambda function.
	SubnetIds []string `pulumi:"subnetIds"`
	// ID of the VPC.
	VpcId string `pulumi:"vpcId"`
}

type GetFunctionVpcConfigArgs

type GetFunctionVpcConfigArgs struct {
	Ipv6AllowedForDualStack pulumi.BoolInput `pulumi:"ipv6AllowedForDualStack"`
	// List of security group IDs associated with the Lambda function.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// List of subnet IDs associated with the Lambda function.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	// ID of the VPC.
	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) Ipv6AllowedForDualStack

func (o GetFunctionVpcConfigOutput) Ipv6AllowedForDualStack() pulumi.BoolOutput

func (GetFunctionVpcConfigOutput) SecurityGroupIds

List of security group IDs associated with the Lambda function.

func (GetFunctionVpcConfigOutput) SubnetIds

List of subnet IDs associated with the Lambda function.

func (GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutput

func (o GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutput() GetFunctionVpcConfigOutput

func (GetFunctionVpcConfigOutput) ToGetFunctionVpcConfigOutputWithContext

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

func (GetFunctionVpcConfigOutput) VpcId

ID of the VPC.

type GetFunctionsArgs

type GetFunctionsArgs struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getFunctions.

type GetFunctionsOutputArgs

type GetFunctionsOutputArgs struct {
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getFunctions.

func (GetFunctionsOutputArgs) ElementType

func (GetFunctionsOutputArgs) ElementType() reflect.Type

type GetFunctionsResult

type GetFunctionsResult struct {
	// List of Lambda Function ARNs.
	FunctionArns []string `pulumi:"functionArns"`
	// List of Lambda Function names.
	FunctionNames []string `pulumi:"functionNames"`
	// The provider-assigned unique ID for this managed resource.
	Id     string `pulumi:"id"`
	Region string `pulumi:"region"`
}

A collection of values returned by getFunctions.

func GetFunctions

func GetFunctions(ctx *pulumi.Context, args *GetFunctionsArgs, opts ...pulumi.InvokeOption) (*GetFunctionsResult, error)

Provides a list of AWS Lambda Functions in the current region. Use this data source to discover existing Lambda functions for inventory, monitoring, or bulk operations.

## Example Usage

### List All Functions

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		all, err := lambda.GetFunctions(ctx, &lambda.GetFunctionsArgs{}, nil)
		if err != nil {
			return err
		}
		ctx.Export("functionCount", len(all.FunctionNames))
		ctx.Export("allFunctionNames", all.FunctionNames)
		return nil
	})
}

```

### Use Function List for Bulk Operations

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get all Lambda functions
		all, err := lambda.GetFunctions(ctx, &lambda.GetFunctionsArgs{}, nil)
		if err != nil {
			return err
		}
		// Create CloudWatch alarms for all functions
		var lambdaErrors []*cloudwatch.MetricAlarm
		for index := 0; index < int(len(all.FunctionNames)); index++ {
			key0 := index
			val0 := index
			__res, err := cloudwatch.NewMetricAlarm(ctx, fmt.Sprintf("lambda_errors-%v", key0), &cloudwatch.MetricAlarmArgs{
				Name:               pulumi.Sprintf("%v-errors", all.FunctionNames[val0]),
				ComparisonOperator: pulumi.String("GreaterThanThreshold"),
				EvaluationPeriods:  pulumi.Int(2),
				MetricName:         pulumi.String("Errors"),
				Namespace:          pulumi.String("AWS/Lambda"),
				Period:             pulumi.Int(300),
				Statistic:          pulumi.String("Sum"),
				Threshold:          pulumi.Float64(5),
				AlarmDescription:   pulumi.String("This metric monitors lambda errors"),
				Dimensions: pulumi.StringMap{
					"FunctionName": pulumi.String(all.FunctionNames[val0]),
				},
				Tags: pulumi.StringMap{
					"Environment": pulumi.String("monitoring"),
					"Purpose":     pulumi.String("lambda-error-tracking"),
				},
			})
			if err != nil {
				return err
			}
			lambdaErrors = append(lambdaErrors, __res)
		}
		return nil
	})
}

```

### Create Function Inventory

type GetFunctionsResultOutput

type GetFunctionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFunctions.

func (GetFunctionsResultOutput) ElementType

func (GetFunctionsResultOutput) ElementType() reflect.Type

func (GetFunctionsResultOutput) FunctionArns

List of Lambda Function ARNs.

func (GetFunctionsResultOutput) FunctionNames

List of Lambda Function names.

func (GetFunctionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetFunctionsResultOutput) Region

func (GetFunctionsResultOutput) ToGetFunctionsResultOutput

func (o GetFunctionsResultOutput) ToGetFunctionsResultOutput() GetFunctionsResultOutput

func (GetFunctionsResultOutput) ToGetFunctionsResultOutputWithContext

func (o GetFunctionsResultOutput) ToGetFunctionsResultOutputWithContext(ctx context.Context) GetFunctionsResultOutput

type Invocation

type Invocation struct {
	pulumi.CustomResourceState

	// Name of the Lambda function.
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// JSON payload to the Lambda function.
	//
	// The following arguments are optional:
	Input pulumi.StringOutput `pulumi:"input"`
	// Lifecycle scope of the resource to manage. Valid values are `CREATE_ONLY` and `CRUD`. Defaults to `CREATE_ONLY`. `CREATE_ONLY` will invoke the function only on creation or replacement. `CRUD` will invoke the function on each lifecycle event, and augment the input JSON payload with additional lifecycle information.
	LifecycleScope pulumi.StringPtrOutput `pulumi:"lifecycleScope"`
	// Qualifier (i.e., version) of the Lambda function. Defaults to `$LATEST`.
	Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// String result of the Lambda function invocation.
	Result       pulumi.StringOutput    `pulumi:"result"`
	TerraformKey pulumi.StringPtrOutput `pulumi:"terraformKey"`
	// Map of arbitrary keys and values that, when changed, will trigger a re-invocation.
	Triggers pulumi.StringMapOutput `pulumi:"triggers"`
}

Manages an AWS Lambda Function invocation. Use this resource to invoke a Lambda function with the [RequestResponse](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) invocation type.

> **Note:** By default this resource _only_ invokes the function when the arguments call for a create or replace. After an initial invocation on _apply_, if the arguments do not change, a subsequent _apply_ does not invoke the function again. To dynamically invoke the function, see the `triggers` example below. To always invoke a function on each _apply_, see the `lambda.Invocation` data source. To invoke the Lambda function when the Pulumi resource is updated and deleted, see the CRUD Lifecycle Management example below.

> **Note:** If you get a `KMSAccessDeniedException: Lambda was unable to decrypt the environment variables because KMS access was denied` error when invoking a Lambda function with environment variables, the IAM role associated with the function may have been deleted and recreated after the function was created. You can fix the problem two ways: 1) updating the function's role to another role and then updating it back again to the recreated role. (When you create a function, Lambda grants permissions on the KMS key to the function's IAM role. If the IAM role is recreated, the grant is no longer valid. Changing the function's role or recreating the function causes Lambda to update the grant.)

## Example Usage

### Basic Invocation

```go package main

import (

"encoding/json"

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

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Lambda function to invoke example, err := lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{ Code: pulumi.NewFileArchive("function.zip"), Name: pulumi.String("data_processor"), Role: pulumi.Any(lambdaRole.Arn), Handler: pulumi.String("index.handler"), Runtime: pulumi.String(lambda.RuntimePython3d12), }) if err != nil { return err } tmpJSON0, err := json.Marshal(map[string]interface{}{ "operation": "initialize", "config": map[string]interface{}{ "environment": "production", "debug": false, }, }) if err != nil { return err } json0 := string(tmpJSON0) // Invoke the function once during resource creation exampleInvocation, err := lambda.NewInvocation(ctx, "example", &lambda.InvocationArgs{ FunctionName: example.Name, Input: pulumi.String(json0), }) if err != nil { return err } ctx.Export("initializationResult", std.JsondecodeOutput(ctx, std.JsondecodeOutputArgs{ Input: exampleInvocation.Result, }, nil).ApplyT(func(invoke std.JsondecodeResult) (*interface{}, error) { return invoke.Result.Status, nil }).(pulumi.Interface{}PtrOutput)) return nil }) } ```

### Dynamic Invocation with Triggers

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"environment": environment,
			"timestamp":   std.Timestamp(ctx, map[string]interface{}{}, nil).Result,
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"operation":   "process_data",
			"environment": environment,
			"batch_id":    batchId.Result,
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		_, err = lambda.NewInvocation(ctx, "example", &lambda.InvocationArgs{
			FunctionName: pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			Triggers: pulumi.StringMap{
				"function_version": pulumi.Any(exampleAwsLambdaFunction.Version),
				"config_hash": pulumi.String(std.Sha256Output(ctx, std.Sha256OutputArgs{
					Input: pulumi.String(json0),
				}, nil).ApplyT(func(invoke std.Sha256Result) (*string, error) {
					return invoke.Result, nil
				}).(pulumi.StringPtrOutput)),
			},
			Input: pulumi.String(json1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### CRUD Lifecycle Management

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"resource_name": "database_setup",
			"database_url":  exampleAwsDbInstance.Endpoint,
			"credentials": map[string]interface{}{
				"username": dbUsername,
				"password": dbPassword,
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = lambda.NewInvocation(ctx, "example", &lambda.InvocationArgs{
			FunctionName:   pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			Input:          pulumi.String(json0),
			LifecycleScope: pulumi.String("CRUD"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **Note:** `lifecycleScope = "CRUD"` will inject a key `tf` in the input event to pass lifecycle information! This allows the Lambda function to handle different lifecycle transitions uniquely. If you need to use a key `tf` in your own input JSON, the default key name can be overridden with the `pulumiKey` argument.

The lifecycle key gets added with subkeys:

* `action` - Action Pulumi performs on the resource. Values are `create`, `update`, or `delete`. * `prevInput` - Input JSON payload from the previous invocation. This can be used to handle update and delete events.

When the resource from the CRUD example above is created, the Lambda will receive the following JSON payload:

If the `databaseUrl` changes, the Lambda will be invoked again with:

When the invocation resource is removed, the final invocation will have:

func GetInvocation

func GetInvocation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InvocationState, opts ...pulumi.ResourceOption) (*Invocation, error)

GetInvocation gets an existing Invocation 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 NewInvocation

func NewInvocation(ctx *pulumi.Context,
	name string, args *InvocationArgs, opts ...pulumi.ResourceOption) (*Invocation, error)

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

func (*Invocation) ElementType

func (*Invocation) ElementType() reflect.Type

func (*Invocation) ToInvocationOutput

func (i *Invocation) ToInvocationOutput() InvocationOutput

func (*Invocation) ToInvocationOutputWithContext

func (i *Invocation) ToInvocationOutputWithContext(ctx context.Context) InvocationOutput

type InvocationArgs

type InvocationArgs struct {
	// Name of the Lambda function.
	FunctionName pulumi.StringInput
	// JSON payload to the Lambda function.
	//
	// The following arguments are optional:
	Input pulumi.StringInput
	// Lifecycle scope of the resource to manage. Valid values are `CREATE_ONLY` and `CRUD`. Defaults to `CREATE_ONLY`. `CREATE_ONLY` will invoke the function only on creation or replacement. `CRUD` will invoke the function on each lifecycle event, and augment the input JSON payload with additional lifecycle information.
	LifecycleScope pulumi.StringPtrInput
	// Qualifier (i.e., version) of the Lambda function. Defaults to `$LATEST`.
	Qualifier pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region       pulumi.StringPtrInput
	TerraformKey pulumi.StringPtrInput
	// Map of arbitrary keys and values that, when changed, will trigger a re-invocation.
	Triggers pulumi.StringMapInput
}

The set of arguments for constructing a Invocation resource.

func (InvocationArgs) ElementType

func (InvocationArgs) ElementType() reflect.Type

type InvocationArray

type InvocationArray []InvocationInput

func (InvocationArray) ElementType

func (InvocationArray) ElementType() reflect.Type

func (InvocationArray) ToInvocationArrayOutput

func (i InvocationArray) ToInvocationArrayOutput() InvocationArrayOutput

func (InvocationArray) ToInvocationArrayOutputWithContext

func (i InvocationArray) ToInvocationArrayOutputWithContext(ctx context.Context) InvocationArrayOutput

type InvocationArrayInput

type InvocationArrayInput interface {
	pulumi.Input

	ToInvocationArrayOutput() InvocationArrayOutput
	ToInvocationArrayOutputWithContext(context.Context) InvocationArrayOutput
}

InvocationArrayInput is an input type that accepts InvocationArray and InvocationArrayOutput values. You can construct a concrete instance of `InvocationArrayInput` via:

InvocationArray{ InvocationArgs{...} }

type InvocationArrayOutput

type InvocationArrayOutput struct{ *pulumi.OutputState }

func (InvocationArrayOutput) ElementType

func (InvocationArrayOutput) ElementType() reflect.Type

func (InvocationArrayOutput) Index

func (InvocationArrayOutput) ToInvocationArrayOutput

func (o InvocationArrayOutput) ToInvocationArrayOutput() InvocationArrayOutput

func (InvocationArrayOutput) ToInvocationArrayOutputWithContext

func (o InvocationArrayOutput) ToInvocationArrayOutputWithContext(ctx context.Context) InvocationArrayOutput

type InvocationInput

type InvocationInput interface {
	pulumi.Input

	ToInvocationOutput() InvocationOutput
	ToInvocationOutputWithContext(ctx context.Context) InvocationOutput
}

type InvocationMap

type InvocationMap map[string]InvocationInput

func (InvocationMap) ElementType

func (InvocationMap) ElementType() reflect.Type

func (InvocationMap) ToInvocationMapOutput

func (i InvocationMap) ToInvocationMapOutput() InvocationMapOutput

func (InvocationMap) ToInvocationMapOutputWithContext

func (i InvocationMap) ToInvocationMapOutputWithContext(ctx context.Context) InvocationMapOutput

type InvocationMapInput

type InvocationMapInput interface {
	pulumi.Input

	ToInvocationMapOutput() InvocationMapOutput
	ToInvocationMapOutputWithContext(context.Context) InvocationMapOutput
}

InvocationMapInput is an input type that accepts InvocationMap and InvocationMapOutput values. You can construct a concrete instance of `InvocationMapInput` via:

InvocationMap{ "key": InvocationArgs{...} }

type InvocationMapOutput

type InvocationMapOutput struct{ *pulumi.OutputState }

func (InvocationMapOutput) ElementType

func (InvocationMapOutput) ElementType() reflect.Type

func (InvocationMapOutput) MapIndex

func (InvocationMapOutput) ToInvocationMapOutput

func (o InvocationMapOutput) ToInvocationMapOutput() InvocationMapOutput

func (InvocationMapOutput) ToInvocationMapOutputWithContext

func (o InvocationMapOutput) ToInvocationMapOutputWithContext(ctx context.Context) InvocationMapOutput

type InvocationOutput

type InvocationOutput struct{ *pulumi.OutputState }

func (InvocationOutput) ElementType

func (InvocationOutput) ElementType() reflect.Type

func (InvocationOutput) FunctionName

func (o InvocationOutput) FunctionName() pulumi.StringOutput

Name of the Lambda function.

func (InvocationOutput) Input

JSON payload to the Lambda function.

The following arguments are optional:

func (InvocationOutput) LifecycleScope

func (o InvocationOutput) LifecycleScope() pulumi.StringPtrOutput

Lifecycle scope of the resource to manage. Valid values are `CREATE_ONLY` and `CRUD`. Defaults to `CREATE_ONLY`. `CREATE_ONLY` will invoke the function only on creation or replacement. `CRUD` will invoke the function on each lifecycle event, and augment the input JSON payload with additional lifecycle information.

func (InvocationOutput) Qualifier

func (o InvocationOutput) Qualifier() pulumi.StringPtrOutput

Qualifier (i.e., version) of the Lambda function. Defaults to `$LATEST`.

func (InvocationOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (InvocationOutput) Result

String result of the Lambda function invocation.

func (InvocationOutput) TerraformKey

func (o InvocationOutput) TerraformKey() pulumi.StringPtrOutput

func (InvocationOutput) ToInvocationOutput

func (o InvocationOutput) ToInvocationOutput() InvocationOutput

func (InvocationOutput) ToInvocationOutputWithContext

func (o InvocationOutput) ToInvocationOutputWithContext(ctx context.Context) InvocationOutput

func (InvocationOutput) Triggers

Map of arbitrary keys and values that, when changed, will trigger a re-invocation.

type InvocationState

type InvocationState struct {
	// Name of the Lambda function.
	FunctionName pulumi.StringPtrInput
	// JSON payload to the Lambda function.
	//
	// The following arguments are optional:
	Input pulumi.StringPtrInput
	// Lifecycle scope of the resource to manage. Valid values are `CREATE_ONLY` and `CRUD`. Defaults to `CREATE_ONLY`. `CREATE_ONLY` will invoke the function only on creation or replacement. `CRUD` will invoke the function on each lifecycle event, and augment the input JSON payload with additional lifecycle information.
	LifecycleScope pulumi.StringPtrInput
	// Qualifier (i.e., version) of the Lambda function. Defaults to `$LATEST`.
	Qualifier pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// String result of the Lambda function invocation.
	Result       pulumi.StringPtrInput
	TerraformKey pulumi.StringPtrInput
	// Map of arbitrary keys and values that, when changed, will trigger a re-invocation.
	Triggers pulumi.StringMapInput
}

func (InvocationState) ElementType

func (InvocationState) ElementType() reflect.Type

type LayerVersion

type LayerVersion struct {
	pulumi.CustomResourceState

	// ARN of the Lambda Layer with version.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// 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"`
	// Base64-encoded representation of raw SHA-256 sum of the zip file.
	CodeSha256 pulumi.StringOutput `pulumi:"codeSha256"`
	// List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.
	CompatibleArchitectures pulumi.StringArrayOutput `pulumi:"compatibleArchitectures"`
	// 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 15 runtimes can be specified.
	CompatibleRuntimes pulumi.StringArrayOutput `pulumi:"compatibleRuntimes"`
	// Date this resource was created.
	CreatedDate pulumi.StringOutput `pulumi:"createdDate"`
	// Description of what your Lambda Layer does.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// ARN of the Lambda Layer without version.
	LayerArn pulumi.StringOutput `pulumi:"layerArn"`
	// Unique name for your Lambda Layer.
	//
	// The following arguments are optional:
	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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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"`
	// S3 key of an object containing the function's deployment package. Conflicts with `filename`.
	S3Key pulumi.StringPtrOutput `pulumi:"s3Key"`
	// Object version containing the function's deployment package. Conflicts with `filename`.
	S3ObjectVersion pulumi.StringPtrOutput `pulumi:"s3ObjectVersion"`
	// ARN of a signing job.
	SigningJobArn pulumi.StringOutput `pulumi:"signingJobArn"`
	// ARN for a signing profile version.
	SigningProfileVersionArn pulumi.StringOutput `pulumi:"signingProfileVersionArn"`
	// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
	SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"`
	// Virtual attribute used to trigger replacement when source code changes. 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")` or `base64sha256(file("file.zip"))`, where "file.zip" is the local filename of the lambda layer source archive.
	SourceCodeHash pulumi.StringOutput `pulumi:"sourceCodeHash"`
	// Size in bytes of the function .zip file.
	SourceCodeSize pulumi.IntOutput `pulumi:"sourceCodeSize"`
	// Lambda Layer version.
	Version pulumi.StringOutput `pulumi:"version"`
}

Manages an AWS Lambda Layer Version. Use this resource to share code and dependencies 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).

> **Note:** Setting `skipDestroy` to `true` means that the AWS Provider will not destroy any layer version, even when running `pulumi destroy`. Layer versions are thus intentional dangling resources that are not managed by Pulumi and may incur extra expense in your AWS account.

## Example Usage

### Basic Layer

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewLayerVersion(ctx, "example", &lambda.LayerVersionArgs{
			Code:      pulumi.NewFileArchive("lambda_layer_payload.zip"),
			LayerName: pulumi.String("lambda_layer_name"),
			CompatibleRuntimes: pulumi.StringArray{
				pulumi.String("nodejs20.x"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Layer with S3 Source

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewLayerVersion(ctx, "example", &lambda.LayerVersionArgs{
			S3Bucket:  pulumi.Any(lambdaLayerZip.Bucket),
			S3Key:     pulumi.Any(lambdaLayerZip.Key),
			LayerName: pulumi.String("lambda_layer_name"),
			CompatibleRuntimes: pulumi.StringArray{
				pulumi.String("nodejs20.x"),
				pulumi.String("python3.12"),
			},
			CompatibleArchitectures: pulumi.StringArray{
				pulumi.String("x86_64"),
				pulumi.String("arm64"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Layer with Multiple Runtimes and Architectures

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFilebase64sha256, err := std.Filebase64sha256(ctx, &std.Filebase64sha256Args{
			Input: "lambda_layer_payload.zip",
		}, nil)
		if err != nil {
			return err
		}
		_, err = lambda.NewLayerVersion(ctx, "example", &lambda.LayerVersionArgs{
			Code:           pulumi.NewFileArchive("lambda_layer_payload.zip"),
			LayerName:      pulumi.String("multi_runtime_layer"),
			Description:    pulumi.String("Shared utilities for Lambda functions"),
			LicenseInfo:    pulumi.String("MIT"),
			SourceCodeHash: pulumi.String(invokeFilebase64sha256.Result),
			CompatibleRuntimes: pulumi.StringArray{
				pulumi.String("nodejs18.x"),
				pulumi.String("nodejs20.x"),
				pulumi.String("python3.11"),
				pulumi.String("python3.12"),
			},
			CompatibleArchitectures: pulumi.StringArray{
				pulumi.String("x86_64"),
				pulumi.String("arm64"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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.BucketObjectv2` 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

Using `pulumi import`, import Lambda Layers using `arn`. For example:

```sh $ pulumi import aws:lambda/layerVersion:LayerVersion example arn:aws:lambda:us-west-2:123456789012:layer:example:1 ```

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

func (*LayerVersion) ElementType() reflect.Type

func (*LayerVersion) ToLayerVersionOutput

func (i *LayerVersion) ToLayerVersionOutput() LayerVersionOutput

func (*LayerVersion) ToLayerVersionOutputWithContext

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

type LayerVersionArgs

type LayerVersionArgs struct {
	// Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
	Code pulumi.ArchiveInput
	// List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.
	CompatibleArchitectures pulumi.StringArrayInput
	// 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 15 runtimes can be specified.
	CompatibleRuntimes pulumi.StringArrayInput
	// Description of what your Lambda Layer does.
	Description pulumi.StringPtrInput
	// Unique name for your Lambda Layer.
	//
	// The following arguments are optional:
	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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// 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
	// S3 key of an object containing the function's deployment package. Conflicts with `filename`.
	S3Key pulumi.StringPtrInput
	// Object version containing the function's deployment package. Conflicts with `filename`.
	S3ObjectVersion pulumi.StringPtrInput
	// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
	SkipDestroy pulumi.BoolPtrInput
	// Virtual attribute used to trigger replacement when source code changes. 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")` or `base64sha256(file("file.zip"))`, 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 LayerVersionArray

type LayerVersionArray []LayerVersionInput

func (LayerVersionArray) ElementType

func (LayerVersionArray) ElementType() reflect.Type

func (LayerVersionArray) ToLayerVersionArrayOutput

func (i LayerVersionArray) ToLayerVersionArrayOutput() LayerVersionArrayOutput

func (LayerVersionArray) ToLayerVersionArrayOutputWithContext

func (i LayerVersionArray) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput

type LayerVersionArrayInput

type LayerVersionArrayInput interface {
	pulumi.Input

	ToLayerVersionArrayOutput() LayerVersionArrayOutput
	ToLayerVersionArrayOutputWithContext(context.Context) LayerVersionArrayOutput
}

LayerVersionArrayInput is an input type that accepts LayerVersionArray and LayerVersionArrayOutput values. You can construct a concrete instance of `LayerVersionArrayInput` via:

LayerVersionArray{ LayerVersionArgs{...} }

type LayerVersionArrayOutput

type LayerVersionArrayOutput struct{ *pulumi.OutputState }

func (LayerVersionArrayOutput) ElementType

func (LayerVersionArrayOutput) ElementType() reflect.Type

func (LayerVersionArrayOutput) Index

func (LayerVersionArrayOutput) ToLayerVersionArrayOutput

func (o LayerVersionArrayOutput) ToLayerVersionArrayOutput() LayerVersionArrayOutput

func (LayerVersionArrayOutput) ToLayerVersionArrayOutputWithContext

func (o LayerVersionArrayOutput) ToLayerVersionArrayOutputWithContext(ctx context.Context) LayerVersionArrayOutput

type LayerVersionInput

type LayerVersionInput interface {
	pulumi.Input

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

type LayerVersionMap

type LayerVersionMap map[string]LayerVersionInput

func (LayerVersionMap) ElementType

func (LayerVersionMap) ElementType() reflect.Type

func (LayerVersionMap) ToLayerVersionMapOutput

func (i LayerVersionMap) ToLayerVersionMapOutput() LayerVersionMapOutput

func (LayerVersionMap) ToLayerVersionMapOutputWithContext

func (i LayerVersionMap) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput

type LayerVersionMapInput

type LayerVersionMapInput interface {
	pulumi.Input

	ToLayerVersionMapOutput() LayerVersionMapOutput
	ToLayerVersionMapOutputWithContext(context.Context) LayerVersionMapOutput
}

LayerVersionMapInput is an input type that accepts LayerVersionMap and LayerVersionMapOutput values. You can construct a concrete instance of `LayerVersionMapInput` via:

LayerVersionMap{ "key": LayerVersionArgs{...} }

type LayerVersionMapOutput

type LayerVersionMapOutput struct{ *pulumi.OutputState }

func (LayerVersionMapOutput) ElementType

func (LayerVersionMapOutput) ElementType() reflect.Type

func (LayerVersionMapOutput) MapIndex

func (LayerVersionMapOutput) ToLayerVersionMapOutput

func (o LayerVersionMapOutput) ToLayerVersionMapOutput() LayerVersionMapOutput

func (LayerVersionMapOutput) ToLayerVersionMapOutputWithContext

func (o LayerVersionMapOutput) ToLayerVersionMapOutputWithContext(ctx context.Context) LayerVersionMapOutput

type LayerVersionOutput

type LayerVersionOutput struct{ *pulumi.OutputState }

func (LayerVersionOutput) Arn

ARN of the Lambda Layer with version.

func (LayerVersionOutput) Code

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

func (LayerVersionOutput) CodeSha256

func (o LayerVersionOutput) CodeSha256() pulumi.StringOutput

Base64-encoded representation of raw SHA-256 sum of the zip file.

func (LayerVersionOutput) CompatibleArchitectures

func (o LayerVersionOutput) CompatibleArchitectures() pulumi.StringArrayOutput

List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.

func (LayerVersionOutput) CompatibleRuntimes

func (o LayerVersionOutput) CompatibleRuntimes() pulumi.StringArrayOutput

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 15 runtimes can be specified.

func (LayerVersionOutput) CreatedDate

func (o LayerVersionOutput) CreatedDate() pulumi.StringOutput

Date this resource was created.

func (LayerVersionOutput) Description

func (o LayerVersionOutput) Description() pulumi.StringPtrOutput

Description of what your Lambda Layer does.

func (LayerVersionOutput) ElementType

func (LayerVersionOutput) ElementType() reflect.Type

func (LayerVersionOutput) LayerArn

func (o LayerVersionOutput) LayerArn() pulumi.StringOutput

ARN of the Lambda Layer without version.

func (LayerVersionOutput) LayerName

func (o LayerVersionOutput) LayerName() pulumi.StringOutput

Unique name for your Lambda Layer.

The following arguments are optional:

func (LayerVersionOutput) LicenseInfo

func (o LayerVersionOutput) LicenseInfo() pulumi.StringPtrOutput

License info for your Lambda Layer. See [License Info](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-LicenseInfo).

func (LayerVersionOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (LayerVersionOutput) S3Bucket

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.

func (LayerVersionOutput) S3Key

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

func (LayerVersionOutput) S3ObjectVersion

func (o LayerVersionOutput) S3ObjectVersion() pulumi.StringPtrOutput

Object version containing the function's deployment package. Conflicts with `filename`.

func (LayerVersionOutput) SigningJobArn

func (o LayerVersionOutput) SigningJobArn() pulumi.StringOutput

ARN of a signing job.

func (LayerVersionOutput) SigningProfileVersionArn

func (o LayerVersionOutput) SigningProfileVersionArn() pulumi.StringOutput

ARN for a signing profile version.

func (LayerVersionOutput) SkipDestroy

func (o LayerVersionOutput) SkipDestroy() pulumi.BoolPtrOutput

Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.

func (LayerVersionOutput) SourceCodeHash

func (o LayerVersionOutput) SourceCodeHash() pulumi.StringOutput

Virtual attribute used to trigger replacement when source code changes. 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")` or `base64sha256(file("file.zip"))`, where "file.zip" is the local filename of the lambda layer source archive.

func (LayerVersionOutput) SourceCodeSize

func (o LayerVersionOutput) SourceCodeSize() pulumi.IntOutput

Size in bytes of the function .zip file.

func (LayerVersionOutput) ToLayerVersionOutput

func (o LayerVersionOutput) ToLayerVersionOutput() LayerVersionOutput

func (LayerVersionOutput) ToLayerVersionOutputWithContext

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

func (LayerVersionOutput) Version

Lambda Layer version.

type LayerVersionPermission

type LayerVersionPermission struct {
	pulumi.CustomResourceState

	// Action that will be allowed. `lambda:GetLayerVersion` is the standard value for layer access.
	Action pulumi.StringOutput `pulumi:"action"`
	// Name or ARN of the Lambda Layer.
	LayerName pulumi.StringOutput `pulumi:"layerName"`
	// AWS Organization ID that should be able to use your Lambda Layer. `principal` should be set to `*` when `organizationId` is provided.
	OrganizationId pulumi.StringPtrOutput `pulumi:"organizationId"`
	// Full Lambda Layer Permission policy.
	Policy pulumi.StringOutput `pulumi:"policy"`
	// AWS account ID that should be able to use your Lambda Layer. Use `*` to share with all AWS accounts.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// Unique identifier for the current revision of the policy.
	RevisionId pulumi.StringOutput `pulumi:"revisionId"`
	// Whether to retain the permission when the resource is destroyed. Default is `false`.
	SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"`
	// Unique identifier for the permission statement.
	StatementId pulumi.StringOutput `pulumi:"statementId"`
	// Version of Lambda Layer to grant access to. Note: permissions only apply to a single version of a layer.
	//
	// The following arguments are optional:
	VersionNumber pulumi.IntOutput `pulumi:"versionNumber"`
}

Manages an AWS Lambda Layer Version Permission. Use this resource to share Lambda Layers with other AWS accounts, organizations, or make them publicly accessible.

For information about Lambda Layer Permissions and how to use them, see [Using Resource-based Policies for AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountlayer).

> **Note:** Setting `skipDestroy` to `true` means that the AWS Provider will not destroy any layer version permission, even when running `pulumi destroy`. Layer version permissions are thus intentional dangling resources that are not managed by Pulumi and may incur extra expense in your AWS account.

## Example Usage

### Share Layer with Specific Account

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Lambda layer to share
		example, err := lambda.NewLayerVersion(ctx, "example", &lambda.LayerVersionArgs{
			Code:        pulumi.NewFileArchive("layer.zip"),
			LayerName:   pulumi.String("shared_utilities"),
			Description: pulumi.String("Common utilities for Lambda functions"),
			CompatibleRuntimes: pulumi.StringArray{
				pulumi.String("nodejs20.x"),
				pulumi.String("python3.12"),
			},
		})
		if err != nil {
			return err
		}
		// Grant permission to specific AWS account
		_, err = lambda.NewLayerVersionPermission(ctx, "example", &lambda.LayerVersionPermissionArgs{
			LayerName:     example.LayerName,
			VersionNumber: example.Version,
			Principal:     pulumi.String("123456789012"),
			Action:        pulumi.String("lambda:GetLayerVersion"),
			StatementId:   pulumi.String("dev-account-access"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Share Layer with Organization

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewLayerVersionPermission(ctx, "example", &lambda.LayerVersionPermissionArgs{
			LayerName:      pulumi.Any(exampleAwsLambdaLayerVersion.LayerName),
			VersionNumber:  pulumi.Any(exampleAwsLambdaLayerVersion.Version),
			Principal:      pulumi.String("*"),
			OrganizationId: pulumi.String("o-1234567890"),
			Action:         pulumi.String("lambda:GetLayerVersion"),
			StatementId:    pulumi.String("org-wide-access"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Share Layer Publicly

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewLayerVersionPermission(ctx, "example", &lambda.LayerVersionPermissionArgs{
			LayerName:     pulumi.Any(exampleAwsLambdaLayerVersion.LayerName),
			VersionNumber: pulumi.Any(exampleAwsLambdaLayerVersion.Version),
			Principal:     pulumi.String("*"),
			Action:        pulumi.String("lambda:GetLayerVersion"),
			StatementId:   pulumi.String("public-access"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Multiple Account Access

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Share with multiple specific accounts
		_, err := lambda.NewLayerVersionPermission(ctx, "dev_account", &lambda.LayerVersionPermissionArgs{
			LayerName:     pulumi.Any(example.LayerName),
			VersionNumber: pulumi.Any(example.Version),
			Principal:     pulumi.String("111111111111"),
			Action:        pulumi.String("lambda:GetLayerVersion"),
			StatementId:   pulumi.String("dev-account"),
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewLayerVersionPermission(ctx, "staging_account", &lambda.LayerVersionPermissionArgs{
			LayerName:     pulumi.Any(example.LayerName),
			VersionNumber: pulumi.Any(example.Version),
			Principal:     pulumi.String("222222222222"),
			Action:        pulumi.String("lambda:GetLayerVersion"),
			StatementId:   pulumi.String("staging-account"),
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewLayerVersionPermission(ctx, "prod_account", &lambda.LayerVersionPermissionArgs{
			LayerName:     pulumi.Any(example.LayerName),
			VersionNumber: pulumi.Any(example.Version),
			Principal:     pulumi.String("333333333333"),
			Action:        pulumi.String("lambda:GetLayerVersion"),
			StatementId:   pulumi.String("prod-account"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For backwards compatibility, the following legacy `pulumi import` command is also supported:

```sh $ pulumi import aws:lambda/layerVersionPermission:LayerVersionPermission example arn:aws:lambda:us-west-2:123456789012:layer:shared_utilities,1 ```

func GetLayerVersionPermission

func GetLayerVersionPermission(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LayerVersionPermissionState, opts ...pulumi.ResourceOption) (*LayerVersionPermission, error)

GetLayerVersionPermission gets an existing LayerVersionPermission 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 NewLayerVersionPermission

func NewLayerVersionPermission(ctx *pulumi.Context,
	name string, args *LayerVersionPermissionArgs, opts ...pulumi.ResourceOption) (*LayerVersionPermission, error)

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

func (*LayerVersionPermission) ElementType

func (*LayerVersionPermission) ElementType() reflect.Type

func (*LayerVersionPermission) ToLayerVersionPermissionOutput

func (i *LayerVersionPermission) ToLayerVersionPermissionOutput() LayerVersionPermissionOutput

func (*LayerVersionPermission) ToLayerVersionPermissionOutputWithContext

func (i *LayerVersionPermission) ToLayerVersionPermissionOutputWithContext(ctx context.Context) LayerVersionPermissionOutput

type LayerVersionPermissionArgs

type LayerVersionPermissionArgs struct {
	// Action that will be allowed. `lambda:GetLayerVersion` is the standard value for layer access.
	Action pulumi.StringInput
	// Name or ARN of the Lambda Layer.
	LayerName pulumi.StringInput
	// AWS Organization ID that should be able to use your Lambda Layer. `principal` should be set to `*` when `organizationId` is provided.
	OrganizationId pulumi.StringPtrInput
	// AWS account ID that should be able to use your Lambda Layer. Use `*` to share with all AWS accounts.
	Principal pulumi.StringInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Whether to retain the permission when the resource is destroyed. Default is `false`.
	SkipDestroy pulumi.BoolPtrInput
	// Unique identifier for the permission statement.
	StatementId pulumi.StringInput
	// Version of Lambda Layer to grant access to. Note: permissions only apply to a single version of a layer.
	//
	// The following arguments are optional:
	VersionNumber pulumi.IntInput
}

The set of arguments for constructing a LayerVersionPermission resource.

func (LayerVersionPermissionArgs) ElementType

func (LayerVersionPermissionArgs) ElementType() reflect.Type

type LayerVersionPermissionArray

type LayerVersionPermissionArray []LayerVersionPermissionInput

func (LayerVersionPermissionArray) ElementType

func (LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutput

func (i LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutput() LayerVersionPermissionArrayOutput

func (LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutputWithContext

func (i LayerVersionPermissionArray) ToLayerVersionPermissionArrayOutputWithContext(ctx context.Context) LayerVersionPermissionArrayOutput

type LayerVersionPermissionArrayInput

type LayerVersionPermissionArrayInput interface {
	pulumi.Input

	ToLayerVersionPermissionArrayOutput() LayerVersionPermissionArrayOutput
	ToLayerVersionPermissionArrayOutputWithContext(context.Context) LayerVersionPermissionArrayOutput
}

LayerVersionPermissionArrayInput is an input type that accepts LayerVersionPermissionArray and LayerVersionPermissionArrayOutput values. You can construct a concrete instance of `LayerVersionPermissionArrayInput` via:

LayerVersionPermissionArray{ LayerVersionPermissionArgs{...} }

type LayerVersionPermissionArrayOutput

type LayerVersionPermissionArrayOutput struct{ *pulumi.OutputState }

func (LayerVersionPermissionArrayOutput) ElementType

func (LayerVersionPermissionArrayOutput) Index

func (LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutput

func (o LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutput() LayerVersionPermissionArrayOutput

func (LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutputWithContext

func (o LayerVersionPermissionArrayOutput) ToLayerVersionPermissionArrayOutputWithContext(ctx context.Context) LayerVersionPermissionArrayOutput

type LayerVersionPermissionInput

type LayerVersionPermissionInput interface {
	pulumi.Input

	ToLayerVersionPermissionOutput() LayerVersionPermissionOutput
	ToLayerVersionPermissionOutputWithContext(ctx context.Context) LayerVersionPermissionOutput
}

type LayerVersionPermissionMap

type LayerVersionPermissionMap map[string]LayerVersionPermissionInput

func (LayerVersionPermissionMap) ElementType

func (LayerVersionPermissionMap) ElementType() reflect.Type

func (LayerVersionPermissionMap) ToLayerVersionPermissionMapOutput

func (i LayerVersionPermissionMap) ToLayerVersionPermissionMapOutput() LayerVersionPermissionMapOutput

func (LayerVersionPermissionMap) ToLayerVersionPermissionMapOutputWithContext

func (i LayerVersionPermissionMap) ToLayerVersionPermissionMapOutputWithContext(ctx context.Context) LayerVersionPermissionMapOutput

type LayerVersionPermissionMapInput

type LayerVersionPermissionMapInput interface {
	pulumi.Input

	ToLayerVersionPermissionMapOutput() LayerVersionPermissionMapOutput
	ToLayerVersionPermissionMapOutputWithContext(context.Context) LayerVersionPermissionMapOutput
}

LayerVersionPermissionMapInput is an input type that accepts LayerVersionPermissionMap and LayerVersionPermissionMapOutput values. You can construct a concrete instance of `LayerVersionPermissionMapInput` via:

LayerVersionPermissionMap{ "key": LayerVersionPermissionArgs{...} }

type LayerVersionPermissionMapOutput

type LayerVersionPermissionMapOutput struct{ *pulumi.OutputState }

func (LayerVersionPermissionMapOutput) ElementType

func (LayerVersionPermissionMapOutput) MapIndex

func (LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutput

func (o LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutput() LayerVersionPermissionMapOutput

func (LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutputWithContext

func (o LayerVersionPermissionMapOutput) ToLayerVersionPermissionMapOutputWithContext(ctx context.Context) LayerVersionPermissionMapOutput

type LayerVersionPermissionOutput

type LayerVersionPermissionOutput struct{ *pulumi.OutputState }

func (LayerVersionPermissionOutput) Action

Action that will be allowed. `lambda:GetLayerVersion` is the standard value for layer access.

func (LayerVersionPermissionOutput) ElementType

func (LayerVersionPermissionOutput) LayerName

Name or ARN of the Lambda Layer.

func (LayerVersionPermissionOutput) OrganizationId

AWS Organization ID that should be able to use your Lambda Layer. `principal` should be set to `*` when `organizationId` is provided.

func (LayerVersionPermissionOutput) Policy

Full Lambda Layer Permission policy.

func (LayerVersionPermissionOutput) Principal

AWS account ID that should be able to use your Lambda Layer. Use `*` to share with all AWS accounts.

func (LayerVersionPermissionOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (LayerVersionPermissionOutput) RevisionId

Unique identifier for the current revision of the policy.

func (LayerVersionPermissionOutput) SkipDestroy

Whether to retain the permission when the resource is destroyed. Default is `false`.

func (LayerVersionPermissionOutput) StatementId

Unique identifier for the permission statement.

func (LayerVersionPermissionOutput) ToLayerVersionPermissionOutput

func (o LayerVersionPermissionOutput) ToLayerVersionPermissionOutput() LayerVersionPermissionOutput

func (LayerVersionPermissionOutput) ToLayerVersionPermissionOutputWithContext

func (o LayerVersionPermissionOutput) ToLayerVersionPermissionOutputWithContext(ctx context.Context) LayerVersionPermissionOutput

func (LayerVersionPermissionOutput) VersionNumber

func (o LayerVersionPermissionOutput) VersionNumber() pulumi.IntOutput

Version of Lambda Layer to grant access to. Note: permissions only apply to a single version of a layer.

The following arguments are optional:

type LayerVersionPermissionState

type LayerVersionPermissionState struct {
	// Action that will be allowed. `lambda:GetLayerVersion` is the standard value for layer access.
	Action pulumi.StringPtrInput
	// Name or ARN of the Lambda Layer.
	LayerName pulumi.StringPtrInput
	// AWS Organization ID that should be able to use your Lambda Layer. `principal` should be set to `*` when `organizationId` is provided.
	OrganizationId pulumi.StringPtrInput
	// Full Lambda Layer Permission policy.
	Policy pulumi.StringPtrInput
	// AWS account ID that should be able to use your Lambda Layer. Use `*` to share with all AWS accounts.
	Principal pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Unique identifier for the current revision of the policy.
	RevisionId pulumi.StringPtrInput
	// Whether to retain the permission when the resource is destroyed. Default is `false`.
	SkipDestroy pulumi.BoolPtrInput
	// Unique identifier for the permission statement.
	StatementId pulumi.StringPtrInput
	// Version of Lambda Layer to grant access to. Note: permissions only apply to a single version of a layer.
	//
	// The following arguments are optional:
	VersionNumber pulumi.IntPtrInput
}

func (LayerVersionPermissionState) ElementType

type LayerVersionState

type LayerVersionState struct {
	// ARN of the Lambda Layer with version.
	Arn pulumi.StringPtrInput
	// Path to the function's deployment package within the local filesystem. If defined, The `s3_`-prefixed options cannot be used.
	Code pulumi.ArchiveInput
	// Base64-encoded representation of raw SHA-256 sum of the zip file.
	CodeSha256 pulumi.StringPtrInput
	// List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html#SSS-PublishLayerVersion-request-CompatibleArchitectures) this layer is compatible with. Currently `x8664` and `arm64` can be specified.
	CompatibleArchitectures pulumi.StringArrayInput
	// 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 15 runtimes can be specified.
	CompatibleRuntimes pulumi.StringArrayInput
	// Date this resource was created.
	CreatedDate pulumi.StringPtrInput
	// Description of what your Lambda Layer does.
	Description pulumi.StringPtrInput
	// ARN of the Lambda Layer without version.
	LayerArn pulumi.StringPtrInput
	// Unique name for your Lambda Layer.
	//
	// The following arguments are optional:
	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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// 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
	// S3 key of an object containing the function's deployment package. Conflicts with `filename`.
	S3Key pulumi.StringPtrInput
	// Object version containing the function's deployment package. Conflicts with `filename`.
	S3ObjectVersion pulumi.StringPtrInput
	// ARN of a signing job.
	SigningJobArn pulumi.StringPtrInput
	// ARN for a signing profile version.
	SigningProfileVersionArn pulumi.StringPtrInput
	// Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`. When this is not set to `true`, changing any of `compatibleArchitectures`, `compatibleRuntimes`, `description`, `filename`, `layerName`, `licenseInfo`, `s3Bucket`, `s3Key`, `s3ObjectVersion`, or `sourceCodeHash` forces deletion of the existing layer version and creation of a new layer version.
	SkipDestroy pulumi.BoolPtrInput
	// Virtual attribute used to trigger replacement when source code changes. 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")` or `base64sha256(file("file.zip"))`, where "file.zip" is the local filename of the lambda layer source archive.
	SourceCodeHash pulumi.StringPtrInput
	// Size in bytes of the function .zip file.
	SourceCodeSize pulumi.IntPtrInput
	// Lambda 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.
	//
	// The following arguments are optional:
	Name string `pulumi:"name"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getAlias.

type LookupAliasOutputArgs

type LookupAliasOutputArgs struct {
	// Name of the aliased Lambda function.
	FunctionName pulumi.StringInput `pulumi:"functionName"`
	// Name of the Lambda alias.
	//
	// The following arguments are optional:
	Name pulumi.StringInput `pulumi:"name"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getAlias.

func (LookupAliasOutputArgs) ElementType

func (LookupAliasOutputArgs) ElementType() reflect.Type

type LookupAliasResult

type LookupAliasResult struct {
	// ARN identifying the Lambda function alias.
	Arn string `pulumi:"arn"`
	// Description of the 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"`
	// ARN to be used for invoking Lambda Function from API Gateway - to be used in `apigateway.Integration`'s `uri`.
	InvokeArn string `pulumi:"invokeArn"`
	Name      string `pulumi:"name"`
	Region    string `pulumi:"region"`
}

A collection of values returned by getAlias.

func LookupAlias

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

Provides details about an AWS Lambda Alias. Use this data source to retrieve information about an existing Lambda function alias for traffic management, deployment strategies, or API integrations.

## Example Usage

### Basic Usage

```go package main

import (

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

)

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

```

### API Gateway Integration

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		apiHandler, err := lambda.LookupAlias(ctx, &lambda.LookupAliasArgs{
			FunctionName: "api-handler",
			Name:         "live",
		}, nil)
		if err != nil {
			return err
		}
		_, err = apigateway.NewIntegration(ctx, "example", &apigateway.IntegrationArgs{
			RestApi:               pulumi.Any(exampleAwsApiGatewayRestApi.Id),
			ResourceId:            pulumi.Any(exampleAwsApiGatewayResource.Id),
			HttpMethod:            pulumi.Any(exampleAwsApiGatewayMethod.HttpMethod),
			IntegrationHttpMethod: pulumi.String("POST"),
			Type:                  pulumi.String("AWS_PROXY"),
			Uri:                   pulumi.String(apiHandler.InvokeArn),
		})
		if err != nil {
			return err
		}
		// Grant API Gateway permission to invoke the alias
		_, err = lambda.NewPermission(ctx, "api_gateway", &lambda.PermissionArgs{
			StatementId: pulumi.String("AllowExecutionFromAPIGateway"),
			Action:      pulumi.String("lambda:InvokeFunction"),
			Function:    pulumi.String(apiHandler.FunctionName),
			Principal:   pulumi.String("apigateway.amazonaws.com"),
			Qualifier:   pulumi.String(apiHandler.Name),
			SourceArn:   pulumi.Sprintf("%v/*/*", exampleAwsApiGatewayRestApi.ExecutionArn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Deployment Version Tracking

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get production alias details
		production, err := lambda.LookupAlias(ctx, &lambda.LookupAliasArgs{
			FunctionName: "payment-processor",
			Name:         "production",
		}, nil)
		if err != nil {
			return err
		}
		// Get staging alias details
		staging, err := lambda.LookupAlias(ctx, &lambda.LookupAliasArgs{
			FunctionName: "payment-processor",
			Name:         "staging",
		}, nil)
		if err != nil {
			return err
		}
		versionDrift := production.FunctionVersion != staging.FunctionVersion
		ctx.Export("deploymentStatus", pulumi.Map{
			"productionVersion": production.FunctionVersion,
			"stagingVersion":    staging.FunctionVersion,
			"versionDrift":      versionDrift,
			"readyForPromotion": pulumi.Bool(!versionDrift),
		})
		return nil
	})
}

```

### EventBridge Rule Target

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		eventProcessor, err := lambda.LookupAlias(ctx, &lambda.LookupAliasArgs{
			FunctionName: "event-processor",
			Name:         "stable",
		}, nil)
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"source": []string{
				"myapp.orders",
			},
			"detail-type": []string{
				"Order Placed",
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		example, err := cloudwatch.NewEventRule(ctx, "example", &cloudwatch.EventRuleArgs{
			Name:         pulumi.String("capture-events"),
			Description:  pulumi.String("Capture events for processing"),
			EventPattern: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "lambda", &cloudwatch.EventTargetArgs{
			Rule:     example.Name,
			TargetId: pulumi.String("SendToLambda"),
			Arn:      pulumi.String(eventProcessor.Arn),
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewPermission(ctx, "allow_eventbridge", &lambda.PermissionArgs{
			StatementId: pulumi.String("AllowExecutionFromEventBridge"),
			Action:      pulumi.String("lambda:InvokeFunction"),
			Function:    pulumi.String(eventProcessor.FunctionName),
			Principal:   pulumi.String("events.amazonaws.com"),
			Qualifier:   pulumi.String(eventProcessor.Name),
			SourceArn:   example.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAliasResultOutput

type LookupAliasResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlias.

func (LookupAliasResultOutput) Arn

ARN identifying the Lambda function alias.

func (LookupAliasResultOutput) Description

Description of the alias.

func (LookupAliasResultOutput) ElementType

func (LookupAliasResultOutput) ElementType() reflect.Type

func (LookupAliasResultOutput) FunctionName

func (o LookupAliasResultOutput) FunctionName() pulumi.StringOutput

func (LookupAliasResultOutput) FunctionVersion

func (o LookupAliasResultOutput) FunctionVersion() pulumi.StringOutput

Lambda function version which the alias uses.

func (LookupAliasResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAliasResultOutput) InvokeArn

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

func (LookupAliasResultOutput) Name

func (LookupAliasResultOutput) Region

func (LookupAliasResultOutput) ToLookupAliasResultOutput

func (o LookupAliasResultOutput) ToLookupAliasResultOutput() LookupAliasResultOutput

func (LookupAliasResultOutput) ToLookupAliasResultOutputWithContext

func (o LookupAliasResultOutput) ToLookupAliasResultOutputWithContext(ctx context.Context) LookupAliasResultOutput

type LookupCodeSigningConfigArgs

type LookupCodeSigningConfigArgs struct {
	// ARN of the code signing configuration.
	//
	// The following arguments are optional:
	Arn string `pulumi:"arn"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getCodeSigningConfig.

type LookupCodeSigningConfigOutputArgs

type LookupCodeSigningConfigOutputArgs struct {
	// ARN of the code signing configuration.
	//
	// The following arguments are optional:
	Arn pulumi.StringInput `pulumi:"arn"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getCodeSigningConfig.

func (LookupCodeSigningConfigOutputArgs) ElementType

type LookupCodeSigningConfigResult

type LookupCodeSigningConfigResult struct {
	// List of allowed publishers as signing profiles for this code signing configuration. See below.
	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"`
	// 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. See below.
	Policies []GetCodeSigningConfigPolicy `pulumi:"policies"`
	Region   string                       `pulumi:"region"`
}

A collection of values returned by getCodeSigningConfig.

func LookupCodeSigningConfig

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

Provides details about an AWS Lambda Code Signing Config. Use this data source to retrieve information about an existing code signing configuration for Lambda functions to ensure code integrity and authenticity.

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

### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lambda.LookupCodeSigningConfig(ctx, &lambda.LookupCodeSigningConfigArgs{
			Arn: "arn:aws:lambda:us-west-2:123456789012:code-signing-config:csc-0f6c334abcdea4d8b",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("configDetails", pulumi.StringMap{
			"configId":    example.ConfigId,
			"description": example.Description,
			"policy":      example.Policies[0].UntrustedArtifactOnDeployment,
		})
		return nil
	})
}

```

### Use in Lambda Function

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get existing code signing configuration
		securityConfig, err := lambda.LookupCodeSigningConfig(ctx, &lambda.LookupCodeSigningConfigArgs{
			Arn: codeSigningConfigArn,
		}, nil)
		if err != nil {
			return err
		}
		// Create Lambda function with code signing
		_, err = lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:                 pulumi.NewFileArchive("function.zip"),
			Name:                 pulumi.String("secure-function"),
			Role:                 pulumi.Any(lambdaRole.Arn),
			Handler:              pulumi.String("index.handler"),
			Runtime:              pulumi.String(lambda.RuntimeNodeJS20dX),
			CodeSigningConfigArn: pulumi.String(securityConfig.Arn),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
				"Security":    pulumi.String("code-signed"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Validate Signing Profiles

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lambda.LookupCodeSigningConfig(ctx, &lambda.LookupCodeSigningConfigArgs{
			Arn: codeSigningConfigArn,
		}, nil)
		if err != nil {
			return err
		}
		allowedProfiles := example.AllowedPublishers[0].SigningProfileVersionArns
		requiredProfile := "arn:aws:signer:us-west-2:123456789012:/signing-profiles/MyProfile"
		profileAllowed := std.Contains(ctx, &std.ContainsArgs{
			Input:   allowedProfiles,
			Element: requiredProfile,
		}, nil).Result
		// Conditional resource creation based on signing profile validation
		var tmp0 float64
		if profileAllowed {
			tmp0 = 1
		} else {
			tmp0 = 0
		}
		var conditional []*lambda.Function
		for index := 0; index < tmp0; index++ {
			key0 := index
			_ := index
			__res, err := lambda.NewFunction(ctx, fmt.Sprintf("conditional-%v", key0), &lambda.FunctionArgs{
				Code:                 pulumi.NewFileArchive("function.zip"),
				Name:                 pulumi.String("conditional-function"),
				Role:                 pulumi.Any(lambdaRole.Arn),
				Handler:              pulumi.String("index.handler"),
				Runtime:              pulumi.String(lambda.RuntimePython3d12),
				CodeSigningConfigArn: pulumi.String(example.Arn),
			})
			if err != nil {
				return err
			}
			conditional = append(conditional, __res)
		}
		var tmp1 string
		if profileAllowed {
			tmp1 = "Function deployed with valid signing profile"
		} else {
			tmp1 = "Deployment blocked - signing profile not allowed"
		}
		ctx.Export("deploymentStatus", pulumi.Map{
			"profileAllowed":  profileAllowed,
			"functionCreated": profileAllowed,
			"message":         tmp1,
		})
		return nil
	})
}

```

### Multi-Environment Configuration

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Production code signing config
		prod, err := lambda.LookupCodeSigningConfig(ctx, &lambda.LookupCodeSigningConfigArgs{
			Arn: "arn:aws:lambda:us-west-2:123456789012:code-signing-config:csc-prod-123",
		}, nil)
		if err != nil {
			return err
		}
		// Development code signing config
		dev, err := lambda.LookupCodeSigningConfig(ctx, &lambda.LookupCodeSigningConfigArgs{
			Arn: "arn:aws:lambda:us-west-2:123456789012:code-signing-config:csc-dev-456",
		}, nil)
		if err != nil {
			return err
		}
		prodPolicy := prod.Policies[0].UntrustedArtifactOnDeployment
		devPolicy := dev.Policies[0].UntrustedArtifactOnDeployment
		configComparison := map[string]interface{}{
			"prodEnforcement": prodPolicy,
			"devEnforcement":  devPolicy,
			"policiesMatch":   prodPolicy == devPolicy,
		}
		ctx.Export("environmentComparison", configComparison)
		return nil
	})
}

```

type LookupCodeSigningConfigResultOutput

type LookupCodeSigningConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCodeSigningConfig.

func (LookupCodeSigningConfigResultOutput) AllowedPublishers

List of allowed publishers as signing profiles for this code signing configuration. See below.

func (LookupCodeSigningConfigResultOutput) Arn

func (LookupCodeSigningConfigResultOutput) ConfigId

Unique identifier for the code signing configuration.

func (LookupCodeSigningConfigResultOutput) Description

Code signing configuration description.

func (LookupCodeSigningConfigResultOutput) ElementType

func (LookupCodeSigningConfigResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCodeSigningConfigResultOutput) LastModified

Date and time that the code signing configuration was last modified.

func (LookupCodeSigningConfigResultOutput) Policies

List of code signing policies that control the validation failure action for signature mismatch or expiry. See below.

func (LookupCodeSigningConfigResultOutput) Region

func (LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutput

func (o LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutput() LookupCodeSigningConfigResultOutput

func (LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutputWithContext

func (o LookupCodeSigningConfigResultOutput) ToLookupCodeSigningConfigResultOutputWithContext(ctx context.Context) LookupCodeSigningConfigResultOutput

type LookupFunctionArgs

type LookupFunctionArgs struct {
	// Name of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName string `pulumi:"functionName"`
	// Alias name or version number of the Lambda function. E.g., `$LATEST`, `my-alias`, or `1`. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version.
	Qualifier *string `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
	// Map of tags assigned to the Lambda Function.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getFunction.

type LookupFunctionOutputArgs

type LookupFunctionOutputArgs struct {
	// Name of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringInput `pulumi:"functionName"`
	// Alias name or version number of the Lambda function. E.g., `$LATEST`, `my-alias`, or `1`. When not included: the data source resolves to the most recent published version; if no published version exists: it resolves to the most recent unpublished version.
	Qualifier pulumi.StringPtrInput `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Map of tags assigned to the Lambda Function.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getFunction.

func (LookupFunctionOutputArgs) ElementType

func (LookupFunctionOutputArgs) ElementType() reflect.Type

type LookupFunctionResult

type LookupFunctionResult struct {
	// Instruction set architecture for the Lambda function.
	Architectures []string `pulumi:"architectures"`
	// ARN of the Amazon EFS Access Point that provides access to the file system.
	Arn string `pulumi:"arn"`
	// Base64-encoded representation of raw SHA-256 sum of the zip file.
	CodeSha256 string `pulumi:"codeSha256"`
	// ARN for a Code Signing Configuration.
	CodeSigningConfigArn string `pulumi:"codeSigningConfigArn"`
	// Configuration for the function's dead letter queue. See below.
	DeadLetterConfig GetFunctionDeadLetterConfig `pulumi:"deadLetterConfig"`
	// Description of what your Lambda Function does.
	Description string `pulumi:"description"`
	// Lambda environment's configuration settings. See below.
	Environment GetFunctionEnvironment `pulumi:"environment"`
	// Amount of ephemeral storage (`/tmp`) allocated for the Lambda Function. See below.
	EphemeralStorages []GetFunctionEphemeralStorage `pulumi:"ephemeralStorages"`
	// Connection settings for an Amazon EFS file system. See below.
	FileSystemConfigs []GetFunctionFileSystemConfig `pulumi:"fileSystemConfigs"`
	FunctionName      string                        `pulumi:"functionName"`
	// Function entrypoint in your code.
	Handler string `pulumi:"handler"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// URI of the container image.
	ImageUri string `pulumi:"imageUri"`
	// ARN to be used for invoking Lambda Function from API Gateway. **Note:** Starting with `v4.51.0` of the provider, this will not include the qualifier.
	InvokeArn string `pulumi:"invokeArn"`
	// ARN for the KMS encryption key.
	KmsKeyArn string `pulumi:"kmsKeyArn"`
	// Date this resource was last modified.
	LastModified string `pulumi:"lastModified"`
	// List of Lambda Layer ARNs attached to your Lambda Function.
	Layers []string `pulumi:"layers"`
	// Advanced logging settings. See below.
	LoggingConfigs []GetFunctionLoggingConfig `pulumi:"loggingConfigs"`
	// Amount of memory in MB your Lambda Function can use at runtime.
	MemorySize int `pulumi:"memorySize"`
	// Qualified (`:QUALIFIER` or `:VERSION` suffix) ARN identifying your Lambda Function. See also `arn`.
	QualifiedArn string `pulumi:"qualifiedArn"`
	// Qualified (`:QUALIFIER` or `:VERSION` suffix) ARN to be used for invoking Lambda Function from API Gateway. See also `invokeArn`.
	QualifiedInvokeArn string  `pulumi:"qualifiedInvokeArn"`
	Qualifier          *string `pulumi:"qualifier"`
	Region             string  `pulumi:"region"`
	// 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"`
	// Runtime environment for the Lambda function.
	Runtime string `pulumi:"runtime"`
	// ARN of a signing job.
	SigningJobArn string `pulumi:"signingJobArn"`
	// ARN for a signing profile version.
	SigningProfileVersionArn string `pulumi:"signingProfileVersionArn"`
	// (**Deprecated** use `codeSha256` instead) Base64-encoded representation of raw SHA-256 sum of the zip file.
	//
	// Deprecated: source_code_hash is deprecated. Use codeSha256 instead.
	SourceCodeHash string `pulumi:"sourceCodeHash"`
	// Size in bytes of the function .zip file.
	SourceCodeSize int `pulumi:"sourceCodeSize"`
	// ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package.
	SourceKmsKeyArn string `pulumi:"sourceKmsKeyArn"`
	// Map of tags assigned to the Lambda Function.
	Tags map[string]string `pulumi:"tags"`
	// Function execution time at which Lambda should terminate the function.
	Timeout int `pulumi:"timeout"`
	// Tracing settings of the function. See below.
	TracingConfig GetFunctionTracingConfig `pulumi:"tracingConfig"`
	// Version of the Lambda function returned. If `qualifier` is not set, this will resolve to the most recent published version. If no published version of the function exists, `version` will resolve to `$LATEST`.
	Version string `pulumi:"version"`
	// VPC configuration associated with your Lambda function. See below.
	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 details about an AWS Lambda Function. Use this data source to obtain information about an existing Lambda function for use in other resources or as a reference for function configurations.

> **Note:** This data source returns information about the latest version or alias specified by the `qualifier`. If no `qualifier` is provided, it returns information about the most recent published version, or `$LATEST` if no published version exists.

## Example Usage

### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
			FunctionName: "my-lambda-function",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("functionArn", example.Arn)
		return nil
	})
}

```

### Using Function Alias

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
			FunctionName: "api-handler",
			Qualifier:    pulumi.StringRef("production"),
		}, nil)
		if err != nil {
			return err
		}
		// Use in API Gateway integration
		_, err = apigateway.NewIntegration(ctx, "example", &apigateway.IntegrationArgs{
			RestApi:               pulumi.Any(exampleAwsApiGatewayRestApi.Id),
			ResourceId:            pulumi.Any(exampleAwsApiGatewayResource.Id),
			HttpMethod:            pulumi.Any(exampleAwsApiGatewayMethod.HttpMethod),
			IntegrationHttpMethod: pulumi.String("POST"),
			Type:                  pulumi.String("AWS_PROXY"),
			Uri:                   pulumi.String(example.InvokeArn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Function Configuration Reference

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get existing function details
		reference, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
			FunctionName: "existing-function",
		}, nil)
		if err != nil {
			return err
		}
		// Create new function with similar configuration
		_, err = lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:          pulumi.NewFileArchive("new-function.zip"),
			Name:          pulumi.String("new-function"),
			Role:          pulumi.String(reference.Role),
			Handler:       pulumi.String(reference.Handler),
			Runtime:       reference.Runtime.ApplyT(func(x *string) lambda.Runtime { return lambda.Runtime(*x) }).(lambda.RuntimeOutput),
			MemorySize:    pulumi.Int(reference.MemorySize),
			Timeout:       pulumi.Int(reference.Timeout),
			Architectures: interface{}(reference.Architectures),
			VpcConfig: &lambda.FunctionVpcConfigArgs{
				SubnetIds:        interface{}(reference.VpcConfig.SubnetIds),
				SecurityGroupIds: interface{}(reference.VpcConfig.SecurityGroupIds),
			},
			Environment: &lambda.FunctionEnvironmentArgs{
				Variables: pulumi.StringMap(reference.Environment.Variables),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Function Version Management

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get details about specific version
		version, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
			FunctionName: "my-function",
			Qualifier:    pulumi.StringRef("3"),
		}, nil)
		if err != nil {
			return err
		}
		// Get details about latest version
		latest, err := lambda.LookupFunction(ctx, &lambda.LookupFunctionArgs{
			FunctionName: "my-function",
			Qualifier:    pulumi.StringRef("$LATEST"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("versionComparison", pulumi.Map{
			"specificVersion": version.Version,
			"latestVersion":   latest.Version,
			"codeDifference":  pulumi.Bool(version.CodeSha256 != latest.CodeSha256),
		})
		return nil
	})
}

```

type LookupFunctionResultOutput

type LookupFunctionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFunction.

func (LookupFunctionResultOutput) Architectures

Instruction set architecture for the Lambda function.

func (LookupFunctionResultOutput) Arn

ARN of the Amazon EFS Access Point that provides access to the file system.

func (LookupFunctionResultOutput) CodeSha256

Base64-encoded representation of raw SHA-256 sum of the zip file.

func (LookupFunctionResultOutput) CodeSigningConfigArn

func (o LookupFunctionResultOutput) CodeSigningConfigArn() pulumi.StringOutput

ARN for a Code Signing Configuration.

func (LookupFunctionResultOutput) DeadLetterConfig

Configuration for the function's dead letter queue. See below.

func (LookupFunctionResultOutput) Description

Description of what your Lambda Function does.

func (LookupFunctionResultOutput) ElementType

func (LookupFunctionResultOutput) ElementType() reflect.Type

func (LookupFunctionResultOutput) Environment

Lambda environment's configuration settings. See below.

func (LookupFunctionResultOutput) EphemeralStorages

Amount of ephemeral storage (`/tmp`) allocated for the Lambda Function. See below.

func (LookupFunctionResultOutput) FileSystemConfigs

Connection settings for an Amazon EFS file system. See below.

func (LookupFunctionResultOutput) FunctionName

func (LookupFunctionResultOutput) Handler

Function entrypoint in your code.

func (LookupFunctionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupFunctionResultOutput) ImageUri

URI of the container image.

func (LookupFunctionResultOutput) InvokeArn

ARN to be used for invoking Lambda Function from API Gateway. **Note:** Starting with `v4.51.0` of the provider, this will not include the qualifier.

func (LookupFunctionResultOutput) KmsKeyArn

ARN for the KMS encryption key.

func (LookupFunctionResultOutput) LastModified

Date this resource was last modified.

func (LookupFunctionResultOutput) Layers

List of Lambda Layer ARNs attached to your Lambda Function.

func (LookupFunctionResultOutput) LoggingConfigs

Advanced logging settings. See below.

func (LookupFunctionResultOutput) MemorySize

Amount of memory in MB your Lambda Function can use at runtime.

func (LookupFunctionResultOutput) QualifiedArn

Qualified (`:QUALIFIER` or `:VERSION` suffix) ARN identifying your Lambda Function. See also `arn`.

func (LookupFunctionResultOutput) QualifiedInvokeArn

func (o LookupFunctionResultOutput) QualifiedInvokeArn() pulumi.StringOutput

Qualified (`:QUALIFIER` or `:VERSION` suffix) ARN to be used for invoking Lambda Function from API Gateway. See also `invokeArn`.

func (LookupFunctionResultOutput) Qualifier

func (LookupFunctionResultOutput) Region

func (LookupFunctionResultOutput) ReservedConcurrentExecutions

func (o LookupFunctionResultOutput) ReservedConcurrentExecutions() pulumi.IntOutput

Amount of reserved concurrent executions for this Lambda function or `-1` if unreserved.

func (LookupFunctionResultOutput) Role

IAM role attached to the Lambda Function.

func (LookupFunctionResultOutput) Runtime

Runtime environment for the Lambda function.

func (LookupFunctionResultOutput) SigningJobArn

ARN of a signing job.

func (LookupFunctionResultOutput) SigningProfileVersionArn

func (o LookupFunctionResultOutput) SigningProfileVersionArn() pulumi.StringOutput

ARN for a signing profile version.

func (LookupFunctionResultOutput) SourceCodeHash deprecated

func (o LookupFunctionResultOutput) SourceCodeHash() pulumi.StringOutput

(**Deprecated** use `codeSha256` instead) Base64-encoded representation of raw SHA-256 sum of the zip file.

Deprecated: source_code_hash is deprecated. Use codeSha256 instead.

func (LookupFunctionResultOutput) SourceCodeSize

func (o LookupFunctionResultOutput) SourceCodeSize() pulumi.IntOutput

Size in bytes of the function .zip file.

func (LookupFunctionResultOutput) SourceKmsKeyArn added in v7.8.0

func (o LookupFunctionResultOutput) SourceKmsKeyArn() pulumi.StringOutput

ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package.

func (LookupFunctionResultOutput) Tags

Map of tags assigned to the Lambda Function.

func (LookupFunctionResultOutput) Timeout

Function execution time at which Lambda should terminate the function.

func (LookupFunctionResultOutput) ToLookupFunctionResultOutput

func (o LookupFunctionResultOutput) ToLookupFunctionResultOutput() LookupFunctionResultOutput

func (LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext

func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx context.Context) LookupFunctionResultOutput

func (LookupFunctionResultOutput) TracingConfig

Tracing settings of the function. See below.

func (LookupFunctionResultOutput) Version

Version of the Lambda function returned. If `qualifier` is not set, this will resolve to the most recent published version. If no published version of the function exists, `version` will resolve to `$LATEST`.

func (LookupFunctionResultOutput) VpcConfig

VPC configuration associated with your Lambda function. See below.

type LookupFunctionUrlArgs

type LookupFunctionUrlArgs struct {
	// Name or ARN of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName string `pulumi:"functionName"`
	// Alias name or `$LATEST`.
	Qualifier *string `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getFunctionUrl.

type LookupFunctionUrlOutputArgs

type LookupFunctionUrlOutputArgs struct {
	// Name or ARN of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringInput `pulumi:"functionName"`
	// Alias name or `$LATEST`.
	Qualifier pulumi.StringPtrInput `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getFunctionUrl.

func (LookupFunctionUrlOutputArgs) ElementType

type LookupFunctionUrlResult

type LookupFunctionUrlResult struct {
	// Type of authentication that the function URL uses.
	AuthorizationType string `pulumi:"authorizationType"`
	// Cross-origin resource sharing (CORS) settings for the function URL. See below.
	Cors []GetFunctionUrlCor `pulumi:"cors"`
	// When the function URL was created, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime).
	CreationTime string `pulumi:"creationTime"`
	// ARN of the function.
	FunctionArn  string `pulumi:"functionArn"`
	FunctionName string `pulumi:"functionName"`
	// HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws/`.
	FunctionUrl string `pulumi:"functionUrl"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Whether the Lambda function responds in `BUFFERED` or `RESPONSE_STREAM` mode.
	InvokeMode string `pulumi:"invokeMode"`
	// When the function URL configuration was last updated, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime).
	LastModifiedTime string  `pulumi:"lastModifiedTime"`
	Qualifier        *string `pulumi:"qualifier"`
	Region           string  `pulumi:"region"`
	// Generated ID for the endpoint.
	UrlId string `pulumi:"urlId"`
}

A collection of values returned by getFunctionUrl.

func LookupFunctionUrl

func LookupFunctionUrl(ctx *pulumi.Context, args *LookupFunctionUrlArgs, opts ...pulumi.InvokeOption) (*LookupFunctionUrlResult, error)

Provides details about an AWS Lambda Function URL. Use this data source to retrieve information about an existing function URL configuration.

## Example Usage

### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lambda.LookupFunctionUrl(ctx, &lambda.LookupFunctionUrlArgs{
			FunctionName: "my_lambda_function",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("functionUrl", example.FunctionUrl)
		return nil
	})
}

```

### With Qualifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/route53"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lambda.LookupFunctionUrl(ctx, &lambda.LookupFunctionUrlArgs{
			FunctionName: exampleAwsLambdaFunction.FunctionName,
			Qualifier:    pulumi.StringRef("production"),
		}, nil)
		if err != nil {
			return err
		}
		invokeReplace, err := std.Replace(ctx, &std.ReplaceArgs{
			Text:    example.FunctionUrl,
			Search:  "https://",
			Replace: "",
		}, nil)
		if err != nil {
			return err
		}
		// Use the URL in other resources
		_, err = route53.NewRecord(ctx, "lambda_alias", &route53.RecordArgs{
			ZoneId: pulumi.Any(exampleAwsRoute53Zone.ZoneId),
			Name:   pulumi.String("api.example.com"),
			Type:   pulumi.String(route53.RecordTypeCNAME),
			Ttl:    pulumi.Int(300),
			Records: pulumi.StringArray{
				pulumi.String(invokeReplace.Result),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Retrieve CORS Configuration

```go package main

import (

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

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := lambda.LookupFunctionUrl(ctx, &lambda.LookupFunctionUrlArgs{ FunctionName: "api_function", }, nil); if err != nil { return err } var tmp0 if length > 0 { tmp0 = example.Cors[0] } else { tmp0 = nil } corsConfig := len(example.Cors).ApplyT(func(length int) (lambda.GetFunctionUrlCor, error) { return tmp0, nil }).(lambda.GetFunctionUrlCorOutput) var tmp1 interface{} if corsConfig != nil { tmp1 = corsConfig.AllowOrigins } else { tmp1 = []interface{}{ } } allowedOrigins := tmp1; ctx.Export("corsAllowedOrigins", allowedOrigins) return nil }) } ```

type LookupFunctionUrlResultOutput

type LookupFunctionUrlResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFunctionUrl.

func (LookupFunctionUrlResultOutput) AuthorizationType

func (o LookupFunctionUrlResultOutput) AuthorizationType() pulumi.StringOutput

Type of authentication that the function URL uses.

func (LookupFunctionUrlResultOutput) Cors

Cross-origin resource sharing (CORS) settings for the function URL. See below.

func (LookupFunctionUrlResultOutput) CreationTime

When the function URL was created, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime).

func (LookupFunctionUrlResultOutput) ElementType

func (LookupFunctionUrlResultOutput) FunctionArn

ARN of the function.

func (LookupFunctionUrlResultOutput) FunctionName

func (LookupFunctionUrlResultOutput) FunctionUrl

HTTP URL endpoint for the function in the format `https://<url_id>.lambda-url.<region>.on.aws/`.

func (LookupFunctionUrlResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupFunctionUrlResultOutput) InvokeMode

Whether the Lambda function responds in `BUFFERED` or `RESPONSE_STREAM` mode.

func (LookupFunctionUrlResultOutput) LastModifiedTime

func (o LookupFunctionUrlResultOutput) LastModifiedTime() pulumi.StringOutput

When the function URL configuration was last updated, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime).

func (LookupFunctionUrlResultOutput) Qualifier

func (LookupFunctionUrlResultOutput) Region

func (LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutput

func (o LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutput() LookupFunctionUrlResultOutput

func (LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutputWithContext

func (o LookupFunctionUrlResultOutput) ToLookupFunctionUrlResultOutputWithContext(ctx context.Context) LookupFunctionUrlResultOutput

func (LookupFunctionUrlResultOutput) UrlId

Generated ID for the endpoint.

type LookupInvocationArgs

type LookupInvocationArgs struct {
	// Name of the Lambda function.
	FunctionName string `pulumi:"functionName"`
	// String in JSON format that is passed as payload to the Lambda function.
	//
	// The following arguments are optional:
	Input string `pulumi:"input"`
	// Qualifier (a.k.a version) of the Lambda function. Defaults to `$LATEST`.
	Qualifier *string `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getInvocation.

type LookupInvocationOutputArgs

type LookupInvocationOutputArgs struct {
	// Name of the Lambda function.
	FunctionName pulumi.StringInput `pulumi:"functionName"`
	// String in JSON format that is passed as payload to the Lambda function.
	//
	// The following arguments are optional:
	Input pulumi.StringInput `pulumi:"input"`
	// Qualifier (a.k.a version) of the Lambda function. Defaults to `$LATEST`.
	Qualifier pulumi.StringPtrInput `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getInvocation.

func (LookupInvocationOutputArgs) ElementType

func (LookupInvocationOutputArgs) ElementType() reflect.Type

type LookupInvocationResult

type LookupInvocationResult 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"`
	Region    string  `pulumi:"region"`
	// String result of the Lambda function invocation.
	Result string `pulumi:"result"`
}

A collection of values returned by getInvocation.

func LookupInvocation

func LookupInvocation(ctx *pulumi.Context, args *LookupInvocationArgs, opts ...pulumi.InvokeOption) (*LookupInvocationResult, error)

Invokes an AWS Lambda Function and returns its results. Use this data source to execute Lambda functions during Pulumi operations and use their results in other resources or outputs.

The Lambda function is invoked with [RequestResponse](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) invocation type.

> **Note:** The `lambda.Invocation` data source invokes the function during the first `apply` and every subsequent `plan` when the function is known.

> **Note:** If you get a `KMSAccessDeniedException: Lambda was unable to decrypt the environment variables because KMS access was denied` error when invoking a Lambda function with environment variables, the IAM role associated with the function may have been deleted and recreated after the function was created. You can fix the problem two ways: 1) updating the function's role to another role and then updating it back again to the recreated role. (When you create a function, Lambda grants permissions on the KMS key to the function's IAM role. If the IAM role is recreated, the grant is no longer valid. Changing the function's role or recreating the function causes Lambda to update the grant.)

## Example Usage

### Basic Invocation

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"operation": "getStatus",
			"id":        "123456",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		example, err := lambda.LookupInvocation(ctx, &lambda.LookupInvocationArgs{
			FunctionName: exampleAwsLambdaFunction.FunctionName,
			Input:        json0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("result", pulumi.Any(std.Jsondecode(ctx, &std.JsondecodeArgs{
			Input: example.Result,
		}, nil).Result))
		return nil
	})
}

```

### Dynamic Resource Configuration

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/elasticache"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"environment": environment,
			"region":      current.Region,
			"service":     "api",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		// Get resource configuration from Lambda
		resourceConfig, err := lambda.LookupInvocation(ctx, &lambda.LookupInvocationArgs{
			FunctionName: "resource-config-generator",
			Qualifier:    pulumi.StringRef("production"),
			Input:        json0,
		}, nil)
		if err != nil {
			return err
		}
		config := std.Jsondecode(ctx, &std.JsondecodeArgs{
			Input: resourceConfig.Result,
		}, nil).Result
		// Use dynamic configuration
		_, err = elasticache.NewCluster(ctx, "example", &elasticache.ClusterArgs{
			ClusterId:          pulumi.Any(config.Cache.ClusterId),
			Engine:             pulumi.Any(config.Cache.Engine),
			NodeType:           pulumi.Any(config.Cache.NodeType),
			NumCacheNodes:      pulumi.Any(config.Cache.Nodes),
			ParameterGroupName: pulumi.Any(config.Cache.ParameterGroup),
			Tags:               pulumi.Any(config.Tags),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupInvocationResultOutput

type LookupInvocationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInvocation.

func (LookupInvocationResultOutput) ElementType

func (LookupInvocationResultOutput) FunctionName

func (LookupInvocationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupInvocationResultOutput) Input

func (LookupInvocationResultOutput) Qualifier

func (LookupInvocationResultOutput) Region

func (LookupInvocationResultOutput) Result

String result of the Lambda function invocation.

func (LookupInvocationResultOutput) ToLookupInvocationResultOutput

func (o LookupInvocationResultOutput) ToLookupInvocationResultOutput() LookupInvocationResultOutput

func (LookupInvocationResultOutput) ToLookupInvocationResultOutputWithContext

func (o LookupInvocationResultOutput) ToLookupInvocationResultOutputWithContext(ctx context.Context) LookupInvocationResultOutput

type LookupLayerVersionArgs

type LookupLayerVersionArgs struct {
	// Specific architecture the layer version must support. Conflicts with `version`. If specified, the latest available layer version supporting the provided architecture will be used.
	CompatibleArchitecture *string `pulumi:"compatibleArchitecture"`
	// 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.
	//
	// The following arguments are optional:
	LayerName string `pulumi:"layerName"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
	// Specific layer version. Conflicts with `compatibleRuntime` and `compatibleArchitecture`. If omitted, the latest available layer version will be used.
	Version *int `pulumi:"version"`
}

A collection of arguments for invoking getLayerVersion.

type LookupLayerVersionOutputArgs

type LookupLayerVersionOutputArgs struct {
	// Specific architecture the layer version must support. Conflicts with `version`. If specified, the latest available layer version supporting the provided architecture will be used.
	CompatibleArchitecture pulumi.StringPtrInput `pulumi:"compatibleArchitecture"`
	// 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 pulumi.StringPtrInput `pulumi:"compatibleRuntime"`
	// Name of the Lambda layer.
	//
	// The following arguments are optional:
	LayerName pulumi.StringInput `pulumi:"layerName"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Specific layer version. Conflicts with `compatibleRuntime` and `compatibleArchitecture`. If omitted, the latest available layer version will be used.
	Version pulumi.IntPtrInput `pulumi:"version"`
}

A collection of arguments for invoking getLayerVersion.

func (LookupLayerVersionOutputArgs) ElementType

type LookupLayerVersionResult

type LookupLayerVersionResult struct {
	// ARN of the Lambda Layer with version.
	Arn string `pulumi:"arn"`
	// Base64-encoded representation of raw SHA-256 sum of the zip file.
	CodeSha256             string  `pulumi:"codeSha256"`
	CompatibleArchitecture *string `pulumi:"compatibleArchitecture"`
	// List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersion.html#SSS-GetLayerVersion-response-CompatibleArchitectures) the specific Lambda Layer version is compatible with.
	CompatibleArchitectures []string `pulumi:"compatibleArchitectures"`
	CompatibleRuntime       *string  `pulumi:"compatibleRuntime"`
	// 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"`
	// 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"`
	// 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"`
	Region      string `pulumi:"region"`
	// ARN of a signing job.
	SigningJobArn string `pulumi:"signingJobArn"`
	// ARN for a signing profile version.
	SigningProfileVersionArn string `pulumi:"signingProfileVersionArn"`
	// (**Deprecated** use `codeSha256` instead) Base64-encoded representation of raw SHA-256 sum of the zip file.
	//
	// Deprecated: source_code_hash is deprecated. Use codeSha256 instead.
	SourceCodeHash string `pulumi:"sourceCodeHash"`
	// Size in bytes of the function .zip file.
	SourceCodeSize int `pulumi:"sourceCodeSize"`
	// Lambda 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 details about an AWS Lambda Layer Version. Use this data source to retrieve information about a specific layer version or find the latest version compatible with your runtime and architecture requirements.

## Example Usage

### Get Latest Layer Version

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lambda.LookupLayerVersion(ctx, &lambda.LookupLayerVersionArgs{
			LayerName: "my-shared-utilities",
		}, nil)
		if err != nil {
			return err
		}
		// Use the layer in a Lambda function
		_, err = lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("function.zip"),
			Name:    pulumi.String("example_function"),
			Role:    pulumi.Any(lambdaRole.Arn),
			Handler: pulumi.String("index.handler"),
			Runtime: pulumi.String(lambda.RuntimeNodeJS20dX),
			Layers: pulumi.StringArray{
				pulumi.String(example.Arn),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Get Specific Layer Version

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := lambda.LookupLayerVersion(ctx, &lambda.LookupLayerVersionArgs{
			LayerName: "production-utilities",
			Version:   pulumi.IntRef(5),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("layerInfo", pulumi.Map{
			"arn":         example.Arn,
			"version":     example.Version,
			"description": example.Description,
		})
		return nil
	})
}

```

### Get Latest Compatible Layer Version

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Find latest layer version compatible with Python 3.12
		pythonLayer, err := lambda.LookupLayerVersion(ctx, &lambda.LookupLayerVersionArgs{
			LayerName:         "python-dependencies",
			CompatibleRuntime: pulumi.StringRef("python3.12"),
		}, nil)
		if err != nil {
			return err
		}
		// Find latest layer version compatible with ARM64 architecture
		armLayer, err := lambda.LookupLayerVersion(ctx, &lambda.LookupLayerVersionArgs{
			LayerName:              "optimized-libraries",
			CompatibleArchitecture: pulumi.StringRef("arm64"),
		}, nil)
		if err != nil {
			return err
		}
		// Use both layers in a function
		_, err = lambda.NewFunction(ctx, "example", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("function.zip"),
			Name:    pulumi.String("multi_layer_function"),
			Role:    pulumi.Any(lambdaRole.Arn),
			Handler: pulumi.String("app.handler"),
			Runtime: pulumi.String(lambda.RuntimePython3d12),
			Architectures: pulumi.StringArray{
				pulumi.String("arm64"),
			},
			Layers: pulumi.StringArray{
				pulumi.String(pythonLayer.Arn),
				pulumi.String(armLayer.Arn),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Compare Layer Versions

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get latest version
		latest, err := lambda.LookupLayerVersion(ctx, &lambda.LookupLayerVersionArgs{
			LayerName: "shared-layer",
		}, nil)
		if err != nil {
			return err
		}
		// Get specific version for comparison
		stable, err := lambda.LookupLayerVersion(ctx, &lambda.LookupLayerVersionArgs{
			LayerName: "shared-layer",
			Version:   pulumi.IntRef(3),
		}, nil)
		if err != nil {
			return err
		}
		useLatestLayer := latest.Version > 5
		var tmp0 *string
		if useLatestLayer {
			tmp0 = latest.Arn
		} else {
			tmp0 = stable.Arn
		}
		_ := tmp0
		var tmp1 *int
		if useLatestLayer {
			tmp1 = latest.Version
		} else {
			tmp1 = stable.Version
		}
		ctx.Export("selectedLayerVersion", tmp1)
		return nil
	})
}

```

type LookupLayerVersionResultOutput

type LookupLayerVersionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLayerVersion.

func (LookupLayerVersionResultOutput) Arn

ARN of the Lambda Layer with version.

func (LookupLayerVersionResultOutput) CodeSha256

Base64-encoded representation of raw SHA-256 sum of the zip file.

func (LookupLayerVersionResultOutput) CompatibleArchitecture

func (o LookupLayerVersionResultOutput) CompatibleArchitecture() pulumi.StringPtrOutput

func (LookupLayerVersionResultOutput) CompatibleArchitectures

func (o LookupLayerVersionResultOutput) CompatibleArchitectures() pulumi.StringArrayOutput

List of [Architectures](https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersion.html#SSS-GetLayerVersion-response-CompatibleArchitectures) the specific Lambda Layer version is compatible with.

func (LookupLayerVersionResultOutput) CompatibleRuntime

func (LookupLayerVersionResultOutput) CompatibleRuntimes

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.

func (LookupLayerVersionResultOutput) CreatedDate

Date this resource was created.

func (LookupLayerVersionResultOutput) Description

Description of the specific Lambda Layer version.

func (LookupLayerVersionResultOutput) ElementType

func (LookupLayerVersionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupLayerVersionResultOutput) LayerArn

ARN of the Lambda Layer without version.

func (LookupLayerVersionResultOutput) LayerName

func (LookupLayerVersionResultOutput) LicenseInfo

License info associated with the specific Lambda Layer version.

func (LookupLayerVersionResultOutput) Region

func (LookupLayerVersionResultOutput) SigningJobArn

ARN of a signing job.

func (LookupLayerVersionResultOutput) SigningProfileVersionArn

func (o LookupLayerVersionResultOutput) SigningProfileVersionArn() pulumi.StringOutput

ARN for a signing profile version.

func (LookupLayerVersionResultOutput) SourceCodeHash deprecated

(**Deprecated** use `codeSha256` instead) Base64-encoded representation of raw SHA-256 sum of the zip file.

Deprecated: source_code_hash is deprecated. Use codeSha256 instead.

func (LookupLayerVersionResultOutput) SourceCodeSize

func (o LookupLayerVersionResultOutput) SourceCodeSize() pulumi.IntOutput

Size in bytes of the function .zip file.

func (LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutput

func (o LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutput() LookupLayerVersionResultOutput

func (LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutputWithContext

func (o LookupLayerVersionResultOutput) ToLookupLayerVersionResultOutputWithContext(ctx context.Context) LookupLayerVersionResultOutput

func (LookupLayerVersionResultOutput) Version

Lambda Layer version.

type Permission

type Permission struct {
	pulumi.CustomResourceState

	// Lambda action to allow in this statement (e.g., `lambda:InvokeFunction`)
	Action pulumi.StringOutput `pulumi:"action"`
	// Event Source Token for Alexa Skills
	EventSourceToken pulumi.StringPtrOutput `pulumi:"eventSourceToken"`
	// Name or ARN of the Lambda function
	Function pulumi.StringOutput `pulumi:"function"`
	// Lambda Function URL authentication type. Valid values: `AWS_IAM` or `NONE`. Only valid with `lambda:InvokeFunctionUrl` action
	FunctionUrlAuthType pulumi.StringPtrOutput `pulumi:"functionUrlAuthType"`
	// AWS service or account that invokes the function (e.g., `s3.amazonaws.com`, `sns.amazonaws.com`, AWS account ID, or AWS IAM principal)
	//
	// The following arguments are optional:
	Principal pulumi.StringOutput `pulumi:"principal"`
	// AWS Organizations ID to grant permission to all accounts under this organization
	PrincipalOrgId pulumi.StringPtrOutput `pulumi:"principalOrgId"`
	// Lambda function version or alias name
	Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration
	Region pulumi.StringOutput `pulumi:"region"`
	// AWS account ID of the source owner for cross-account access, S3, or SES
	SourceAccount pulumi.StringPtrOutput `pulumi:"sourceAccount"`
	// ARN of the source resource granting permission to invoke the Lambda function
	SourceArn pulumi.StringPtrOutput `pulumi:"sourceArn"`
	// Statement identifier. Generated by Pulumi if not provided
	StatementId pulumi.StringOutput `pulumi:"statementId"`
	// Statement identifier prefix. Conflicts with `statementId`
	StatementIdPrefix pulumi.StringOutput `pulumi:"statementIdPrefix"`
}

Manages an AWS Lambda permission. Use this resource to grant external sources (e.g., EventBridge Rules, SNS, or S3) permission to invoke Lambda functions.

## Example Usage

### Basic Usage with EventBridge

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Action": "sts:AssumeRole",
					"Effect": "Allow",
					"Sid":    "",
					"Principal": map[string]interface{}{
						"Service": "lambda.amazonaws.com",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		iamForLambda, err := iam.NewRole(ctx, "iam_for_lambda", &iam.RoleArgs{
			Name:             pulumi.String("iam_for_lambda"),
			AssumeRolePolicy: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		testLambda, err := lambda.NewFunction(ctx, "test_lambda", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("lambdatest.zip"),
			Name:    pulumi.String("lambda_function_name"),
			Role:    iamForLambda.Arn,
			Handler: pulumi.String("exports.handler"),
			Runtime: pulumi.String(lambda.RuntimeNodeJS20dX),
		})
		if err != nil {
			return err
		}
		testAlias, err := lambda.NewAlias(ctx, "test_alias", &lambda.AliasArgs{
			Name:            pulumi.String("testalias"),
			Description:     pulumi.String("a sample description"),
			FunctionName:    testLambda.Name,
			FunctionVersion: pulumi.String("$LATEST"),
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewPermission(ctx, "allow_cloudwatch", &lambda.PermissionArgs{
			StatementId: pulumi.String("AllowExecutionFromCloudWatch"),
			Action:      pulumi.String("lambda:InvokeFunction"),
			Function:    testLambda.Name,
			Principal:   pulumi.String("events.amazonaws.com"),
			SourceArn:   pulumi.String("arn:aws:events:eu-west-1:111122223333:rule/RunDaily"),
			Qualifier:   testAlias.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### SNS Integration

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := sns.NewTopic(ctx, "default", &sns.TopicArgs{
			Name: pulumi.String("call-lambda-maybe"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Action": "sts:AssumeRole",
					"Effect": "Allow",
					"Sid":    "",
					"Principal": map[string]interface{}{
						"Service": "lambda.amazonaws.com",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		defaultRole, err := iam.NewRole(ctx, "default", &iam.RoleArgs{
			Name:             pulumi.String("iam_for_lambda_with_sns"),
			AssumeRolePolicy: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		_func, err := lambda.NewFunction(ctx, "func", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("lambdatest.zip"),
			Name:    pulumi.String("lambda_called_from_sns"),
			Role:    defaultRole.Arn,
			Handler: pulumi.String("exports.handler"),
			Runtime: pulumi.String(lambda.RuntimePython3d12),
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewPermission(ctx, "with_sns", &lambda.PermissionArgs{
			StatementId: pulumi.String("AllowExecutionFromSNS"),
			Action:      pulumi.String("lambda:InvokeFunction"),
			Function:    _func.Name,
			Principal:   pulumi.String("sns.amazonaws.com"),
			SourceArn:   _default.Arn,
		})
		if err != nil {
			return err
		}
		_, err = sns.NewTopicSubscription(ctx, "lambda", &sns.TopicSubscriptionArgs{
			Topic:    _default.Arn,
			Protocol: pulumi.String("lambda"),
			Endpoint: _func.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### API Gateway REST API Integration

```go package main

import (

"fmt"

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

)

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

```

### CloudWatch Log Group Integration

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lambda"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := cloudwatch.NewLogGroup(ctx, "default", &cloudwatch.LogGroupArgs{
			Name: pulumi.String("/default"),
		})
		if err != nil {
			return err
		}
		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"lambda.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		defaultRole, err := iam.NewRole(ctx, "default", &iam.RoleArgs{
			Name:             pulumi.String("iam_for_lambda_called_from_cloudwatch_logs"),
			AssumeRolePolicy: pulumi.String(assumeRole.Json),
		})
		if err != nil {
			return err
		}
		loggingFunction, err := lambda.NewFunction(ctx, "logging", &lambda.FunctionArgs{
			Code:    pulumi.NewFileArchive("lamba_logging.zip"),
			Name:    pulumi.String("lambda_called_from_cloudwatch_logs"),
			Handler: pulumi.String("exports.handler"),
			Role:    defaultRole.Arn,
			Runtime: pulumi.String(lambda.RuntimePython3d12),
		})
		if err != nil {
			return err
		}
		logging, err := lambda.NewPermission(ctx, "logging", &lambda.PermissionArgs{
			Action:    pulumi.String("lambda:InvokeFunction"),
			Function:  loggingFunction.Name,
			Principal: pulumi.String("logs.eu-west-1.amazonaws.com"),
			SourceArn: _default.Arn.ApplyT(func(arn string) (string, error) {
				return fmt.Sprintf("%v:*", arn), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewLogSubscriptionFilter(ctx, "logging", &cloudwatch.LogSubscriptionFilterArgs{
			DestinationArn: loggingFunction.Arn,
			FilterPattern:  pulumi.String(""),
			LogGroup:       _default.Name,
			Name:           pulumi.String("logging_default"),
		}, pulumi.DependsOn([]pulumi.Resource{
			logging,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Cross-Account Function URL Access

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewFunctionUrl(ctx, "url", &lambda.FunctionUrlArgs{
			FunctionName:      pulumi.Any(example.FunctionName),
			AuthorizationType: pulumi.String("AWS_IAM"),
		})
		if err != nil {
			return err
		}
		_, err = lambda.NewPermission(ctx, "url", &lambda.PermissionArgs{
			Action:              pulumi.String("lambda:InvokeFunctionUrl"),
			Function:            pulumi.Any(example.FunctionName),
			Principal:           pulumi.String("arn:aws:iam::444455556666:role/example"),
			SourceAccount:       pulumi.String("444455556666"),
			FunctionUrlAuthType: pulumi.String("AWS_IAM"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

func (*Permission) ElementType() reflect.Type

func (*Permission) ToPermissionOutput

func (i *Permission) ToPermissionOutput() PermissionOutput

func (*Permission) ToPermissionOutputWithContext

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

type PermissionArgs

type PermissionArgs struct {
	// Lambda action to allow in this statement (e.g., `lambda:InvokeFunction`)
	Action pulumi.StringInput
	// Event Source Token for Alexa Skills
	EventSourceToken pulumi.StringPtrInput
	// Name or ARN of the Lambda function
	Function pulumi.Input
	// Lambda Function URL authentication type. Valid values: `AWS_IAM` or `NONE`. Only valid with `lambda:InvokeFunctionUrl` action
	FunctionUrlAuthType pulumi.StringPtrInput
	// AWS service or account that invokes the function (e.g., `s3.amazonaws.com`, `sns.amazonaws.com`, AWS account ID, or AWS IAM principal)
	//
	// The following arguments are optional:
	Principal pulumi.StringInput
	// AWS Organizations ID to grant permission to all accounts under this organization
	PrincipalOrgId pulumi.StringPtrInput
	// Lambda function version or alias name
	Qualifier pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration
	Region pulumi.StringPtrInput
	// AWS account ID of the source owner for cross-account access, S3, or SES
	SourceAccount pulumi.StringPtrInput
	// ARN of the source resource granting permission to invoke the Lambda function
	SourceArn pulumi.StringPtrInput
	// Statement identifier. Generated by Pulumi if not provided
	StatementId pulumi.StringPtrInput
	// Statement identifier prefix. Conflicts with `statementId`
	StatementIdPrefix pulumi.StringPtrInput
}

The set of arguments for constructing a Permission resource.

func (PermissionArgs) ElementType

func (PermissionArgs) ElementType() reflect.Type

type PermissionArray

type PermissionArray []PermissionInput

func (PermissionArray) ElementType

func (PermissionArray) ElementType() reflect.Type

func (PermissionArray) ToPermissionArrayOutput

func (i PermissionArray) ToPermissionArrayOutput() PermissionArrayOutput

func (PermissionArray) ToPermissionArrayOutputWithContext

func (i PermissionArray) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput

type PermissionArrayInput

type PermissionArrayInput interface {
	pulumi.Input

	ToPermissionArrayOutput() PermissionArrayOutput
	ToPermissionArrayOutputWithContext(context.Context) PermissionArrayOutput
}

PermissionArrayInput is an input type that accepts PermissionArray and PermissionArrayOutput values. You can construct a concrete instance of `PermissionArrayInput` via:

PermissionArray{ PermissionArgs{...} }

type PermissionArrayOutput

type PermissionArrayOutput struct{ *pulumi.OutputState }

func (PermissionArrayOutput) ElementType

func (PermissionArrayOutput) ElementType() reflect.Type

func (PermissionArrayOutput) Index

func (PermissionArrayOutput) ToPermissionArrayOutput

func (o PermissionArrayOutput) ToPermissionArrayOutput() PermissionArrayOutput

func (PermissionArrayOutput) ToPermissionArrayOutputWithContext

func (o PermissionArrayOutput) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput

type PermissionInput

type PermissionInput interface {
	pulumi.Input

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

type PermissionMap

type PermissionMap map[string]PermissionInput

func (PermissionMap) ElementType

func (PermissionMap) ElementType() reflect.Type

func (PermissionMap) ToPermissionMapOutput

func (i PermissionMap) ToPermissionMapOutput() PermissionMapOutput

func (PermissionMap) ToPermissionMapOutputWithContext

func (i PermissionMap) ToPermissionMapOutputWithContext(ctx context.Context) PermissionMapOutput

type PermissionMapInput

type PermissionMapInput interface {
	pulumi.Input

	ToPermissionMapOutput() PermissionMapOutput
	ToPermissionMapOutputWithContext(context.Context) PermissionMapOutput
}

PermissionMapInput is an input type that accepts PermissionMap and PermissionMapOutput values. You can construct a concrete instance of `PermissionMapInput` via:

PermissionMap{ "key": PermissionArgs{...} }

type PermissionMapOutput

type PermissionMapOutput struct{ *pulumi.OutputState }

func (PermissionMapOutput) ElementType

func (PermissionMapOutput) ElementType() reflect.Type

func (PermissionMapOutput) MapIndex

func (PermissionMapOutput) ToPermissionMapOutput

func (o PermissionMapOutput) ToPermissionMapOutput() PermissionMapOutput

func (PermissionMapOutput) ToPermissionMapOutputWithContext

func (o PermissionMapOutput) ToPermissionMapOutputWithContext(ctx context.Context) PermissionMapOutput

type PermissionOutput

type PermissionOutput struct{ *pulumi.OutputState }

func (PermissionOutput) Action

Lambda action to allow in this statement (e.g., `lambda:InvokeFunction`)

func (PermissionOutput) ElementType

func (PermissionOutput) ElementType() reflect.Type

func (PermissionOutput) EventSourceToken

func (o PermissionOutput) EventSourceToken() pulumi.StringPtrOutput

Event Source Token for Alexa Skills

func (PermissionOutput) Function

func (o PermissionOutput) Function() pulumi.StringOutput

Name or ARN of the Lambda function

func (PermissionOutput) FunctionUrlAuthType

func (o PermissionOutput) FunctionUrlAuthType() pulumi.StringPtrOutput

Lambda Function URL authentication type. Valid values: `AWS_IAM` or `NONE`. Only valid with `lambda:InvokeFunctionUrl` action

func (PermissionOutput) Principal

func (o PermissionOutput) Principal() pulumi.StringOutput

AWS service or account that invokes the function (e.g., `s3.amazonaws.com`, `sns.amazonaws.com`, AWS account ID, or AWS IAM principal)

The following arguments are optional:

func (PermissionOutput) PrincipalOrgId

func (o PermissionOutput) PrincipalOrgId() pulumi.StringPtrOutput

AWS Organizations ID to grant permission to all accounts under this organization

func (PermissionOutput) Qualifier

func (o PermissionOutput) Qualifier() pulumi.StringPtrOutput

Lambda function version or alias name

func (PermissionOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration

func (PermissionOutput) SourceAccount

func (o PermissionOutput) SourceAccount() pulumi.StringPtrOutput

AWS account ID of the source owner for cross-account access, S3, or SES

func (PermissionOutput) SourceArn

func (o PermissionOutput) SourceArn() pulumi.StringPtrOutput

ARN of the source resource granting permission to invoke the Lambda function

func (PermissionOutput) StatementId

func (o PermissionOutput) StatementId() pulumi.StringOutput

Statement identifier. Generated by Pulumi if not provided

func (PermissionOutput) StatementIdPrefix

func (o PermissionOutput) StatementIdPrefix() pulumi.StringOutput

Statement identifier prefix. Conflicts with `statementId`

func (PermissionOutput) ToPermissionOutput

func (o PermissionOutput) ToPermissionOutput() PermissionOutput

func (PermissionOutput) ToPermissionOutputWithContext

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

type PermissionState

type PermissionState struct {
	// Lambda action to allow in this statement (e.g., `lambda:InvokeFunction`)
	Action pulumi.StringPtrInput
	// Event Source Token for Alexa Skills
	EventSourceToken pulumi.StringPtrInput
	// Name or ARN of the Lambda function
	Function pulumi.Input
	// Lambda Function URL authentication type. Valid values: `AWS_IAM` or `NONE`. Only valid with `lambda:InvokeFunctionUrl` action
	FunctionUrlAuthType pulumi.StringPtrInput
	// AWS service or account that invokes the function (e.g., `s3.amazonaws.com`, `sns.amazonaws.com`, AWS account ID, or AWS IAM principal)
	//
	// The following arguments are optional:
	Principal pulumi.StringPtrInput
	// AWS Organizations ID to grant permission to all accounts under this organization
	PrincipalOrgId pulumi.StringPtrInput
	// Lambda function version or alias name
	Qualifier pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration
	Region pulumi.StringPtrInput
	// AWS account ID of the source owner for cross-account access, S3, or SES
	SourceAccount pulumi.StringPtrInput
	// ARN of the source resource granting permission to invoke the Lambda function
	SourceArn pulumi.StringPtrInput
	// Statement identifier. Generated by Pulumi if not provided
	StatementId pulumi.StringPtrInput
	// Statement identifier prefix. 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.
	//
	// The following arguments are optional:
	Qualifier pulumi.StringOutput `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// Whether to retain the provisioned concurrency configuration upon destruction. Defaults to `false`. If set to `true`, the resource is simply removed from state instead.
	SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"`
}

Manages an AWS Lambda Provisioned Concurrency Configuration. Use this resource to configure provisioned concurrency for Lambda functions.

> **Note:** Setting `skipDestroy` to `true` means that the AWS Provider will not destroy a provisioned concurrency configuration, even when running `pulumi destroy`. The configuration is thus an intentional dangling resource that is not managed by Pulumi and may incur extra expense in your AWS account.

## Example Usage

### Alias Name

```go package main

import (

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

)

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

```

### Function Version

```go package main

import (

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

)

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

```

## Import

Using `pulumi import`, import a Lambda Provisioned Concurrency Configuration using the `function_name` and `qualifier` separated by a comma (`,`). For example:

```sh $ pulumi import aws:lambda/provisionedConcurrencyConfig:ProvisionedConcurrencyConfig example example,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

func (*ProvisionedConcurrencyConfig) ElementType() reflect.Type

func (*ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutput

func (i *ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput

func (*ProvisionedConcurrencyConfig) ToProvisionedConcurrencyConfigOutputWithContext

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.
	//
	// The following arguments are optional:
	Qualifier pulumi.StringInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Whether to retain the provisioned concurrency configuration upon destruction. Defaults to `false`. If set to `true`, the resource is simply removed from state instead.
	SkipDestroy pulumi.BoolPtrInput
}

The set of arguments for constructing a ProvisionedConcurrencyConfig resource.

func (ProvisionedConcurrencyConfigArgs) ElementType

type ProvisionedConcurrencyConfigArray

type ProvisionedConcurrencyConfigArray []ProvisionedConcurrencyConfigInput

func (ProvisionedConcurrencyConfigArray) ElementType

func (ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutput

func (i ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutput() ProvisionedConcurrencyConfigArrayOutput

func (ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutputWithContext

func (i ProvisionedConcurrencyConfigArray) ToProvisionedConcurrencyConfigArrayOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigArrayOutput

type ProvisionedConcurrencyConfigArrayInput

type ProvisionedConcurrencyConfigArrayInput interface {
	pulumi.Input

	ToProvisionedConcurrencyConfigArrayOutput() ProvisionedConcurrencyConfigArrayOutput
	ToProvisionedConcurrencyConfigArrayOutputWithContext(context.Context) ProvisionedConcurrencyConfigArrayOutput
}

ProvisionedConcurrencyConfigArrayInput is an input type that accepts ProvisionedConcurrencyConfigArray and ProvisionedConcurrencyConfigArrayOutput values. You can construct a concrete instance of `ProvisionedConcurrencyConfigArrayInput` via:

ProvisionedConcurrencyConfigArray{ ProvisionedConcurrencyConfigArgs{...} }

type ProvisionedConcurrencyConfigArrayOutput

type ProvisionedConcurrencyConfigArrayOutput struct{ *pulumi.OutputState }

func (ProvisionedConcurrencyConfigArrayOutput) ElementType

func (ProvisionedConcurrencyConfigArrayOutput) Index

func (ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutput

func (o ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutput() ProvisionedConcurrencyConfigArrayOutput

func (ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutputWithContext

func (o ProvisionedConcurrencyConfigArrayOutput) ToProvisionedConcurrencyConfigArrayOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigArrayOutput

type ProvisionedConcurrencyConfigInput

type ProvisionedConcurrencyConfigInput interface {
	pulumi.Input

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

type ProvisionedConcurrencyConfigMap

type ProvisionedConcurrencyConfigMap map[string]ProvisionedConcurrencyConfigInput

func (ProvisionedConcurrencyConfigMap) ElementType

func (ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutput

func (i ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutput() ProvisionedConcurrencyConfigMapOutput

func (ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutputWithContext

func (i ProvisionedConcurrencyConfigMap) ToProvisionedConcurrencyConfigMapOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigMapOutput

type ProvisionedConcurrencyConfigMapInput

type ProvisionedConcurrencyConfigMapInput interface {
	pulumi.Input

	ToProvisionedConcurrencyConfigMapOutput() ProvisionedConcurrencyConfigMapOutput
	ToProvisionedConcurrencyConfigMapOutputWithContext(context.Context) ProvisionedConcurrencyConfigMapOutput
}

ProvisionedConcurrencyConfigMapInput is an input type that accepts ProvisionedConcurrencyConfigMap and ProvisionedConcurrencyConfigMapOutput values. You can construct a concrete instance of `ProvisionedConcurrencyConfigMapInput` via:

ProvisionedConcurrencyConfigMap{ "key": ProvisionedConcurrencyConfigArgs{...} }

type ProvisionedConcurrencyConfigMapOutput

type ProvisionedConcurrencyConfigMapOutput struct{ *pulumi.OutputState }

func (ProvisionedConcurrencyConfigMapOutput) ElementType

func (ProvisionedConcurrencyConfigMapOutput) MapIndex

func (ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutput

func (o ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutput() ProvisionedConcurrencyConfigMapOutput

func (ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutputWithContext

func (o ProvisionedConcurrencyConfigMapOutput) ToProvisionedConcurrencyConfigMapOutputWithContext(ctx context.Context) ProvisionedConcurrencyConfigMapOutput

type ProvisionedConcurrencyConfigOutput

type ProvisionedConcurrencyConfigOutput struct{ *pulumi.OutputState }

func (ProvisionedConcurrencyConfigOutput) ElementType

func (ProvisionedConcurrencyConfigOutput) FunctionName

Name or Amazon Resource Name (ARN) of the Lambda Function.

func (ProvisionedConcurrencyConfigOutput) ProvisionedConcurrentExecutions

func (o ProvisionedConcurrencyConfigOutput) ProvisionedConcurrentExecutions() pulumi.IntOutput

Amount of capacity to allocate. Must be greater than or equal to 1.

func (ProvisionedConcurrencyConfigOutput) Qualifier

Lambda Function version or Lambda Alias name.

The following arguments are optional:

func (ProvisionedConcurrencyConfigOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (ProvisionedConcurrencyConfigOutput) SkipDestroy

Whether to retain the provisioned concurrency configuration upon destruction. Defaults to `false`. If set to `true`, the resource is simply removed from state instead.

func (ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutput

func (o ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutput() ProvisionedConcurrencyConfigOutput

func (ProvisionedConcurrencyConfigOutput) ToProvisionedConcurrencyConfigOutputWithContext

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.
	//
	// The following arguments are optional:
	Qualifier pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// Whether to retain the provisioned concurrency configuration upon destruction. Defaults to `false`. If set to `true`, the resource is simply removed from state instead.
	SkipDestroy pulumi.BoolPtrInput
}

func (ProvisionedConcurrencyConfigState) ElementType

type Runtime

type Runtime string

See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

func (Runtime) ElementType

func (Runtime) ElementType() reflect.Type

func (Runtime) ToRuntimeOutput

func (e Runtime) ToRuntimeOutput() RuntimeOutput

func (Runtime) ToRuntimeOutputWithContext

func (e Runtime) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput

func (Runtime) ToRuntimePtrOutput

func (e Runtime) ToRuntimePtrOutput() RuntimePtrOutput

func (Runtime) ToRuntimePtrOutputWithContext

func (e Runtime) ToRuntimePtrOutputWithContext(ctx context.Context) RuntimePtrOutput

func (Runtime) ToStringOutput

func (e Runtime) ToStringOutput() pulumi.StringOutput

func (Runtime) ToStringOutputWithContext

func (e Runtime) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (Runtime) ToStringPtrOutput

func (e Runtime) ToStringPtrOutput() pulumi.StringPtrOutput

func (Runtime) ToStringPtrOutputWithContext

func (e Runtime) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RuntimeInput

type RuntimeInput interface {
	pulumi.Input

	ToRuntimeOutput() RuntimeOutput
	ToRuntimeOutputWithContext(context.Context) RuntimeOutput
}

RuntimeInput is an input type that accepts values of the Runtime enum A concrete instance of `RuntimeInput` can be one of the following:

RuntimeDotnet6
RuntimeDotnet8
RuntimeJava11
RuntimeJava17
RuntimeJava21
RuntimeJava8AL2
RuntimeNodeJS18dX
RuntimeNodeJS20dX
RuntimeNodeJS22dX
RuntimeCustomAL2
RuntimeCustomAL2023
RuntimePython3d10
RuntimePython3d11
RuntimePython3d12
RuntimePython3d13
RuntimePython3d9
RuntimeRuby3d2
RuntimeRuby3d3
RuntimeRuby3d4

type RuntimeManagementConfig

type RuntimeManagementConfig struct {
	pulumi.CustomResourceState

	// ARN of the function.
	FunctionArn pulumi.StringOutput `pulumi:"functionArn"`
	// Name or ARN of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// Version of the function. This can be `$LATEST` or a published version number. If omitted, this resource will manage the runtime configuration for `$LATEST`.
	Qualifier pulumi.StringPtrOutput `pulumi:"qualifier"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// ARN of the runtime version. Only required when `updateRuntimeOn` is `Manual`.
	RuntimeVersionArn pulumi.StringPtrOutput `pulumi:"runtimeVersionArn"`
	// Runtime update mode. Valid values are `Auto`, `FunctionUpdate`, and `Manual`. When a function is created, the default mode is `Auto`.
	UpdateRuntimeOn pulumi.StringPtrOutput `pulumi:"updateRuntimeOn"`
}

Manages an AWS Lambda Runtime Management Config. Use this resource to control how Lambda updates the runtime for your function.

Refer to the [AWS Lambda documentation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) for supported runtimes.

> **Note:** Deletion of this resource returns the runtime update mode to `Auto` (the default behavior). To leave the configured runtime management options in-place, use a `removed` block with the destroy lifecycle set to `false`.

## Example Usage

### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewRuntimeManagementConfig(ctx, "example", &lambda.RuntimeManagementConfigArgs{
			FunctionName:    pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			UpdateRuntimeOn: pulumi.String("FunctionUpdate"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Manual Update

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lambda.NewRuntimeManagementConfig(ctx, "example", &lambda.RuntimeManagementConfigArgs{
			FunctionName:      pulumi.Any(exampleAwsLambdaFunction.FunctionName),
			UpdateRuntimeOn:   pulumi.String("Manual"),
			RuntimeVersionArn: pulumi.String("arn:aws:lambda:us-east-1::runtime:abcd1234"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **Note:** Once the runtime update mode is set to `Manual`, the `lambda.Function` `runtime` cannot be updated. To upgrade a runtime, the `updateRuntimeOn` argument must be set to `Auto` or `FunctionUpdate` prior to changing the function's `runtime` argument.

## Import

Using `pulumi import`, import Lambda Runtime Management Config using a comma-delimited string combining `function_name` and `qualifier`. For example:

```sh $ pulumi import aws:lambda/runtimeManagementConfig:RuntimeManagementConfig example example,$LATEST ```

func GetRuntimeManagementConfig

func GetRuntimeManagementConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RuntimeManagementConfigState, opts ...pulumi.ResourceOption) (*RuntimeManagementConfig, error)

GetRuntimeManagementConfig gets an existing RuntimeManagementConfig 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 NewRuntimeManagementConfig

func NewRuntimeManagementConfig(ctx *pulumi.Context,
	name string, args *RuntimeManagementConfigArgs, opts ...pulumi.ResourceOption) (*RuntimeManagementConfig, error)

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

func (*RuntimeManagementConfig) ElementType

func (*RuntimeManagementConfig) ElementType() reflect.Type

func (*RuntimeManagementConfig) ToRuntimeManagementConfigOutput

func (i *RuntimeManagementConfig) ToRuntimeManagementConfigOutput() RuntimeManagementConfigOutput

func (*RuntimeManagementConfig) ToRuntimeManagementConfigOutputWithContext

func (i *RuntimeManagementConfig) ToRuntimeManagementConfigOutputWithContext(ctx context.Context) RuntimeManagementConfigOutput

type RuntimeManagementConfigArgs

type RuntimeManagementConfigArgs struct {
	// Name or ARN of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringInput
	// Version of the function. This can be `$LATEST` or a published version number. If omitted, this resource will manage the runtime configuration for `$LATEST`.
	Qualifier pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// ARN of the runtime version. Only required when `updateRuntimeOn` is `Manual`.
	RuntimeVersionArn pulumi.StringPtrInput
	// Runtime update mode. Valid values are `Auto`, `FunctionUpdate`, and `Manual`. When a function is created, the default mode is `Auto`.
	UpdateRuntimeOn pulumi.StringPtrInput
}

The set of arguments for constructing a RuntimeManagementConfig resource.

func (RuntimeManagementConfigArgs) ElementType

type RuntimeManagementConfigArray

type RuntimeManagementConfigArray []RuntimeManagementConfigInput

func (RuntimeManagementConfigArray) ElementType

func (RuntimeManagementConfigArray) ToRuntimeManagementConfigArrayOutput

func (i RuntimeManagementConfigArray) ToRuntimeManagementConfigArrayOutput() RuntimeManagementConfigArrayOutput

func (RuntimeManagementConfigArray) ToRuntimeManagementConfigArrayOutputWithContext

func (i RuntimeManagementConfigArray) ToRuntimeManagementConfigArrayOutputWithContext(ctx context.Context) RuntimeManagementConfigArrayOutput

type RuntimeManagementConfigArrayInput

type RuntimeManagementConfigArrayInput interface {
	pulumi.Input

	ToRuntimeManagementConfigArrayOutput() RuntimeManagementConfigArrayOutput
	ToRuntimeManagementConfigArrayOutputWithContext(context.Context) RuntimeManagementConfigArrayOutput
}

RuntimeManagementConfigArrayInput is an input type that accepts RuntimeManagementConfigArray and RuntimeManagementConfigArrayOutput values. You can construct a concrete instance of `RuntimeManagementConfigArrayInput` via:

RuntimeManagementConfigArray{ RuntimeManagementConfigArgs{...} }

type RuntimeManagementConfigArrayOutput

type RuntimeManagementConfigArrayOutput struct{ *pulumi.OutputState }

func (RuntimeManagementConfigArrayOutput) ElementType

func (RuntimeManagementConfigArrayOutput) Index

func (RuntimeManagementConfigArrayOutput) ToRuntimeManagementConfigArrayOutput

func (o RuntimeManagementConfigArrayOutput) ToRuntimeManagementConfigArrayOutput() RuntimeManagementConfigArrayOutput

func (RuntimeManagementConfigArrayOutput) ToRuntimeManagementConfigArrayOutputWithContext

func (o RuntimeManagementConfigArrayOutput) ToRuntimeManagementConfigArrayOutputWithContext(ctx context.Context) RuntimeManagementConfigArrayOutput

type RuntimeManagementConfigInput

type RuntimeManagementConfigInput interface {
	pulumi.Input

	ToRuntimeManagementConfigOutput() RuntimeManagementConfigOutput
	ToRuntimeManagementConfigOutputWithContext(ctx context.Context) RuntimeManagementConfigOutput
}

type RuntimeManagementConfigMap

type RuntimeManagementConfigMap map[string]RuntimeManagementConfigInput

func (RuntimeManagementConfigMap) ElementType

func (RuntimeManagementConfigMap) ElementType() reflect.Type

func (RuntimeManagementConfigMap) ToRuntimeManagementConfigMapOutput

func (i RuntimeManagementConfigMap) ToRuntimeManagementConfigMapOutput() RuntimeManagementConfigMapOutput

func (RuntimeManagementConfigMap) ToRuntimeManagementConfigMapOutputWithContext

func (i RuntimeManagementConfigMap) ToRuntimeManagementConfigMapOutputWithContext(ctx context.Context) RuntimeManagementConfigMapOutput

type RuntimeManagementConfigMapInput

type RuntimeManagementConfigMapInput interface {
	pulumi.Input

	ToRuntimeManagementConfigMapOutput() RuntimeManagementConfigMapOutput
	ToRuntimeManagementConfigMapOutputWithContext(context.Context) RuntimeManagementConfigMapOutput
}

RuntimeManagementConfigMapInput is an input type that accepts RuntimeManagementConfigMap and RuntimeManagementConfigMapOutput values. You can construct a concrete instance of `RuntimeManagementConfigMapInput` via:

RuntimeManagementConfigMap{ "key": RuntimeManagementConfigArgs{...} }

type RuntimeManagementConfigMapOutput

type RuntimeManagementConfigMapOutput struct{ *pulumi.OutputState }

func (RuntimeManagementConfigMapOutput) ElementType

func (RuntimeManagementConfigMapOutput) MapIndex

func (RuntimeManagementConfigMapOutput) ToRuntimeManagementConfigMapOutput

func (o RuntimeManagementConfigMapOutput) ToRuntimeManagementConfigMapOutput() RuntimeManagementConfigMapOutput

func (RuntimeManagementConfigMapOutput) ToRuntimeManagementConfigMapOutputWithContext

func (o RuntimeManagementConfigMapOutput) ToRuntimeManagementConfigMapOutputWithContext(ctx context.Context) RuntimeManagementConfigMapOutput

type RuntimeManagementConfigOutput

type RuntimeManagementConfigOutput struct{ *pulumi.OutputState }

func (RuntimeManagementConfigOutput) ElementType

func (RuntimeManagementConfigOutput) FunctionArn

ARN of the function.

func (RuntimeManagementConfigOutput) FunctionName

Name or ARN of the Lambda function.

The following arguments are optional:

func (RuntimeManagementConfigOutput) Qualifier

Version of the function. This can be `$LATEST` or a published version number. If omitted, this resource will manage the runtime configuration for `$LATEST`.

func (RuntimeManagementConfigOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (RuntimeManagementConfigOutput) RuntimeVersionArn

ARN of the runtime version. Only required when `updateRuntimeOn` is `Manual`.

func (RuntimeManagementConfigOutput) ToRuntimeManagementConfigOutput

func (o RuntimeManagementConfigOutput) ToRuntimeManagementConfigOutput() RuntimeManagementConfigOutput

func (RuntimeManagementConfigOutput) ToRuntimeManagementConfigOutputWithContext

func (o RuntimeManagementConfigOutput) ToRuntimeManagementConfigOutputWithContext(ctx context.Context) RuntimeManagementConfigOutput

func (RuntimeManagementConfigOutput) UpdateRuntimeOn

Runtime update mode. Valid values are `Auto`, `FunctionUpdate`, and `Manual`. When a function is created, the default mode is `Auto`.

type RuntimeManagementConfigState

type RuntimeManagementConfigState struct {
	// ARN of the function.
	FunctionArn pulumi.StringPtrInput
	// Name or ARN of the Lambda function.
	//
	// The following arguments are optional:
	FunctionName pulumi.StringPtrInput
	// Version of the function. This can be `$LATEST` or a published version number. If omitted, this resource will manage the runtime configuration for `$LATEST`.
	Qualifier pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// ARN of the runtime version. Only required when `updateRuntimeOn` is `Manual`.
	RuntimeVersionArn pulumi.StringPtrInput
	// Runtime update mode. Valid values are `Auto`, `FunctionUpdate`, and `Manual`. When a function is created, the default mode is `Auto`.
	UpdateRuntimeOn pulumi.StringPtrInput
}

func (RuntimeManagementConfigState) ElementType

type RuntimeOutput

type RuntimeOutput struct{ *pulumi.OutputState }

func (RuntimeOutput) ElementType

func (RuntimeOutput) ElementType() reflect.Type

func (RuntimeOutput) ToRuntimeOutput

func (o RuntimeOutput) ToRuntimeOutput() RuntimeOutput

func (RuntimeOutput) ToRuntimeOutputWithContext

func (o RuntimeOutput) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput

func (RuntimeOutput) ToRuntimePtrOutput

func (o RuntimeOutput) ToRuntimePtrOutput() RuntimePtrOutput

func (RuntimeOutput) ToRuntimePtrOutputWithContext

func (o RuntimeOutput) ToRuntimePtrOutputWithContext(ctx context.Context) RuntimePtrOutput

func (RuntimeOutput) ToStringOutput

func (o RuntimeOutput) ToStringOutput() pulumi.StringOutput

func (RuntimeOutput) ToStringOutputWithContext

func (o RuntimeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RuntimeOutput) ToStringPtrOutput

func (o RuntimeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RuntimeOutput) ToStringPtrOutputWithContext

func (o RuntimeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RuntimePtrInput

type RuntimePtrInput interface {
	pulumi.Input

	ToRuntimePtrOutput() RuntimePtrOutput
	ToRuntimePtrOutputWithContext(context.Context) RuntimePtrOutput
}

func RuntimePtr

func RuntimePtr(v string) RuntimePtrInput

type RuntimePtrOutput

type RuntimePtrOutput struct{ *pulumi.OutputState }

func (RuntimePtrOutput) Elem

func (RuntimePtrOutput) ElementType

func (RuntimePtrOutput) ElementType() reflect.Type

func (RuntimePtrOutput) ToRuntimePtrOutput

func (o RuntimePtrOutput) ToRuntimePtrOutput() RuntimePtrOutput

func (RuntimePtrOutput) ToRuntimePtrOutputWithContext

func (o RuntimePtrOutput) ToRuntimePtrOutputWithContext(ctx context.Context) RuntimePtrOutput

func (RuntimePtrOutput) ToStringPtrOutput

func (o RuntimePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RuntimePtrOutput) ToStringPtrOutputWithContext

func (o RuntimePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

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