v1alpha1

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CRDGroup   = "lambda.aws.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	FunctionKind             = "Function"
	FunctionGroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FunctionKind}.String()
	FunctionKindAPIVersion   = FunctionKind + "." + GroupVersion.String()
	FunctionGroupVersionKind = GroupVersion.WithKind(FunctionKind)
)

Repository type metadata.

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AccountLimit

type AccountLimit struct {
	CodeSizeUnzipped *int64 `json:"codeSizeUnzipped,omitempty"`

	CodeSizeZipped *int64 `json:"codeSizeZipped,omitempty"`

	TotalCodeSize *int64 `json:"totalCodeSize,omitempty"`
}

+kubebuilder:skipversion

func (*AccountLimit) DeepCopy

func (in *AccountLimit) DeepCopy() *AccountLimit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountLimit.

func (*AccountLimit) DeepCopyInto

func (in *AccountLimit) DeepCopyInto(out *AccountLimit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AccountUsage

type AccountUsage struct {
	FunctionCount *int64 `json:"functionCount,omitempty"`

	TotalCodeSize *int64 `json:"totalCodeSize,omitempty"`
}

+kubebuilder:skipversion

func (*AccountUsage) DeepCopy

func (in *AccountUsage) DeepCopy() *AccountUsage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountUsage.

func (*AccountUsage) DeepCopyInto

func (in *AccountUsage) DeepCopyInto(out *AccountUsage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CodeSigningConfig

type CodeSigningConfig struct {
	CodeSigningConfigARN *string `json:"codeSigningConfigARN,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *string `json:"lastModified,omitempty"`
}

+kubebuilder:skipversion

func (*CodeSigningConfig) DeepCopy

func (in *CodeSigningConfig) DeepCopy() *CodeSigningConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeSigningConfig.

func (*CodeSigningConfig) DeepCopyInto

func (in *CodeSigningConfig) DeepCopyInto(out *CodeSigningConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CodeSigningPolicy

type CodeSigningPolicy string
const (
	CodeSigningPolicy_Warn    CodeSigningPolicy = "Warn"
	CodeSigningPolicy_Enforce CodeSigningPolicy = "Enforce"
)

type CustomCodeSigningConfigParameters

type CustomCodeSigningConfigParameters struct{}

CustomCodeSigningConfigParameters includes custom fields for CodeSigningConfigParameters.

func (*CustomCodeSigningConfigParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomCodeSigningConfigParameters.

func (*CustomCodeSigningConfigParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomFunctionCodeParameters

type CustomFunctionCodeParameters struct {
	ImageURI *string `json:"imageURI,omitempty"`

	S3Key *string `json:"s3Key,omitempty"`

	S3ObjectVersion *string `json:"s3ObjectVersion,omitempty"`

	S3Bucket *string `json:"s3Bucket,omitempty"`

	// S3BucketRef is a reference to an S3 Bucket.
	// +optional
	S3BucketRef *xpv1.Reference `json:"s3BucketRef,omitempty"`

	// S3BucketSelector selects references to an S3 Bucket.
	// +optional
	S3BucketSelector *xpv1.Selector `json:"s3BucketSelector,omitempty"`
}

CustomFunctionCodeParameters includes custom fields for FunctionCode struct.

func (*CustomFunctionCodeParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFunctionCodeParameters.

func (*CustomFunctionCodeParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomFunctionParameters

type CustomFunctionParameters struct {

	// KMSKeyARNRef is a reference to a kms key used to set
	// the KMSKeyARN.
	// +optional
	KMSKeyARNRef *xpv1.Reference `json:"kmsKeyARNRef,omitempty"`

	// KMSKeyARNSelector selects references to kms key arn used
	// to set the KMSKeyARN.
	// +optional
	KMSKeyARNSelector *xpv1.Selector `json:"kmsKeyARNSelector,omitempty"`

	// The Amazon Resource Name (ARN) of the function's execution role.
	// One of role, roleRef or roleSelector is required.
	Role *string `json:"role,omitempty"`

	// RoleRef is a reference to an iam role
	// +optional
	RoleRef *xpv1.Reference `json:"roleRef,omitempty"`

	// RoleSelector selects references to iam role arn used
	// to set the lambda Role.
	// +optional
	RoleSelector *xpv1.Selector `json:"roleSelector,omitempty"`

	// 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).
	CustomFunctionVPCConfigParameters *CustomFunctionVPCConfigParameters `json:"vpcConfig,omitempty"`

	// The code for the function.
	// +kubebuilder:validation:Required
	CustomFunctionCodeParameters CustomFunctionCodeParameters `json:"code"`
}

CustomFunctionParameters includes custom fields for FunctionParameters.

func (*CustomFunctionParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFunctionParameters.

func (*CustomFunctionParameters) DeepCopyInto

func (in *CustomFunctionParameters) DeepCopyInto(out *CustomFunctionParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomFunctionVPCConfigParameters

type CustomFunctionVPCConfigParameters struct {
	SecurityGroupIDs []*string `json:"securityGroupIDs,omitempty"`

	// SecurityGroupIDRefs is a list of references to SecurityGroups used to set
	// the SecurityGroupIDs.
	// +optional
	SecurityGroupIDRefs []xpv1.Reference `json:"securityGroupIDRefs,omitempty"`

	// SecurityGroupIDsSelector selects references to SecurityGroupID used
	// to set the SecurityGroupIDs.
	// +optional
	SecurityGroupIDSelector *xpv1.Selector `json:"securityGroupIDSelector,omitempty"`

	SubnetIDs []*string `json:"subnetIDs,omitempty"`

	// SubnetIDRefs is a list of references to Subnets used to set
	// the SubnetIDs.
	// +optional
	SubnetIDRefs []xpv1.Reference `json:"subnetIDRefs,omitempty"`

	// SubnetIDsSelector selects references to Subnets used
	// to set the SubnetIDs.
	// +optional
	SubnetIDSelector *xpv1.Selector `json:"subnetIDSelector,omitempty"`
}

CustomFunctionVPCConfigParameters includes custom fields for FunctionVPCConfigParameters.

func (*CustomFunctionVPCConfigParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFunctionVPCConfigParameters.

func (*CustomFunctionVPCConfigParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeadLetterConfig

type DeadLetterConfig struct {
	TargetARN *string `json:"targetARN,omitempty"`
}

+kubebuilder:skipversion

func (*DeadLetterConfig) DeepCopy

func (in *DeadLetterConfig) DeepCopy() *DeadLetterConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadLetterConfig.

func (*DeadLetterConfig) DeepCopyInto

func (in *DeadLetterConfig) DeepCopyInto(out *DeadLetterConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EndPointType

type EndPointType string
const (
	EndPointType_KAFKA_BOOTSTRAP_SERVERS EndPointType = "KAFKA_BOOTSTRAP_SERVERS"
)

type Environment

type Environment struct {
	Variables map[string]*string `json:"variables,omitempty"`
}

+kubebuilder:skipversion

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentError

type EnvironmentError struct {
	ErrorCode *string `json:"errorCode,omitempty"`

	Message *string `json:"message,omitempty"`
}

+kubebuilder:skipversion

func (*EnvironmentError) DeepCopy

func (in *EnvironmentError) DeepCopy() *EnvironmentError

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentError.

func (*EnvironmentError) DeepCopyInto

func (in *EnvironmentError) DeepCopyInto(out *EnvironmentError)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentResponse

type EnvironmentResponse struct {
	// Error messages for environment variables that couldn't be applied.
	Error *EnvironmentError `json:"error,omitempty"`

	Variables map[string]*string `json:"variables,omitempty"`
}

+kubebuilder:skipversion

func (*EnvironmentResponse) DeepCopy

func (in *EnvironmentResponse) DeepCopy() *EnvironmentResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentResponse.

func (*EnvironmentResponse) DeepCopyInto

func (in *EnvironmentResponse) DeepCopyInto(out *EnvironmentResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EventSourcePosition

type EventSourcePosition string
const (
	EventSourcePosition_TRIM_HORIZON EventSourcePosition = "TRIM_HORIZON"
	EventSourcePosition_LATEST       EventSourcePosition = "LATEST"
	EventSourcePosition_AT_TIMESTAMP EventSourcePosition = "AT_TIMESTAMP"
)

type FileSystemConfig

type FileSystemConfig struct {
	ARN *string `json:"arn,omitempty"`

	LocalMountPath *string `json:"localMountPath,omitempty"`
}

+kubebuilder:skipversion

func (*FileSystemConfig) DeepCopy

func (in *FileSystemConfig) DeepCopy() *FileSystemConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemConfig.

func (*FileSystemConfig) DeepCopyInto

func (in *FileSystemConfig) DeepCopyInto(out *FileSystemConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Function

type Function struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FunctionSpec   `json:"spec"`
	Status            FunctionStatus `json:"status,omitempty"`
}

Function is the Schema for the Functions API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:subresource:status +kubebuilder:deprecatedversion:warning="Please use v1beta1 version of this resource." +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Function) DeepCopy

func (in *Function) DeepCopy() *Function

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.

func (*Function) DeepCopyInto

func (in *Function) DeepCopyInto(out *Function)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Function) DeepCopyObject

func (in *Function) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Function) GetCondition

func (mg *Function) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Function.

func (*Function) GetDeletionPolicy

func (mg *Function) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Function.

func (*Function) GetProviderConfigReference

func (mg *Function) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Function.

func (*Function) GetProviderReference

func (mg *Function) GetProviderReference() *xpv1.Reference

GetProviderReference of this Function. Deprecated: Use GetProviderConfigReference.

func (*Function) GetPublishConnectionDetailsTo added in v0.26.0

func (mg *Function) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Function.

func (*Function) GetWriteConnectionSecretToReference

func (mg *Function) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Function.

func (*Function) ResolveReferences

func (mg *Function) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Function

func (*Function) SetConditions

func (mg *Function) SetConditions(c ...xpv1.Condition)

SetConditions of this Function.

func (*Function) SetDeletionPolicy

func (mg *Function) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Function.

func (*Function) SetProviderConfigReference

func (mg *Function) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Function.

func (*Function) SetProviderReference

func (mg *Function) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Function. Deprecated: Use SetProviderConfigReference.

func (*Function) SetPublishConnectionDetailsTo added in v0.26.0

func (mg *Function) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Function.

func (*Function) SetWriteConnectionSecretToReference

func (mg *Function) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Function.

type FunctionCode

type FunctionCode struct {
	ImageURI *string `json:"imageURI,omitempty"`
}

+kubebuilder:skipversion

func (*FunctionCode) DeepCopy

func (in *FunctionCode) DeepCopy() *FunctionCode

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionCode.

func (*FunctionCode) DeepCopyInto

func (in *FunctionCode) DeepCopyInto(out *FunctionCode)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionCodeLocation

type FunctionCodeLocation struct {
	ImageURI *string `json:"imageURI,omitempty"`

	Location *string `json:"location,omitempty"`

	RepositoryType *string `json:"repositoryType,omitempty"`

	ResolvedImageURI *string `json:"resolvedImageURI,omitempty"`
}

+kubebuilder:skipversion

func (*FunctionCodeLocation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionCodeLocation.

func (*FunctionCodeLocation) DeepCopyInto

func (in *FunctionCodeLocation) DeepCopyInto(out *FunctionCodeLocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionConfiguration added in v0.22.0

type FunctionConfiguration struct {
	CodeSHA256 *string `json:"codeSHA256,omitempty"`

	CodeSize *int64 `json:"codeSize,omitempty"`
	// The dead-letter queue (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq)
	// for failed asynchronous invocations.
	DeadLetterConfig *DeadLetterConfig `json:"deadLetterConfig,omitempty"`

	Description *string `json:"description,omitempty"`
	// The results of an operation to update or read environment variables. If the
	// operation is successful, the response contains the environment variables.
	// If it failed, the response contains details about the error.
	Environment *EnvironmentResponse `json:"environment,omitempty"`

	FileSystemConfigs []*FileSystemConfig `json:"fileSystemConfigs,omitempty"`

	FunctionARN *string `json:"functionARN,omitempty"`

	FunctionName *string `json:"functionName,omitempty"`

	Handler *string `json:"handler,omitempty"`
	// Response to GetFunctionConfiguration request.
	ImageConfigResponse *ImageConfigResponse `json:"imageConfigResponse,omitempty"`

	KMSKeyARN *string `json:"kmsKeyARN,omitempty"`

	LastModified *string `json:"lastModified,omitempty"`

	LastUpdateStatus *string `json:"lastUpdateStatus,omitempty"`

	LastUpdateStatusReason *string `json:"lastUpdateStatusReason,omitempty"`

	LastUpdateStatusReasonCode *string `json:"lastUpdateStatusReasonCode,omitempty"`

	MasterARN *string `json:"masterARN,omitempty"`

	MemorySize *int64 `json:"memorySize,omitempty"`

	PackageType *string `json:"packageType,omitempty"`

	RevisionID *string `json:"revisionID,omitempty"`

	Role *string `json:"role,omitempty"`

	Runtime *string `json:"runtime,omitempty"`

	SigningJobARN *string `json:"signingJobARN,omitempty"`

	SigningProfileVersionARN *string `json:"signingProfileVersionARN,omitempty"`

	State *string `json:"state,omitempty"`

	StateReason *string `json:"stateReason,omitempty"`

	StateReasonCode *string `json:"stateReasonCode,omitempty"`

	Timeout *int64 `json:"timeout,omitempty"`
	// The function's AWS X-Ray tracing configuration.
	TracingConfig *TracingConfigResponse `json:"tracingConfig,omitempty"`

	Version *string `json:"version,omitempty"`
	// The VPC security groups and subnets that are attached to a Lambda function.
	VPCConfig *VPCConfigResponse `json:"vpcConfig,omitempty"`
}

+kubebuilder:skipversion

func (*FunctionConfiguration) DeepCopy added in v0.22.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionConfiguration.

func (*FunctionConfiguration) DeepCopyInto added in v0.22.0

func (in *FunctionConfiguration) DeepCopyInto(out *FunctionConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionEventInvokeConfig

type FunctionEventInvokeConfig struct {
	FunctionARN *string `json:"functionARN,omitempty"`
}

+kubebuilder:skipversion

func (*FunctionEventInvokeConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionList

type FunctionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Function `json:"items"`
}

FunctionList contains a list of Functions

func (*FunctionList) DeepCopy

func (in *FunctionList) DeepCopy() *FunctionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList.

func (*FunctionList) DeepCopyInto

func (in *FunctionList) DeepCopyInto(out *FunctionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FunctionList) DeepCopyObject

func (in *FunctionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*FunctionList) GetItems

func (l *FunctionList) GetItems() []resource.Managed

GetItems of this FunctionList.

type FunctionObservation

type FunctionObservation struct {
	// The SHA256 hash of the function's deployment package.
	CodeSHA256 *string `json:"codeSHA256,omitempty"`
	// The size of the function's deployment package, in bytes.
	CodeSize *int64 `json:"codeSize,omitempty"`
	// The function's Amazon Resource Name (ARN).
	FunctionARN *string `json:"functionARN,omitempty"`
	// The name of the function.
	FunctionName *string `json:"functionName,omitempty"`
	// The function's image configuration values.
	ImageConfigResponse *ImageConfigResponse `json:"imageConfigResponse,omitempty"`
	// The date and time that the function was last updated, in ISO-8601 format
	// (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD).
	LastModified *string `json:"lastModified,omitempty"`
	// The status of the last update that was performed on the function. This is
	// first set to Successful after function creation completes.
	LastUpdateStatus *string `json:"lastUpdateStatus,omitempty"`
	// The reason for the last update that was performed on the function.
	LastUpdateStatusReason *string `json:"lastUpdateStatusReason,omitempty"`
	// The reason code for the last update that was performed on the function.
	LastUpdateStatusReasonCode *string `json:"lastUpdateStatusReasonCode,omitempty"`
	// For Lambda@Edge functions, the ARN of the master function.
	MasterARN *string `json:"masterARN,omitempty"`
	// The latest updated revision of the function or alias.
	RevisionID *string `json:"revisionID,omitempty"`
	// The function's execution role.
	Role *string `json:"role,omitempty"`
	// The ARN of the signing job.
	SigningJobARN *string `json:"signingJobARN,omitempty"`
	// The ARN of the signing profile version.
	SigningProfileVersionARN *string `json:"signingProfileVersionARN,omitempty"`
	// The current state of the function. When the state is Inactive, you can reactivate
	// the function by invoking it.
	State *string `json:"state,omitempty"`
	// The reason for the function's current state.
	StateReason *string `json:"stateReason,omitempty"`
	// The reason code for the function's current state. When the code is Creating,
	// you can't invoke or modify the function.
	StateReasonCode *string `json:"stateReasonCode,omitempty"`
	// The version of the Lambda function.
	Version *string `json:"version,omitempty"`
	// The function's networking configuration.
	VPCConfig *VPCConfigResponse `json:"vpcConfig,omitempty"`
}

FunctionObservation defines the observed state of Function

func (*FunctionObservation) DeepCopy

func (in *FunctionObservation) DeepCopy() *FunctionObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionObservation.

func (*FunctionObservation) DeepCopyInto

func (in *FunctionObservation) DeepCopyInto(out *FunctionObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionParameters

type FunctionParameters struct {
	// Region is which region the Function will be created.
	// +kubebuilder:validation:Required
	Region string `json:"region"`
	// To enable code signing for this function, specify the ARN of a code-signing
	// configuration. A code-signing configuration includes a set of signing profiles,
	// which define the trusted publishers for this function.
	CodeSigningConfigARN *string `json:"codeSigningConfigARN,omitempty"`
	// 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#dlq).
	DeadLetterConfig *DeadLetterConfig `json:"deadLetterConfig,omitempty"`
	// A description of the function.
	Description *string `json:"description,omitempty"`
	// Environment variables that are accessible from function code during execution.
	Environment *Environment `json:"environment,omitempty"`
	// Connection settings for an Amazon EFS file system.
	FileSystemConfigs []*FileSystemConfig `json:"fileSystemConfigs,omitempty"`
	// The name of the method within your code that Lambda calls to execute your
	// function. The format includes the file name. It can also include namespaces
	// and other qualifiers, depending on the runtime. For more information, see
	// Programming Model (https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html).
	Handler *string `json:"handler,omitempty"`
	// Container image configuration values (https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html)
	// that override the values in the container image Dockerfile.
	ImageConfig *ImageConfig `json:"imageConfig,omitempty"`
	// The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt
	// your function's environment variables. If it's not provided, AWS Lambda uses
	// a default service key.
	KMSKeyARN *string `json:"kmsKeyARN,omitempty"`
	// 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.
	Layers []*string `json:"layers,omitempty"`
	// The amount of memory available to the function at runtime. Increasing the
	// function's memory also increases its CPU allocation. The default value is
	// 128 MB. The value can be any multiple of 1 MB.
	MemorySize *int64 `json:"memorySize,omitempty"`
	// The type of deployment package. Set to Image for container image and set
	// Zip for ZIP archive.
	PackageType *string `json:"packageType,omitempty"`
	// Set to true to publish the first version of the function during creation.
	Publish *bool `json:"publish,omitempty"`
	// The identifier of the function's runtime (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html).
	Runtime *string `json:"runtime,omitempty"`
	// A list of tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html)
	// to apply to the function.
	Tags map[string]*string `json:"tags,omitempty"`
	// The amount of time that Lambda allows a function to run before stopping it.
	// The default is 3 seconds. The maximum allowed value is 900 seconds.
	Timeout *int64 `json:"timeout,omitempty"`
	// Set Mode to Active to sample and trace a subset of incoming requests with
	// AWS X-Ray.
	TracingConfig            *TracingConfig `json:"tracingConfig,omitempty"`
	CustomFunctionParameters `json:",inline"`
}

FunctionParameters defines the desired state of Function

func (*FunctionParameters) DeepCopy

func (in *FunctionParameters) DeepCopy() *FunctionParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionParameters.

func (*FunctionParameters) DeepCopyInto

func (in *FunctionParameters) DeepCopyInto(out *FunctionParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionResponseType

type FunctionResponseType string
const (
	FunctionResponseType_ReportBatchItemFailures FunctionResponseType = "ReportBatchItemFailures"
)

type FunctionSpec

type FunctionSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       FunctionParameters `json:"forProvider"`
}

FunctionSpec defines the desired state of Function

func (*FunctionSpec) DeepCopy

func (in *FunctionSpec) DeepCopy() *FunctionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec.

func (*FunctionSpec) DeepCopyInto

func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionStatus

type FunctionStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          FunctionObservation `json:"atProvider,omitempty"`
}

FunctionStatus defines the observed state of Function.

func (*FunctionStatus) DeepCopy

func (in *FunctionStatus) DeepCopy() *FunctionStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionStatus.

func (*FunctionStatus) DeepCopyInto

func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FunctionVersion

type FunctionVersion string
const (
	FunctionVersion_ALL FunctionVersion = "ALL"
)

type ImageConfig

type ImageConfig struct {
	Command []*string `json:"command,omitempty"`

	EntryPoint []*string `json:"entryPoint,omitempty"`

	WorkingDirectory *string `json:"workingDirectory,omitempty"`
}

+kubebuilder:skipversion

func (*ImageConfig) DeepCopy

func (in *ImageConfig) DeepCopy() *ImageConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfig.

func (*ImageConfig) DeepCopyInto

func (in *ImageConfig) DeepCopyInto(out *ImageConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageConfigError

type ImageConfigError struct {
	ErrorCode *string `json:"errorCode,omitempty"`

	Message *string `json:"message,omitempty"`
}

+kubebuilder:skipversion

func (*ImageConfigError) DeepCopy

func (in *ImageConfigError) DeepCopy() *ImageConfigError

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigError.

func (*ImageConfigError) DeepCopyInto

func (in *ImageConfigError) DeepCopyInto(out *ImageConfigError)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageConfigResponse

type ImageConfigResponse struct {
	// Error response to GetFunctionConfiguration.
	Error *ImageConfigError `json:"error,omitempty"`
	// Configuration values that override the container image Dockerfile settings.
	// See Container settings (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms).
	ImageConfig *ImageConfig `json:"imageConfig,omitempty"`
}

+kubebuilder:skipversion

func (*ImageConfigResponse) DeepCopy

func (in *ImageConfigResponse) DeepCopy() *ImageConfigResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageConfigResponse.

func (*ImageConfigResponse) DeepCopyInto

func (in *ImageConfigResponse) DeepCopyInto(out *ImageConfigResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InvocationType

type InvocationType string
const (
	InvocationType_Event           InvocationType = "Event"
	InvocationType_RequestResponse InvocationType = "RequestResponse"
	InvocationType_DryRun          InvocationType = "DryRun"
)

type LastUpdateStatus

type LastUpdateStatus string
const (
	LastUpdateStatus_Successful LastUpdateStatus = "Successful"
	LastUpdateStatus_Failed     LastUpdateStatus = "Failed"
	LastUpdateStatus_InProgress LastUpdateStatus = "InProgress"
)

type LastUpdateStatusReasonCode

type LastUpdateStatusReasonCode string
const (
	LastUpdateStatusReasonCode_EniLimitExceeded            LastUpdateStatusReasonCode = "EniLimitExceeded"
	LastUpdateStatusReasonCode_InsufficientRolePermissions LastUpdateStatusReasonCode = "InsufficientRolePermissions"
	LastUpdateStatusReasonCode_InvalidConfiguration        LastUpdateStatusReasonCode = "InvalidConfiguration"
	LastUpdateStatusReasonCode_InternalError               LastUpdateStatusReasonCode = "InternalError"
	LastUpdateStatusReasonCode_SubnetOutOfIPAddresses      LastUpdateStatusReasonCode = "SubnetOutOfIPAddresses"
	LastUpdateStatusReasonCode_InvalidSubnet               LastUpdateStatusReasonCode = "InvalidSubnet"
	LastUpdateStatusReasonCode_InvalidSecurityGroup        LastUpdateStatusReasonCode = "InvalidSecurityGroup"
	LastUpdateStatusReasonCode_ImageDeleted                LastUpdateStatusReasonCode = "ImageDeleted"
	LastUpdateStatusReasonCode_ImageAccessDenied           LastUpdateStatusReasonCode = "ImageAccessDenied"
	LastUpdateStatusReasonCode_InvalidImage                LastUpdateStatusReasonCode = "InvalidImage"
)

type Layer

type Layer struct {
	ARN *string `json:"arn,omitempty"`

	CodeSize *int64 `json:"codeSize,omitempty"`

	SigningJobARN *string `json:"signingJobARN,omitempty"`

	SigningProfileVersionARN *string `json:"signingProfileVersionARN,omitempty"`
}

+kubebuilder:skipversion

func (*Layer) DeepCopy

func (in *Layer) DeepCopy() *Layer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Layer.

func (*Layer) DeepCopyInto

func (in *Layer) DeepCopyInto(out *Layer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LayerVersionContentOutput

type LayerVersionContentOutput struct {
	CodeSHA256 *string `json:"codeSHA256,omitempty"`

	CodeSize *int64 `json:"codeSize,omitempty"`

	Location *string `json:"location,omitempty"`

	SigningJobARN *string `json:"signingJobARN,omitempty"`

	SigningProfileVersionARN *string `json:"signingProfileVersionARN,omitempty"`
}

+kubebuilder:skipversion

func (*LayerVersionContentOutput) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerVersionContentOutput.

func (*LayerVersionContentOutput) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LayerVersionsListItem

type LayerVersionsListItem struct {
	CreatedDate *string `json:"createdDate,omitempty"`

	Description *string `json:"description,omitempty"`

	LayerVersionARN *string `json:"layerVersionARN,omitempty"`
}

+kubebuilder:skipversion

func (*LayerVersionsListItem) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerVersionsListItem.

func (*LayerVersionsListItem) DeepCopyInto

func (in *LayerVersionsListItem) DeepCopyInto(out *LayerVersionsListItem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogType

type LogType string
const (
	LogType_None LogType = "None"
	LogType_Tail LogType = "Tail"
)

type PackageType

type PackageType string
const (
	PackageType_Zip   PackageType = "Zip"
	PackageType_Image PackageType = "Image"
)

type ProvisionedConcurrencyConfigListItem

type ProvisionedConcurrencyConfigListItem struct {
	FunctionARN *string `json:"functionARN,omitempty"`

	LastModified *string `json:"lastModified,omitempty"`

	StatusReason *string `json:"statusReason,omitempty"`
}

+kubebuilder:skipversion

func (*ProvisionedConcurrencyConfigListItem) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionedConcurrencyConfigListItem.

func (*ProvisionedConcurrencyConfigListItem) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProvisionedConcurrencyStatusEnum

type ProvisionedConcurrencyStatusEnum string
const (
	ProvisionedConcurrencyStatusEnum_IN_PROGRESS ProvisionedConcurrencyStatusEnum = "IN_PROGRESS"
	ProvisionedConcurrencyStatusEnum_READY       ProvisionedConcurrencyStatusEnum = "READY"
	ProvisionedConcurrencyStatusEnum_FAILED      ProvisionedConcurrencyStatusEnum = "FAILED"
)

type PutFunctionConcurrencyOutput added in v0.22.0

type PutFunctionConcurrencyOutput struct {
	ReservedConcurrentExecutions *int64 `json:"reservedConcurrentExecutions,omitempty"`
}

+kubebuilder:skipversion

func (*PutFunctionConcurrencyOutput) DeepCopy added in v0.22.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutFunctionConcurrencyOutput.

func (*PutFunctionConcurrencyOutput) DeepCopyInto added in v0.22.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Runtime

type Runtime string
const (
	Runtime_nodejs         Runtime = "nodejs"
	Runtime_nodejs4_3      Runtime = "nodejs4.3"
	Runtime_nodejs6_10     Runtime = "nodejs6.10"
	Runtime_nodejs8_10     Runtime = "nodejs8.10"
	Runtime_nodejs10_x     Runtime = "nodejs10.x"
	Runtime_nodejs12_x     Runtime = "nodejs12.x"
	Runtime_nodejs14_x     Runtime = "nodejs14.x"
	Runtime_java8          Runtime = "java8"
	Runtime_java8_al2      Runtime = "java8.al2"
	Runtime_java11         Runtime = "java11"
	Runtime_python2_7      Runtime = "python2.7"
	Runtime_python3_6      Runtime = "python3.6"
	Runtime_python3_7      Runtime = "python3.7"
	Runtime_python3_8      Runtime = "python3.8"
	Runtime_dotnetcore1_0  Runtime = "dotnetcore1.0"
	Runtime_dotnetcore2_0  Runtime = "dotnetcore2.0"
	Runtime_dotnetcore2_1  Runtime = "dotnetcore2.1"
	Runtime_dotnetcore3_1  Runtime = "dotnetcore3.1"
	Runtime_nodejs4_3_edge Runtime = "nodejs4.3-edge"
	Runtime_go1_x          Runtime = "go1.x"
	Runtime_ruby2_5        Runtime = "ruby2.5"
	Runtime_ruby2_7        Runtime = "ruby2.7"
	Runtime_provided       Runtime = "provided"
	Runtime_provided_al2   Runtime = "provided.al2"
)

type SourceAccessType

type SourceAccessType string
const (
	SourceAccessType_BASIC_AUTH          SourceAccessType = "BASIC_AUTH"
	SourceAccessType_VPC_SUBNET          SourceAccessType = "VPC_SUBNET"
	SourceAccessType_VPC_SECURITY_GROUP  SourceAccessType = "VPC_SECURITY_GROUP"
	SourceAccessType_SASL_SCRAM_512_AUTH SourceAccessType = "SASL_SCRAM_512_AUTH"
	SourceAccessType_SASL_SCRAM_256_AUTH SourceAccessType = "SASL_SCRAM_256_AUTH"
)

type State

type State string
const (
	State_Pending  State = "Pending"
	State_Active   State = "Active"
	State_Inactive State = "Inactive"
	State_Failed   State = "Failed"
)

type StateReasonCode

type StateReasonCode string
const (
	StateReasonCode_Idle                        StateReasonCode = "Idle"
	StateReasonCode_Creating                    StateReasonCode = "Creating"
	StateReasonCode_Restoring                   StateReasonCode = "Restoring"
	StateReasonCode_EniLimitExceeded            StateReasonCode = "EniLimitExceeded"
	StateReasonCode_InsufficientRolePermissions StateReasonCode = "InsufficientRolePermissions"
	StateReasonCode_InvalidConfiguration        StateReasonCode = "InvalidConfiguration"
	StateReasonCode_InternalError               StateReasonCode = "InternalError"
	StateReasonCode_SubnetOutOfIPAddresses      StateReasonCode = "SubnetOutOfIPAddresses"
	StateReasonCode_InvalidSubnet               StateReasonCode = "InvalidSubnet"
	StateReasonCode_InvalidSecurityGroup        StateReasonCode = "InvalidSecurityGroup"
	StateReasonCode_ImageDeleted                StateReasonCode = "ImageDeleted"
	StateReasonCode_ImageAccessDenied           StateReasonCode = "ImageAccessDenied"
	StateReasonCode_InvalidImage                StateReasonCode = "InvalidImage"
)

type ThrottleReason

type ThrottleReason string
const (
	ThrottleReason_ConcurrentInvocationLimitExceeded                 ThrottleReason = "ConcurrentInvocationLimitExceeded"
	ThrottleReason_FunctionInvocationRateLimitExceeded               ThrottleReason = "FunctionInvocationRateLimitExceeded"
	ThrottleReason_ReservedFunctionConcurrentInvocationLimitExceeded ThrottleReason = "ReservedFunctionConcurrentInvocationLimitExceeded"
	ThrottleReason_ReservedFunctionInvocationRateLimitExceeded       ThrottleReason = "ReservedFunctionInvocationRateLimitExceeded"
	ThrottleReason_CallerRateLimitExceeded                           ThrottleReason = "CallerRateLimitExceeded"
)

type TracingConfig

type TracingConfig struct {
	Mode *string `json:"mode,omitempty"`
}

+kubebuilder:skipversion

func (*TracingConfig) DeepCopy

func (in *TracingConfig) DeepCopy() *TracingConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfig.

func (*TracingConfig) DeepCopyInto

func (in *TracingConfig) DeepCopyInto(out *TracingConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TracingConfigResponse

type TracingConfigResponse struct {
	Mode *string `json:"mode,omitempty"`
}

+kubebuilder:skipversion

func (*TracingConfigResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfigResponse.

func (*TracingConfigResponse) DeepCopyInto

func (in *TracingConfigResponse) DeepCopyInto(out *TracingConfigResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TracingMode

type TracingMode string
const (
	TracingMode_Active      TracingMode = "Active"
	TracingMode_PassThrough TracingMode = "PassThrough"
)

type VPCConfig

type VPCConfig struct {
	SecurityGroupIDs []*string `json:"securityGroupIDs,omitempty"`

	SubnetIDs []*string `json:"subnetIDs,omitempty"`
}

+kubebuilder:skipversion

func (*VPCConfig) DeepCopy

func (in *VPCConfig) DeepCopy() *VPCConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfig.

func (*VPCConfig) DeepCopyInto

func (in *VPCConfig) DeepCopyInto(out *VPCConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VPCConfigResponse

type VPCConfigResponse struct {
	SecurityGroupIDs []*string `json:"securityGroupIDs,omitempty"`

	SubnetIDs []*string `json:"subnetIDs,omitempty"`

	VPCID *string `json:"vpcID,omitempty"`
}

+kubebuilder:skipversion

func (*VPCConfigResponse) DeepCopy

func (in *VPCConfigResponse) DeepCopy() *VPCConfigResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfigResponse.

func (*VPCConfigResponse) DeepCopyInto

func (in *VPCConfigResponse) DeepCopyInto(out *VPCConfigResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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