Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-aws.Go to Latest
crossplane-contrib/provider-aws@v0.49.1
Function
lambda.aws.crossplane.io
Function
crossplane-contrib/provider-aws@v0.49.1lambda.aws.crossplane.io

Function is the Schema for the Functions API

Type

CRD

Group

lambda.aws.crossplane.io

Version

apiVersion: lambda.aws.crossplane.io/v1beta1

kind: Function

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

FunctionSpec defines the desired state of Function

forProvider
requiredobject
requiredobject

FunctionParameters defines the desired state of Function

array

The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is x86_64.

code
requiredobject
requiredobject

The code for the function.

imageURI
string
s3Bucket
string
object

S3BucketRef is a reference to an S3 Bucket.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

S3BucketSelector selects references to an S3 Bucket.

policy
object
object

Policies for selection.

resolve
string
s3Key
string
object

A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq).

targetARN
string
object

Environment variables that are accessible from function code during execution.

variables
object
object

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.

size
integer
array

Connection settings for an Amazon EFS file system.

arn
string
handler
string
object

Container image configuration values (https://docs.aws.amazon.com/lambda/latest/dg/configuration-images.html#configuration-images-settings) that override the values in the container image Dockerfile.

command
array
array

No description provided.

array

No description provided.

kmsKeyARN
string
object

KMSKeyARNRef is a reference to a kms key used to set the KMSKeyARN.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

KMSKeyARNSelector selects references to kms key arn used to set the KMSKeyARN.

policy
object
object

Policies for selection.

resolve
string
layers
array
array

A list of function layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) to add to the function's execution environment. Specify each layer by its ARN, including the version.

memorySize
integer
publish
boolean
region
requiredstring
role
string
roleRef
object
object

RoleRef is a reference to an iam role

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

RoleSelector selects references to iam role arn used to set the lambda Role.

policy
object
object

Policies for selection.

resolve
string
runtime
string
snapStart
object
object
applyOn
string
tags
object
timeout
integer
object

Set Mode to Active to sample and trace a subset of incoming requests with X-Ray (https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html).

mode
string
vpcConfig
object
object

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).

array

SecurityGroupIDRefs is a list of references to SecurityGroups used to set the SecurityGroupIDs.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

SecurityGroupIDsSelector selects references to SecurityGroupID used to set the SecurityGroupIDs.

policy
object
object

Policies for selection.

resolve
string
array

No description provided.

array

SubnetIDRefs is a list of references to Subnets used to set the SubnetIDs.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

SubnetIDsSelector selects references to Subnets used to set the SubnetIDs.

policy
object
object

Policies for selection.

resolve
string
array

No description provided.

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. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. 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.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config 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.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
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. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

FunctionStatus defines the observed state of Function.

object

FunctionObservation defines the observed state of Function

codeSize
integer
object

The function's image configuration values.

error
object
object

Error response to GetFunctionConfiguration.

errorCode
string
message
string
object

Configuration values that override the container image Dockerfile settings. For more information, see Container image settings (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms).

command
array
array

No description provided.

array

No description provided.

masterARN
string
role
string
object

The ARN of the runtime and any errors that occured.

error
object
object

Any error returned when the runtime version information for the function could not be retrieved.

errorCode
string
message
string
state
string
version
string
vpcConfig
object
object

The function's networking configuration.

array

No description provided.

array

No description provided.

vpcID
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.