FunctionFunction is the Schema for the Functions API. Manages an AWS Lambda Function.
TypeMR
Providerprovider-aws-lambda
Grouplambda.aws.m.upbound.io
Scopenamespaced
Versionv1beta1

1apiVersion: lambda.aws.m.upbound.io/v1beta1

2kind: Function

kind
string
metadata
object
spec
object

FunctionSpec defines the desired state of Function

forProvider
required
object

(No description available)

array

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

object

Configuration block for Lambda Capacity Provider. See below.

object

Configuration block for Lambda Managed Instances Capacity Provider. See below.

object

Configuration block for dead letter queue. See below.

targetArn
string
object

Reference to a Queue in sqs to populate targetArn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Queue in sqs to populate targetArn.

namespace
string
policy
object

Policies for selection.

resolve
string
object

Configuration block for durable function settings. See below. durable_config may only be available in limited regions, including us-east-2.

object

Configuration block for environment variables. See below.

variables
object
object

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

size
number
object

Configuration block for EFS file system. See below.

arn
string
arnRef
object

Reference to a AccessPoint in efs to populate arn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a AccessPoint in efs to populate arn.

namespace
string
policy
object

Policies for selection.

resolve
string
handler
string
object

Container image configuration values. See below.

command
array

Parameters to pass to the container image.

array

Entry point to your application.

imageUri
string
kmsKeyArn
string
object

Reference to a Key in kms to populate kmsKeyArn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Key in kms to populate kmsKeyArn.

namespace
string
policy
object

Policies for selection.

resolve
string
layers
array

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

array

References to LayerVersion in lambda to populate layers.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of LayerVersion in lambda to populate layers.

namespace
string
policy
object

Policies for selection.

resolve
string
object

Configuration block for advanced logging settings. See below.

logFormat
string
logGroup
string
object

Reference to a Group in cloudwatchlogs to populate logGroup.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Group in cloudwatchlogs to populate logGroup.

namespace
string
policy
object

Policies for selection.

resolve
string
publish
boolean
publishTo
string
region
required
string
array

References to SecurityGroup in ec2 to populate replacementSecurityGroupIds.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in ec2 to populate replacementSecurityGroupIds.

namespace
string
policy
object

Policies for selection.

resolve
string
array

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

role
string
roleRef
object

Reference to a Role in iam to populate role.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Role in iam to populate role.

namespace
string
policy
object

Policies for selection.

resolve
string
runtime
string
s3Bucket
string
object

Reference to a Bucket in s3 to populate s3Bucket.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Bucket in s3 to populate s3Bucket.

namespace
string
policy
object

Policies for selection.

resolve
string
s3Key
string
snapStart
object

Configuration block for snap start settings. See below.

applyOn
string
tags
object
object

Configuration block for Tenancy. See below.

timeout
number
object

Configuration block for X-Ray tracing. See below.

mode
string
vpcConfig
object

Configuration block for VPC. See below.

array

References to SecurityGroup in ec2 to populate securityGroupIds.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.

namespace
string
policy
object

Policies for selection.

resolve
string
array

List of security group IDs associated with the Lambda function.

array

References to Subnet in ec2 to populate subnetIds.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of Subnet in ec2 to populate subnetIds.

namespace
string
policy
object

Policies for selection.

resolve
string
array

List of subnet IDs associated with the Lambda function.

object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

array

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

object

Configuration block for Lambda Capacity Provider. See below.

object

Configuration block for Lambda Managed Instances Capacity Provider. See below.

object

Configuration block for dead letter queue. See below.

targetArn
string
object

Reference to a Queue in sqs to populate targetArn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Queue in sqs to populate targetArn.

namespace
string
policy
object

Policies for selection.

resolve
string
object

Configuration block for durable function settings. See below. durable_config may only be available in limited regions, including us-east-2.

object

Configuration block for environment variables. See below.

variables
object
object

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

size
number
object

Configuration block for EFS file system. See below.

arn
string
arnRef
object

Reference to a AccessPoint in efs to populate arn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a AccessPoint in efs to populate arn.

namespace
string
policy
object

Policies for selection.

resolve
string
handler
string
object

Container image configuration values. See below.

command
array

Parameters to pass to the container image.

array

Entry point to your application.

imageUri
string
kmsKeyArn
string
object

Reference to a Key in kms to populate kmsKeyArn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Key in kms to populate kmsKeyArn.

namespace
string
policy
object

Policies for selection.

resolve
string
layers
array

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

array

References to LayerVersion in lambda to populate layers.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of LayerVersion in lambda to populate layers.

namespace
string
policy
object

Policies for selection.

resolve
string
object

Configuration block for advanced logging settings. See below.

logFormat
string
logGroup
string
object

Reference to a Group in cloudwatchlogs to populate logGroup.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Group in cloudwatchlogs to populate logGroup.

namespace
string
policy
object

Policies for selection.

resolve
string
publish
boolean
publishTo
string
array

References to SecurityGroup in ec2 to populate replacementSecurityGroupIds.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in ec2 to populate replacementSecurityGroupIds.

namespace
string
policy
object

Policies for selection.

resolve
string
array

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

role
string
roleRef
object

Reference to a Role in iam to populate role.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Role in iam to populate role.

namespace
string
policy
object

Policies for selection.

resolve
string
runtime
string
s3Bucket
string
object

Reference to a Bucket in s3 to populate s3Bucket.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Bucket in s3 to populate s3Bucket.

namespace
string
policy
object

Policies for selection.

resolve
string
s3Key
string
snapStart
object

Configuration block for snap start settings. See below.

applyOn
string
tags
object
object

Configuration block for Tenancy. See below.

timeout
number
object

Configuration block for X-Ray tracing. See below.

mode
string
vpcConfig
object

Configuration block for VPC. See below.

array

References to SecurityGroup in ec2 to populate securityGroupIds.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.

namespace
string
policy
object

Policies for selection.

resolve
string
array

List of security group IDs associated with the Lambda function.

array

References to Subnet in ec2 to populate subnetIds.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of Subnet in ec2 to populate subnetIds.

namespace
string
policy
object

Policies for selection.

resolve
string
array

List of subnet IDs associated with the Lambda function.

array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

FunctionStatus defines the observed state of Function.

object

(No description available)

array

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

arn
string
object

Configuration block for Lambda Capacity Provider. See below.

object

Configuration block for Lambda Managed Instances Capacity Provider. See below.

object

Configuration block for dead letter queue. See below.

targetArn
string
object

Configuration block for durable function settings. See below. durable_config may only be available in limited regions, including us-east-2.

object

Configuration block for environment variables. See below.

variables
object
object

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

size
number
object

Configuration block for EFS file system. See below.

arn
string
handler
string
id
string
object

Container image configuration values. See below.

command
array

Parameters to pass to the container image.

array

Entry point to your application.

imageUri
string
invokeArn
string
kmsKeyArn
string
layers
array

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

object

Configuration block for advanced logging settings. See below.

publish
boolean
publishTo
string
region
string
array

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

role
string
runtime
string
s3Bucket
string
s3Key
string
snapStart
object

Configuration block for snap start settings. See below.

tags
object
tagsAll
object
object

Configuration block for Tenancy. See below.

timeout
number
object

Configuration block for X-Ray tracing. See below.

mode
string
version
string
vpcConfig
object

Configuration block for VPC. See below.

array

List of security group IDs associated with the Lambda function.

array

List of subnet IDs associated with the Lambda function.

vpcId
string
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string