Function is the Schema for the Functions API
Type
CRD
Group
lambda.aws.crossplane.io
Version
apiVersion: lambda.aws.crossplane.io/v1beta1
kind: Function
FunctionSpec defines the desired state of Function
FunctionParameters defines the desired state of Function
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.
The code for the function.
S3BucketRef is a reference to an S3 Bucket.
Policies for referencing.
S3BucketSelector selects references to an S3 Bucket.
Policies for selection.
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).
Environment variables that are accessible from function code during execution.
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.
Connection settings for an Amazon EFS file system.
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.
No description provided.
No description provided.
KMSKeyARNRef is a reference to a kms key used to set the KMSKeyARN.
Policies for referencing.
KMSKeyARNSelector selects references to kms key arn used to set the KMSKeyARN.
Policies for selection.
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.
RoleRef is a reference to an iam role
Policies for referencing.
RoleSelector selects references to iam role arn used to set the lambda Role.
Policies for selection.
The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting.
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).
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).
SecurityGroupIDRefs is a list of references to SecurityGroups used to set the SecurityGroupIDs.
Policies for referencing.
SecurityGroupIDsSelector selects references to SecurityGroupID used to set the SecurityGroupIDs.
Policies for selection.
No description provided.
SubnetIDRefs is a list of references to Subnets used to set the SubnetIDs.
Policies for referencing.
SubnetIDsSelector selects references to Subnets used to set the SubnetIDs.
Policies for selection.
No description provided.
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
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
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.
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.
FunctionStatus defines the observed state of Function.
FunctionObservation defines the observed state of Function
The function's image configuration values.
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).
No description provided.
No description provided.
The ARN of the runtime and any errors that occured.
The function's networking configuration.
No description provided.
No description provided.
Conditions of the resource.
test-function
apiVersion: lambda.aws.crossplane.io/v1beta1
kind: Function
metadata:
name: test-function
spec:
forProvider:
code:
imageURI: 609897127049.dkr.ecr.us-east-1.amazonaws.com/example:latest
packageType: Image
region: us-east-1
roleRef:
name: somerole
tags:
myKey: myValue
providerConfigRef:
name: example
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.