Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package Package v1alpha1 is the v1alpha1 version of the lambda.services.k8s.aws API. +groupName=lambda.services.k8s.aws
Index ¶
- Variables
- type AccountLimit
- type AccountUsage
- type Alias
- type AliasConfiguration
- type AliasList
- type AliasRoutingConfiguration
- type AliasSpec
- type AliasStatus
- type AllowedPublishers
- type AmazonManagedKafkaEventSourceConfig
- type Architecture
- type CORS
- type CodeSigningConfig
- type CodeSigningConfigList
- type CodeSigningConfigSpec
- type CodeSigningConfigStatus
- type CodeSigningConfig_SDK
- type CodeSigningPolicies
- type CodeSigningPolicy
- type DeadLetterConfig
- type DestinationConfig
- type EndPointType
- type Environment
- type EnvironmentError
- type EnvironmentResponse
- type EphemeralStorage
- type EventSourceMapping
- type EventSourceMappingConfiguration
- type EventSourceMappingList
- type EventSourceMappingSpec
- type EventSourceMappingStatus
- type EventSourcePosition
- type FileSystemConfig
- type Filter
- type FilterCriteria
- type Function
- type FunctionCode
- type FunctionCodeLocation
- type FunctionConfiguration
- type FunctionEventInvokeConfig
- type FunctionList
- type FunctionResponseType
- type FunctionSpec
- type FunctionStatus
- type FunctionURLAuthType
- type FunctionURLConfig
- type FunctionURLConfigList
- type FunctionURLConfigSpec
- type FunctionURLConfigStatus
- type FunctionURLConfig_SDK
- type FunctionVersion
- type ImageConfig
- type ImageConfigError
- type ImageConfigResponse
- type InvocationType
- type LastUpdateStatus
- type LastUpdateStatusReasonCode
- type Layer
- type LayerVersion
- type LayerVersionContentInput
- type LayerVersionContentOutput
- type LayerVersionList
- type LayerVersionSpec
- type LayerVersionStatus
- type LayerVersionsListItem
- type LayersListItem
- type LogType
- type OnFailure
- type OnSuccess
- type PackageType
- type ProvisionedConcurrencyConfigListItem
- type ProvisionedConcurrencyStatusEnum
- type PutFunctionConcurrencyOutput
- type PutFunctionEventInvokeConfigInput
- type PutProvisionedConcurrencyConfigInput
- type Runtime
- type ScalingConfig
- type SelfManagedEventSource
- type SelfManagedKafkaEventSourceConfig
- type SnapStart
- type SnapStartApplyOn
- type SnapStartOptimizationStatus
- type SnapStartResponse
- type SourceAccessConfiguration
- type SourceAccessType
- type State
- type StateReasonCode
- type ThrottleReason
- type TracingConfig
- type TracingConfigResponse
- type TracingMode
- type VPCConfig
- type VPCConfigResponse
- type Version
- type VersionList
- type VersionSpec
- type VersionStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is the API Group Version used to register the objects GroupVersion = schema.GroupVersion{Group: "lambda.services.k8s.aws", Version: "v1alpha1"} // 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"` }
Limits that are related to concurrency and storage. All file and storage sizes are in bytes.
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"` }
The number of functions and amount of storage in use.
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 Alias ¶
type Alias struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AliasSpec `json:"spec,omitempty"` Status AliasStatus `json:"status,omitempty"` }
Alias is the Schema for the Aliases API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*Alias) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alias.
func (*Alias) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Alias) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AliasConfiguration ¶
type AliasConfiguration struct { AliasARN *string `json:"aliasARN,omitempty"` Description *string `json:"description,omitempty"` FunctionVersion *string `json:"functionVersion,omitempty"` Name *string `json:"name,omitempty"` RevisionID *string `json:"revisionID,omitempty"` // The traffic-shifting (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) // configuration of a Lambda function alias. RoutingConfig *AliasRoutingConfiguration `json:"routingConfig,omitempty"` }
Provides configuration information about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html).
func (*AliasConfiguration) DeepCopy ¶
func (in *AliasConfiguration) DeepCopy() *AliasConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasConfiguration.
func (*AliasConfiguration) DeepCopyInto ¶
func (in *AliasConfiguration) DeepCopyInto(out *AliasConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AliasList ¶
type AliasList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Alias `json:"items"` }
AliasList contains a list of Alias +kubebuilder:object:root=true
func (*AliasList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasList.
func (*AliasList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AliasList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AliasRoutingConfiguration ¶
type AliasRoutingConfiguration struct {
AdditionalVersionWeights map[string]*float64 `json:"additionalVersionWeights,omitempty"`
}
The traffic-shifting (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) configuration of a Lambda function alias.
func (*AliasRoutingConfiguration) DeepCopy ¶
func (in *AliasRoutingConfiguration) DeepCopy() *AliasRoutingConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasRoutingConfiguration.
func (*AliasRoutingConfiguration) DeepCopyInto ¶
func (in *AliasRoutingConfiguration) DeepCopyInto(out *AliasRoutingConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AliasSpec ¶
type AliasSpec struct { // A description of the alias. Description *string `json:"description,omitempty"` // Configures options for asynchronous invocation on an alias. // // - DestinationConfig // A destination for events after they have been sent to a function for processing. // // Types of Destinations: // Function - The Amazon Resource Name (ARN) of a Lambda function. // Queue - The ARN of a standard SQS queue. // Topic - The ARN of a standard SNS topic. // Event Bus - The ARN of an Amazon EventBridge event bus. // // - MaximumEventAgeInSeconds // The maximum age of a request that Lambda sends to a function for processing. // // - MaximumRetryAttempts // The maximum number of times to retry when the function returns an error. FunctionEventInvokeConfig *PutFunctionEventInvokeConfigInput `json:"functionEventInvokeConfig,omitempty"` // The name of the Lambda function. // // Name formats // // - Function name - MyFunction. // // - Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // - Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. FunctionName *string `json:"functionName,omitempty"` FunctionRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"functionRef,omitempty"` // The function version that the alias invokes. // +kubebuilder:validation:Required FunctionVersion *string `json:"functionVersion"` // The name of the alias. // +kubebuilder:validation:Required Name *string `json:"name"` // Configures provisioned concurrency to a function's alias // // - ProvisionedConcurrentExecutions // The amount of provisioned concurrency to allocate for the version or alias. // Minimum value of 1 is required ProvisionedConcurrencyConfig *PutProvisionedConcurrencyConfigInput `json:"provisionedConcurrencyConfig,omitempty"` // The routing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing) // of the alias. RoutingConfig *AliasRoutingConfiguration `json:"routingConfig,omitempty"` }
func (*AliasSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasSpec.
func (*AliasSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AliasStatus ¶
type AliasStatus struct { // All CRs managed by ACK have a common `Status.ACKResourceMetadata` member // that is used to contain resource sync state, account ownership, // constructed ARN for the resource // +kubebuilder:validation:Optional ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"` // All CRS managed by ACK have a common `Status.Conditions` member that // contains a collection of `ackv1alpha1.Condition` objects that describe // the various terminal states of the CR and its backend AWS service API // resource // +kubebuilder:validation:Optional Conditions []*ackv1alpha1.Condition `json:"conditions"` // A unique identifier that changes when you update the alias. // +kubebuilder:validation:Optional RevisionID *string `json:"revisionID,omitempty"` }
AliasStatus defines the observed state of Alias
func (*AliasStatus) DeepCopy ¶
func (in *AliasStatus) DeepCopy() *AliasStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AliasStatus.
func (*AliasStatus) DeepCopyInto ¶
func (in *AliasStatus) DeepCopyInto(out *AliasStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AllowedPublishers ¶
type AllowedPublishers struct {
SigningProfileVersionARNs []*string `json:"signingProfileVersionARNs,omitempty"`
}
List of signing profiles that can sign a code package.
func (*AllowedPublishers) DeepCopy ¶
func (in *AllowedPublishers) DeepCopy() *AllowedPublishers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedPublishers.
func (*AllowedPublishers) DeepCopyInto ¶
func (in *AllowedPublishers) DeepCopyInto(out *AllowedPublishers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AmazonManagedKafkaEventSourceConfig ¶ added in v0.1.2
type AmazonManagedKafkaEventSourceConfig struct {
ConsumerGroupID *string `json:"consumerGroupID,omitempty"`
}
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
func (*AmazonManagedKafkaEventSourceConfig) DeepCopy ¶ added in v0.1.2
func (in *AmazonManagedKafkaEventSourceConfig) DeepCopy() *AmazonManagedKafkaEventSourceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonManagedKafkaEventSourceConfig.
func (*AmazonManagedKafkaEventSourceConfig) DeepCopyInto ¶ added in v0.1.2
func (in *AmazonManagedKafkaEventSourceConfig) DeepCopyInto(out *AmazonManagedKafkaEventSourceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Architecture ¶ added in v0.0.8
type Architecture string
const ( Architecture_x86_64 Architecture = "x86_64" Architecture_arm64 Architecture = "arm64" )
type CORS ¶ added in v0.0.17
type CORS struct { AllowCredentials *bool `json:"allowCredentials,omitempty"` AllowHeaders []*string `json:"allowHeaders,omitempty"` AllowMethods []*string `json:"allowMethods,omitempty"` AllowOrigins []*string `json:"allowOrigins,omitempty"` ExposeHeaders []*string `json:"exposeHeaders,omitempty"` MaxAge *int64 `json:"maxAge,omitempty"` }
The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for your Lambda function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL.
func (*CORS) DeepCopy ¶ added in v0.0.17
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CORS.
func (*CORS) DeepCopyInto ¶ added in v0.0.17
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CodeSigningConfig ¶
type CodeSigningConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CodeSigningConfigSpec `json:"spec,omitempty"` Status CodeSigningConfigStatus `json:"status,omitempty"` }
CodeSigningConfig is the Schema for the CodeSigningConfigs API +kubebuilder:object:root=true +kubebuilder:subresource:status
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.
func (*CodeSigningConfig) DeepCopyObject ¶
func (in *CodeSigningConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CodeSigningConfigList ¶
type CodeSigningConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CodeSigningConfig `json:"items"` }
CodeSigningConfigList contains a list of CodeSigningConfig +kubebuilder:object:root=true
func (*CodeSigningConfigList) DeepCopy ¶
func (in *CodeSigningConfigList) DeepCopy() *CodeSigningConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeSigningConfigList.
func (*CodeSigningConfigList) DeepCopyInto ¶
func (in *CodeSigningConfigList) DeepCopyInto(out *CodeSigningConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CodeSigningConfigList) DeepCopyObject ¶
func (in *CodeSigningConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CodeSigningConfigSpec ¶
type CodeSigningConfigSpec struct { // Signing profiles for this code signing configuration. // +kubebuilder:validation:Required AllowedPublishers *AllowedPublishers `json:"allowedPublishers"` // The code signing policies define the actions to take if the validation checks // fail. CodeSigningPolicies *CodeSigningPolicies `json:"codeSigningPolicies,omitempty"` // Descriptive name for this code signing configuration. Description *string `json:"description,omitempty"` }
CodeSigningConfigSpec defines the desired state of CodeSigningConfig.
Details about a Code signing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).
func (*CodeSigningConfigSpec) DeepCopy ¶
func (in *CodeSigningConfigSpec) DeepCopy() *CodeSigningConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeSigningConfigSpec.
func (*CodeSigningConfigSpec) DeepCopyInto ¶
func (in *CodeSigningConfigSpec) DeepCopyInto(out *CodeSigningConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CodeSigningConfigStatus ¶
type CodeSigningConfigStatus struct { // All CRs managed by ACK have a common `Status.ACKResourceMetadata` member // that is used to contain resource sync state, account ownership, // constructed ARN for the resource // +kubebuilder:validation:Optional ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"` // All CRS managed by ACK have a common `Status.Conditions` member that // contains a collection of `ackv1alpha1.Condition` objects that describe // the various terminal states of the CR and its backend AWS service API // resource // +kubebuilder:validation:Optional Conditions []*ackv1alpha1.Condition `json:"conditions"` // Unique identifer for the Code signing configuration. // +kubebuilder:validation:Optional CodeSigningConfigID *string `json:"codeSigningConfigID,omitempty"` // The date and time that the Code signing configuration was last modified, // in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). // +kubebuilder:validation:Optional LastModified *string `json:"lastModified,omitempty"` }
CodeSigningConfigStatus defines the observed state of CodeSigningConfig
func (*CodeSigningConfigStatus) DeepCopy ¶
func (in *CodeSigningConfigStatus) DeepCopy() *CodeSigningConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeSigningConfigStatus.
func (*CodeSigningConfigStatus) DeepCopyInto ¶
func (in *CodeSigningConfigStatus) DeepCopyInto(out *CodeSigningConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CodeSigningConfig_SDK ¶
type CodeSigningConfig_SDK struct { // List of signing profiles that can sign a code package. AllowedPublishers *AllowedPublishers `json:"allowedPublishers,omitempty"` CodeSigningConfigARN *string `json:"codeSigningConfigARN,omitempty"` CodeSigningConfigID *string `json:"codeSigningConfigID,omitempty"` // Code signing configuration policies (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies) // specify the validation failure action for signature mismatch or expiry. CodeSigningPolicies *CodeSigningPolicies `json:"codeSigningPolicies,omitempty"` Description *string `json:"description,omitempty"` LastModified *string `json:"lastModified,omitempty"` }
Details about a Code signing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).
func (*CodeSigningConfig_SDK) DeepCopy ¶
func (in *CodeSigningConfig_SDK) DeepCopy() *CodeSigningConfig_SDK
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeSigningConfig_SDK.
func (*CodeSigningConfig_SDK) DeepCopyInto ¶
func (in *CodeSigningConfig_SDK) DeepCopyInto(out *CodeSigningConfig_SDK)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CodeSigningPolicies ¶
type CodeSigningPolicies struct {
UntrustedArtifactOnDeployment *string `json:"untrustedArtifactOnDeployment,omitempty"`
}
Code signing configuration policies (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies) specify the validation failure action for signature mismatch or expiry.
func (*CodeSigningPolicies) DeepCopy ¶
func (in *CodeSigningPolicies) DeepCopy() *CodeSigningPolicies
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodeSigningPolicies.
func (*CodeSigningPolicies) DeepCopyInto ¶
func (in *CodeSigningPolicies) DeepCopyInto(out *CodeSigningPolicies)
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 DeadLetterConfig ¶
type DeadLetterConfig struct {
TargetARN *string `json:"targetARN,omitempty"`
}
The dead-letter queue (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq) for failed asynchronous invocations.
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 DestinationConfig ¶
type DestinationConfig struct { // A destination for events that failed processing. OnFailure *OnFailure `json:"onFailure,omitempty"` // A destination for events that were processed successfully. OnSuccess *OnSuccess `json:"onSuccess,omitempty"` }
A configuration object that specifies the destination of an event after Lambda processes it.
func (*DestinationConfig) DeepCopy ¶
func (in *DestinationConfig) DeepCopy() *DestinationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfig.
func (*DestinationConfig) DeepCopyInto ¶
func (in *DestinationConfig) DeepCopyInto(out *DestinationConfig)
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 ¶
A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
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"` }
Error messages for environment variables that couldn't be applied.
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"` }
The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.
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 EphemeralStorage ¶ added in v0.0.17
type EphemeralStorage struct {
Size *int64 `json:"size,omitempty"`
}
The size of the function's /tmp directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.
func (*EphemeralStorage) DeepCopy ¶ added in v0.0.17
func (in *EphemeralStorage) DeepCopy() *EphemeralStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralStorage.
func (*EphemeralStorage) DeepCopyInto ¶ added in v0.0.17
func (in *EphemeralStorage) DeepCopyInto(out *EphemeralStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventSourceMapping ¶
type EventSourceMapping struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EventSourceMappingSpec `json:"spec,omitempty"` Status EventSourceMappingStatus `json:"status,omitempty"` }
EventSourceMapping is the Schema for the EventSourceMappings API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*EventSourceMapping) DeepCopy ¶
func (in *EventSourceMapping) DeepCopy() *EventSourceMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceMapping.
func (*EventSourceMapping) DeepCopyInto ¶
func (in *EventSourceMapping) DeepCopyInto(out *EventSourceMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventSourceMapping) DeepCopyObject ¶
func (in *EventSourceMapping) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventSourceMappingConfiguration ¶
type EventSourceMappingConfiguration struct { // Specific configuration settings for an Amazon Managed Streaming for Apache // Kafka (Amazon MSK) event source. AmazonManagedKafkaEventSourceConfig *AmazonManagedKafkaEventSourceConfig `json:"amazonManagedKafkaEventSourceConfig,omitempty"` BatchSize *int64 `json:"batchSize,omitempty"` BisectBatchOnFunctionError *bool `json:"bisectBatchOnFunctionError,omitempty"` // A configuration object that specifies the destination of an event after Lambda // processes it. DestinationConfig *DestinationConfig `json:"destinationConfig,omitempty"` EventSourceARN *string `json:"eventSourceARN,omitempty"` // An object that contains the filters for an event source. FilterCriteria *FilterCriteria `json:"filterCriteria,omitempty"` FunctionARN *string `json:"functionARN,omitempty"` FunctionResponseTypes []*string `json:"functionResponseTypes,omitempty"` LastModified *metav1.Time `json:"lastModified,omitempty"` LastProcessingResult *string `json:"lastProcessingResult,omitempty"` MaximumBatchingWindowInSeconds *int64 `json:"maximumBatchingWindowInSeconds,omitempty"` MaximumRecordAgeInSeconds *int64 `json:"maximumRecordAgeInSeconds,omitempty"` MaximumRetryAttempts *int64 `json:"maximumRetryAttempts,omitempty"` ParallelizationFactor *int64 `json:"parallelizationFactor,omitempty"` Queues []*string `json:"queues,omitempty"` // (Amazon SQS only) The scaling configuration for the event source. To remove // the configuration, pass an empty value. ScalingConfig *ScalingConfig `json:"scalingConfig,omitempty"` // The self-managed Apache Kafka cluster for your event source. SelfManagedEventSource *SelfManagedEventSource `json:"selfManagedEventSource,omitempty"` // Specific configuration settings for a self-managed Apache Kafka event source. SelfManagedKafkaEventSourceConfig *SelfManagedKafkaEventSourceConfig `json:"selfManagedKafkaEventSourceConfig,omitempty"` SourceAccessConfigurations []*SourceAccessConfiguration `json:"sourceAccessConfigurations,omitempty"` StartingPosition *string `json:"startingPosition,omitempty"` StartingPositionTimestamp *metav1.Time `json:"startingPositionTimestamp,omitempty"` State *string `json:"state,omitempty"` StateTransitionReason *string `json:"stateTransitionReason,omitempty"` Topics []*string `json:"topics,omitempty"` TumblingWindowInSeconds *int64 `json:"tumblingWindowInSeconds,omitempty"` UUID *string `json:"uuid,omitempty"` }
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
func (*EventSourceMappingConfiguration) DeepCopy ¶
func (in *EventSourceMappingConfiguration) DeepCopy() *EventSourceMappingConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceMappingConfiguration.
func (*EventSourceMappingConfiguration) DeepCopyInto ¶
func (in *EventSourceMappingConfiguration) DeepCopyInto(out *EventSourceMappingConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventSourceMappingList ¶
type EventSourceMappingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EventSourceMapping `json:"items"` }
EventSourceMappingList contains a list of EventSourceMapping +kubebuilder:object:root=true
func (*EventSourceMappingList) DeepCopy ¶
func (in *EventSourceMappingList) DeepCopy() *EventSourceMappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceMappingList.
func (*EventSourceMappingList) DeepCopyInto ¶
func (in *EventSourceMappingList) DeepCopyInto(out *EventSourceMappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventSourceMappingList) DeepCopyObject ¶
func (in *EventSourceMappingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventSourceMappingSpec ¶
type EventSourceMappingSpec struct { // Specific configuration settings for an Amazon Managed Streaming for Apache // Kafka (Amazon MSK) event source. AmazonManagedKafkaEventSourceConfig *AmazonManagedKafkaEventSourceConfig `json:"amazonManagedKafkaEventSourceConfig,omitempty"` // The maximum number of records in each batch that Lambda pulls from your stream // or queue and sends to your function. Lambda passes all of the records in // the batch to the function in a single call, up to the payload limit for synchronous // invocation (6 MB). // // - Amazon Kinesis – Default 100. Max 10,000. // // - Amazon DynamoDB Streams – Default 100. Max 10,000. // // - Amazon Simple Queue Service – Default 10. For standard queues the // max is 10,000. For FIFO queues the max is 10. // // - Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000. // // - Self-managed Apache Kafka – Default 100. Max 10,000. // // - Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000. BatchSize *int64 `json:"batchSize,omitempty"` // (Streams only) If the function returns an error, split the batch in two and // retry. BisectBatchOnFunctionError *bool `json:"bisectBatchOnFunctionError,omitempty"` // (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded // records. DestinationConfig *DestinationConfig `json:"destinationConfig,omitempty"` // When true, the event source mapping is active. When false, Lambda pauses // polling and invocation. // // Default: True Enabled *bool `json:"enabled,omitempty"` // The Amazon Resource Name (ARN) of the event source. // // - Amazon Kinesis – The ARN of the data stream or a stream consumer. // // - Amazon DynamoDB Streams – The ARN of the stream. // // - Amazon Simple Queue Service – The ARN of the queue. // // - Amazon Managed Streaming for Apache Kafka – The ARN of the cluster. // // - Amazon MQ – The ARN of the broker. EventSourceARN *string `json:"eventSourceARN,omitempty"` EventSourceRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"eventSourceRef,omitempty"` // An object that defines the filter criteria that determine whether Lambda // should process an event. For more information, see Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *FilterCriteria `json:"filterCriteria,omitempty"` // The name of the Lambda function. // // Name formats // // - Function name – MyFunction. // // - Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // - Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. // // - Partial ARN – 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it's limited to 64 characters in length. FunctionName *string `json:"functionName,omitempty"` FunctionRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"functionRef,omitempty"` // (Streams and Amazon SQS) A list of current response type enums applied to // the event source mapping. FunctionResponseTypes []*string `json:"functionResponseTypes,omitempty"` // The maximum amount of time, in seconds, that Lambda spends gathering records // before invoking the function. You can configure MaximumBatchingWindowInSeconds // to any value from 0 seconds to 300 seconds in increments of seconds. // // For streams and Amazon SQS event sources, the default batching window is // 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ event // sources, the default batching window is 500 ms. Note that because you can // only change MaximumBatchingWindowInSeconds in increments of seconds, you // cannot revert back to the 500 ms default batching window after you have changed // it. To restore the default batching window, you must create a new event source // mapping. // // Related setting: For streams and Amazon SQS event sources, when you set BatchSize // to a value greater than 10, you must set MaximumBatchingWindowInSeconds to // at least 1. MaximumBatchingWindowInSeconds *int64 `json:"maximumBatchingWindowInSeconds,omitempty"` // (Streams only) Discard records older than the specified age. The default // value is infinite (-1). MaximumRecordAgeInSeconds *int64 `json:"maximumRecordAgeInSeconds,omitempty"` // (Streams only) Discard records after the specified number of retries. The // default value is infinite (-1). When set to infinite (-1), failed records // are retried until the record expires. MaximumRetryAttempts *int64 `json:"maximumRetryAttempts,omitempty"` // (Streams only) The number of batches to process from each shard concurrently. ParallelizationFactor *int64 `json:"parallelizationFactor,omitempty"` QueueRefs []*ackv1alpha1.AWSResourceReferenceWrapper `json:"queueRefs,omitempty"` // (MQ) The name of the Amazon MQ broker destination queue to consume. Queues []*string `json:"queues,omitempty"` // (Amazon SQS only) The scaling configuration for the event source. For more // information, see Configuring maximum concurrency for Amazon SQS event sources // (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). ScalingConfig *ScalingConfig `json:"scalingConfig,omitempty"` // The self-managed Apache Kafka cluster to receive records from. SelfManagedEventSource *SelfManagedEventSource `json:"selfManagedEventSource,omitempty"` // Specific configuration settings for a self-managed Apache Kafka event source. SelfManagedKafkaEventSourceConfig *SelfManagedKafkaEventSourceConfig `json:"selfManagedKafkaEventSourceConfig,omitempty"` // An array of authentication protocols or VPC components required to secure // your event source. SourceAccessConfigurations []*SourceAccessConfiguration `json:"sourceAccessConfigurations,omitempty"` // The position in a stream from which to start reading. Required for Amazon // Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP is // supported only for Amazon Kinesis streams. StartingPosition *string `json:"startingPosition,omitempty"` // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. StartingPositionTimestamp *metav1.Time `json:"startingPositionTimestamp,omitempty"` // The name of the Kafka topic. Topics []*string `json:"topics,omitempty"` // (Streams only) The duration in seconds of a processing window. The range // is between 1 second and 900 seconds. TumblingWindowInSeconds *int64 `json:"tumblingWindowInSeconds,omitempty"` }
EventSourceMappingSpec defines the desired state of EventSourceMapping.
func (*EventSourceMappingSpec) DeepCopy ¶
func (in *EventSourceMappingSpec) DeepCopy() *EventSourceMappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceMappingSpec.
func (*EventSourceMappingSpec) DeepCopyInto ¶
func (in *EventSourceMappingSpec) DeepCopyInto(out *EventSourceMappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventSourceMappingStatus ¶
type EventSourceMappingStatus struct { // All CRs managed by ACK have a common `Status.ACKResourceMetadata` member // that is used to contain resource sync state, account ownership, // constructed ARN for the resource // +kubebuilder:validation:Optional ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"` // All CRS managed by ACK have a common `Status.Conditions` member that // contains a collection of `ackv1alpha1.Condition` objects that describe // the various terminal states of the CR and its backend AWS service API // resource // +kubebuilder:validation:Optional Conditions []*ackv1alpha1.Condition `json:"conditions"` // The ARN of the Lambda function. // +kubebuilder:validation:Optional FunctionARN *string `json:"functionARN,omitempty"` // The date that the event source mapping was last updated or that its state // changed. // +kubebuilder:validation:Optional LastModified *metav1.Time `json:"lastModified,omitempty"` // The result of the last Lambda invocation of your function. // +kubebuilder:validation:Optional LastProcessingResult *string `json:"lastProcessingResult,omitempty"` // The state of the event source mapping. It can be one of the following: Creating, // Enabling, Enabled, Disabling, Disabled, Updating, or Deleting. // +kubebuilder:validation:Optional State *string `json:"state,omitempty"` // Indicates whether a user or Lambda made the last change to the event source // mapping. // +kubebuilder:validation:Optional StateTransitionReason *string `json:"stateTransitionReason,omitempty"` // The identifier of the event source mapping. // +kubebuilder:validation:Optional UUID *string `json:"uuid,omitempty"` }
EventSourceMappingStatus defines the observed state of EventSourceMapping
func (*EventSourceMappingStatus) DeepCopy ¶
func (in *EventSourceMappingStatus) DeepCopy() *EventSourceMappingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceMappingStatus.
func (*EventSourceMappingStatus) DeepCopyInto ¶
func (in *EventSourceMappingStatus) DeepCopyInto(out *EventSourceMappingStatus)
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"` }
Details about the connection between a Lambda function and an Amazon EFS file system (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html).
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 Filter ¶ added in v0.0.17
type Filter struct {
Pattern *string `json:"pattern,omitempty"`
}
A structure within a FilterCriteria object that defines an event filtering pattern.
func (*Filter) DeepCopy ¶ added in v0.0.17
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
func (*Filter) DeepCopyInto ¶ added in v0.0.17
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilterCriteria ¶ added in v0.0.17
type FilterCriteria struct {
Filters []*Filter `json:"filters,omitempty"`
}
An object that contains the filters for an event source.
func (*FilterCriteria) DeepCopy ¶ added in v0.0.17
func (in *FilterCriteria) DeepCopy() *FilterCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterCriteria.
func (*FilterCriteria) DeepCopyInto ¶ added in v0.0.17
func (in *FilterCriteria) DeepCopyInto(out *FilterCriteria)
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,omitempty"` Status FunctionStatus `json:"status,omitempty"` }
Function is the Schema for the Functions API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*Function) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.
func (*Function) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Function) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionCode ¶
type FunctionCode struct { ImageURI *string `json:"imageURI,omitempty"` S3Bucket *string `json:"s3Bucket,omitempty"` // Reference field for S3Bucket S3BucketRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"s3BucketRef,omitempty"` S3Key *string `json:"s3Key,omitempty"` S3ObjectVersion *string `json:"s3ObjectVersion,omitempty"` SHA256 *string `json:"sha256,omitempty"` ZipFile []byte `json:"zipFile,omitempty"` }
The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.
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"` }
Details about a function's deployment package.
func (*FunctionCodeLocation) DeepCopy ¶
func (in *FunctionCodeLocation) DeepCopy() *FunctionCodeLocation
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 ¶
type FunctionConfiguration struct { Architectures []*string `json:"architectures,omitempty"` 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 succeeds, the response contains the environment variables. If it // fails, the response contains details about the error. Environment *EnvironmentResponse `json:"environment,omitempty"` // The size of the function's /tmp directory in MB. The default value is 512, // but it can be any whole number between 512 and 10,240 MB. EphemeralStorage *EphemeralStorage `json:"ephemeralStorage,omitempty"` FileSystemConfigs []*FileSystemConfig `json:"fileSystemConfigs,omitempty"` FunctionARN *string `json:"functionARN,omitempty"` FunctionName *string `json:"functionName,omitempty"` Handler *string `json:"handler,omitempty"` // Response to a 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"` Layers []*Layer `json:"layers,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"` // The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) // setting. SnapStart *SnapStartResponse `json:"snapStart,omitempty"` State *string `json:"state,omitempty"` StateReason *string `json:"stateReason,omitempty"` StateReasonCode *string `json:"stateReasonCode,omitempty"` Timeout *int64 `json:"timeout,omitempty"` // The function's 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"` }
Details about a function's configuration.
func (*FunctionConfiguration) DeepCopy ¶
func (in *FunctionConfiguration) DeepCopy() *FunctionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionConfiguration.
func (*FunctionConfiguration) DeepCopyInto ¶
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 { // A configuration object that specifies the destination of an event after Lambda // processes it. DestinationConfig *DestinationConfig `json:"destinationConfig,omitempty"` FunctionARN *string `json:"functionARN,omitempty"` LastModified *metav1.Time `json:"lastModified,omitempty"` MaximumEventAgeInSeconds *int64 `json:"maximumEventAgeInSeconds,omitempty"` MaximumRetryAttempts *int64 `json:"maximumRetryAttempts,omitempty"` }
func (*FunctionEventInvokeConfig) DeepCopy ¶
func (in *FunctionEventInvokeConfig) DeepCopy() *FunctionEventInvokeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionEventInvokeConfig.
func (*FunctionEventInvokeConfig) DeepCopyInto ¶
func (in *FunctionEventInvokeConfig) DeepCopyInto(out *FunctionEventInvokeConfig)
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 Function +kubebuilder:object:root=true
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.
type FunctionResponseType ¶
type FunctionResponseType string
const (
FunctionResponseType_ReportBatchItemFailures FunctionResponseType = "ReportBatchItemFailures"
)
type FunctionSpec ¶
type FunctionSpec struct { // 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. Architectures []*string `json:"architectures,omitempty"` // The code for the function. // +kubebuilder:validation:Required Code *FunctionCode `json:"code"` // 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#invocation-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"` // 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. EphemeralStorage *EphemeralStorage `json:"ephemeralStorage,omitempty"` // Connection settings for an Amazon EFS file system. FileSystemConfigs []*FileSystemConfig `json:"fileSystemConfigs,omitempty"` // Configures options for asynchronous invocation on a function. // // - DestinationConfig // A destination for events after they have been sent to a function for processing. // // Types of Destinations: // Function - The Amazon Resource Name (ARN) of a Lambda function. // Queue - The ARN of a standard SQS queue. // Topic - The ARN of a standard SNS topic. // Event Bus - The ARN of an Amazon EventBridge event bus. // // - MaximumEventAgeInSeconds // The maximum age of a request that Lambda sends to a function for processing. // // - MaximumRetryAttempts // The maximum number of times to retry when the function returns an error. FunctionEventInvokeConfig *PutFunctionEventInvokeConfigInput `json:"functionEventInvokeConfig,omitempty"` // The name of the method within your code that Lambda calls to run your function. // Handler is required if the deployment package is a .zip file archive. The // format includes the file name. It can also include namespaces and other qualifiers, // depending on the runtime. For more information, see Lambda programming model // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html). Handler *string `json:"handler,omitempty"` // 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. ImageConfig *ImageConfig `json:"imageConfig,omitempty"` // The ARN of the Key Management Service (KMS) key that's used to encrypt your // function's environment variables. If it's not provided, Lambda uses a default // service key. KMSKeyARN *string `json:"kmsKeyARN,omitempty"` KMSKeyRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"kmsKeyRef,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 (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) // at runtime. Increasing the function 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 name of the Lambda function. // // Name formats // // - Function name – my-function. // // - Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // - Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // +kubebuilder:validation:Required Name *string `json:"name"` // The type of deployment package. Set to Image for container image and set // to Zip for .zip file 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 number of simultaneous executions to reserve for the function. ReservedConcurrentExecutions *int64 `json:"reservedConcurrentExecutions,omitempty"` // The Amazon Resource Name (ARN) of the function's execution role. Role *string `json:"role,omitempty"` RoleRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"roleRef,omitempty"` // The identifier of the function's runtime (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). // Runtime is required if the deployment package is a .zip file archive. Runtime *string `json:"runtime,omitempty"` // The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) // setting. SnapStart *SnapStart `json:"snapStart,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 (in seconds) that Lambda allows a function to run before // stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. // For more information, see Lambda execution environment (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). Timeout *int64 `json:"timeout,omitempty"` // 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). TracingConfig *TracingConfig `json:"tracingConfig,omitempty"` // For network connectivity to Amazon Web Services 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 access resources and the internet only through that VPC. // For more information, see Configuring a Lambda function to access resources // in a VPC (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). VPCConfig *VPCConfig `json:"vpcConfig,omitempty"` }
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 { // All CRs managed by ACK have a common `Status.ACKResourceMetadata` member // that is used to contain resource sync state, account ownership, // constructed ARN for the resource // +kubebuilder:validation:Optional ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"` // All CRS managed by ACK have a common `Status.Conditions` member that // contains a collection of `ackv1alpha1.Condition` objects that describe // the various terminal states of the CR and its backend AWS service API // resource // +kubebuilder:validation:Optional Conditions []*ackv1alpha1.Condition `json:"conditions"` // The SHA256 hash of the function's deployment package. // +kubebuilder:validation:Optional CodeSHA256 *string `json:"codeSHA256,omitempty"` // The size of the function's deployment package, in bytes. // +kubebuilder:validation:Optional CodeSize *int64 `json:"codeSize,omitempty"` // The function's image configuration values. // +kubebuilder:validation:Optional 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). // +kubebuilder:validation:Optional 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. // +kubebuilder:validation:Optional LastUpdateStatus *string `json:"lastUpdateStatus,omitempty"` // The reason for the last update that was performed on the function. // +kubebuilder:validation:Optional LastUpdateStatusReason *string `json:"lastUpdateStatusReason,omitempty"` // The reason code for the last update that was performed on the function. // +kubebuilder:validation:Optional LastUpdateStatusReasonCode *string `json:"lastUpdateStatusReasonCode,omitempty"` // The function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). // +kubebuilder:validation:Optional LayerStatuses []*Layer `json:"layerStatuses,omitempty"` // For Lambda@Edge functions, the ARN of the main function. // +kubebuilder:validation:Optional MasterARN *string `json:"masterARN,omitempty"` // The latest updated revision of the function or alias. // +kubebuilder:validation:Optional RevisionID *string `json:"revisionID,omitempty"` // The ARN of the signing job. // +kubebuilder:validation:Optional SigningJobARN *string `json:"signingJobARN,omitempty"` // The ARN of the signing profile version. // +kubebuilder:validation:Optional SigningProfileVersionARN *string `json:"signingProfileVersionARN,omitempty"` // The current state of the function. When the state is Inactive, you can reactivate // the function by invoking it. // +kubebuilder:validation:Optional State *string `json:"state,omitempty"` // The reason for the function's current state. // +kubebuilder:validation:Optional 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. // +kubebuilder:validation:Optional StateReasonCode *string `json:"stateReasonCode,omitempty"` // The version of the Lambda function. // +kubebuilder:validation:Optional Version *string `json:"version,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 FunctionURLAuthType ¶ added in v0.0.17
type FunctionURLAuthType string
const ( FunctionURLAuthType_NONE FunctionURLAuthType = "NONE" FunctionURLAuthType_AWS_IAM FunctionURLAuthType = "AWS_IAM" )
type FunctionURLConfig ¶ added in v0.0.17
type FunctionURLConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FunctionURLConfigSpec `json:"spec,omitempty"` Status FunctionURLConfigStatus `json:"status,omitempty"` }
FunctionURLConfig is the Schema for the FunctionURLConfigs API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*FunctionURLConfig) DeepCopy ¶ added in v0.0.17
func (in *FunctionURLConfig) DeepCopy() *FunctionURLConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionURLConfig.
func (*FunctionURLConfig) DeepCopyInto ¶ added in v0.0.17
func (in *FunctionURLConfig) DeepCopyInto(out *FunctionURLConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionURLConfig) DeepCopyObject ¶ added in v0.0.17
func (in *FunctionURLConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionURLConfigList ¶ added in v0.0.17
type FunctionURLConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FunctionURLConfig `json:"items"` }
FunctionURLConfigList contains a list of FunctionURLConfig +kubebuilder:object:root=true
func (*FunctionURLConfigList) DeepCopy ¶ added in v0.0.17
func (in *FunctionURLConfigList) DeepCopy() *FunctionURLConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionURLConfigList.
func (*FunctionURLConfigList) DeepCopyInto ¶ added in v0.0.17
func (in *FunctionURLConfigList) DeepCopyInto(out *FunctionURLConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionURLConfigList) DeepCopyObject ¶ added in v0.0.17
func (in *FunctionURLConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionURLConfigSpec ¶ added in v0.0.17
type FunctionURLConfigSpec struct { // The type of authentication that your function URL uses. Set to AWS_IAM if // you want to restrict access to authenticated IAM users only. Set to NONE // if you want to bypass IAM authentication to create a public endpoint. For // more information, see Security and auth model for Lambda function URLs (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). // +kubebuilder:validation:Required AuthType *string `json:"authType"` // The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) // settings for your function URL. CORS *CORS `json:"cors,omitempty"` // The name of the Lambda function. // // Name formats // // - Function name – my-function. // // - Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // - Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. FunctionName *string `json:"functionName,omitempty"` FunctionRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"functionRef,omitempty"` // The alias name. Qualifier *string `json:"qualifier,omitempty"` }
FunctionUrlConfigSpec defines the desired state of FunctionUrlConfig.
Details about a Lambda function URL.
func (*FunctionURLConfigSpec) DeepCopy ¶ added in v0.0.17
func (in *FunctionURLConfigSpec) DeepCopy() *FunctionURLConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionURLConfigSpec.
func (*FunctionURLConfigSpec) DeepCopyInto ¶ added in v0.0.17
func (in *FunctionURLConfigSpec) DeepCopyInto(out *FunctionURLConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionURLConfigStatus ¶ added in v0.0.17
type FunctionURLConfigStatus struct { // All CRs managed by ACK have a common `Status.ACKResourceMetadata` member // that is used to contain resource sync state, account ownership, // constructed ARN for the resource // +kubebuilder:validation:Optional ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"` // All CRS managed by ACK have a common `Status.Conditions` member that // contains a collection of `ackv1alpha1.Condition` objects that describe // the various terminal states of the CR and its backend AWS service API // resource // +kubebuilder:validation:Optional Conditions []*ackv1alpha1.Condition `json:"conditions"` // When the function URL was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) // (YYYY-MM-DDThh:mm:ss.sTZD). // +kubebuilder:validation:Optional CreationTime *string `json:"creationTime,omitempty"` // The Amazon Resource Name (ARN) of your function. // +kubebuilder:validation:Optional FunctionARN *string `json:"functionARN,omitempty"` // The HTTP URL endpoint for your function. // +kubebuilder:validation:Optional FunctionURL *string `json:"functionURL,omitempty"` }
FunctionURLConfigStatus defines the observed state of FunctionURLConfig
func (*FunctionURLConfigStatus) DeepCopy ¶ added in v0.0.17
func (in *FunctionURLConfigStatus) DeepCopy() *FunctionURLConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionURLConfigStatus.
func (*FunctionURLConfigStatus) DeepCopyInto ¶ added in v0.0.17
func (in *FunctionURLConfigStatus) DeepCopyInto(out *FunctionURLConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionURLConfig_SDK ¶ added in v0.0.17
type FunctionURLConfig_SDK struct { AuthType *string `json:"authType,omitempty"` // The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) // settings for your Lambda function URL. Use CORS to grant access to your function // URL from any origin. You can also use CORS to control access for specific // HTTP headers and methods in requests to your function URL. CORS *CORS `json:"cors,omitempty"` CreationTime *string `json:"creationTime,omitempty"` FunctionARN *string `json:"functionARN,omitempty"` FunctionURL *string `json:"functionURL,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` }
Details about a Lambda function URL.
func (*FunctionURLConfig_SDK) DeepCopy ¶ added in v0.0.17
func (in *FunctionURLConfig_SDK) DeepCopy() *FunctionURLConfig_SDK
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionURLConfig_SDK.
func (*FunctionURLConfig_SDK) DeepCopyInto ¶ added in v0.0.17
func (in *FunctionURLConfig_SDK) DeepCopyInto(out *FunctionURLConfig_SDK)
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"` }
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).
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"` }
Error response to GetFunctionConfiguration.
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. // For more information, see Container image settings (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms). ImageConfig *ImageConfig `json:"imageConfig,omitempty"` }
Response to a GetFunctionConfiguration request.
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" LastUpdateStatusReasonCode_KMSKeyAccessDenied LastUpdateStatusReasonCode = "KMSKeyAccessDenied" LastUpdateStatusReasonCode_KMSKeyNotFound LastUpdateStatusReasonCode = "KMSKeyNotFound" LastUpdateStatusReasonCode_InvalidStateKMSKey LastUpdateStatusReasonCode = "InvalidStateKMSKey" LastUpdateStatusReasonCode_DisabledKMSKey LastUpdateStatusReasonCode = "DisabledKMSKey" LastUpdateStatusReasonCode_EFSIOError LastUpdateStatusReasonCode = "EFSIOError" LastUpdateStatusReasonCode_EFSMountConnectivityError LastUpdateStatusReasonCode = "EFSMountConnectivityError" LastUpdateStatusReasonCode_EFSMountFailure LastUpdateStatusReasonCode = "EFSMountFailure" LastUpdateStatusReasonCode_EFSMountTimeout LastUpdateStatusReasonCode = "EFSMountTimeout" LastUpdateStatusReasonCode_InvalidRuntime LastUpdateStatusReasonCode = "InvalidRuntime" LastUpdateStatusReasonCode_InvalidZipFileException LastUpdateStatusReasonCode = "InvalidZipFileException" LastUpdateStatusReasonCode_FunctionError LastUpdateStatusReasonCode = "FunctionError" )
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"` }
An Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
func (*Layer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Layer.
func (*Layer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LayerVersion ¶ added in v0.1.4
type LayerVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LayerVersionSpec `json:"spec,omitempty"` Status LayerVersionStatus `json:"status,omitempty"` }
LayerVersion is the Schema for the LayerVersions API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*LayerVersion) DeepCopy ¶ added in v0.1.4
func (in *LayerVersion) DeepCopy() *LayerVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerVersion.
func (*LayerVersion) DeepCopyInto ¶ added in v0.1.4
func (in *LayerVersion) DeepCopyInto(out *LayerVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LayerVersion) DeepCopyObject ¶ added in v0.1.4
func (in *LayerVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LayerVersionContentInput ¶
type LayerVersionContentInput struct { S3Bucket *string `json:"s3Bucket,omitempty"` S3Key *string `json:"s3Key,omitempty"` S3ObjectVersion *string `json:"s3ObjectVersion,omitempty"` ZipFile []byte `json:"zipFile,omitempty"` }
A ZIP archive that contains the contents of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). You can specify either an Amazon S3 location, or upload a layer archive directly.
func (*LayerVersionContentInput) DeepCopy ¶
func (in *LayerVersionContentInput) DeepCopy() *LayerVersionContentInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerVersionContentInput.
func (*LayerVersionContentInput) DeepCopyInto ¶
func (in *LayerVersionContentInput) DeepCopyInto(out *LayerVersionContentInput)
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"` }
Details about a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
func (*LayerVersionContentOutput) DeepCopy ¶
func (in *LayerVersionContentOutput) DeepCopy() *LayerVersionContentOutput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerVersionContentOutput.
func (*LayerVersionContentOutput) DeepCopyInto ¶
func (in *LayerVersionContentOutput) DeepCopyInto(out *LayerVersionContentOutput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LayerVersionList ¶ added in v0.1.4
type LayerVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LayerVersion `json:"items"` }
LayerVersionList contains a list of LayerVersion +kubebuilder:object:root=true
func (*LayerVersionList) DeepCopy ¶ added in v0.1.4
func (in *LayerVersionList) DeepCopy() *LayerVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerVersionList.
func (*LayerVersionList) DeepCopyInto ¶ added in v0.1.4
func (in *LayerVersionList) DeepCopyInto(out *LayerVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LayerVersionList) DeepCopyObject ¶ added in v0.1.4
func (in *LayerVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LayerVersionSpec ¶ added in v0.1.4
type LayerVersionSpec struct { // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []*string `json:"compatibleArchitectures,omitempty"` // A list of compatible function runtimes (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). // Used for filtering with ListLayers and ListLayerVersions. CompatibleRuntimes []*string `json:"compatibleRuntimes,omitempty"` // The function layer archive. // +kubebuilder:validation:Required Content *LayerVersionContentInput `json:"content"` // The description of the version. Description *string `json:"description,omitempty"` // The name or Amazon Resource Name (ARN) of the layer. // +kubebuilder:validation:Required LayerName *string `json:"layerName"` // The layer's software license. It can be any of the following: // // - An SPDX license identifier (https://spdx.org/licenses/). For example, // MIT. // // - The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT. // // - The full text of the license. LicenseInfo *string `json:"licenseInfo,omitempty"` }
LayerVersionSpec defines the desired state of LayerVersion.
func (*LayerVersionSpec) DeepCopy ¶ added in v0.1.4
func (in *LayerVersionSpec) DeepCopy() *LayerVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerVersionSpec.
func (*LayerVersionSpec) DeepCopyInto ¶ added in v0.1.4
func (in *LayerVersionSpec) DeepCopyInto(out *LayerVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LayerVersionStatus ¶ added in v0.1.4
type LayerVersionStatus struct { // All CRs managed by ACK have a common `Status.ACKResourceMetadata` member // that is used to contain resource sync state, account ownership, // constructed ARN for the resource // +kubebuilder:validation:Optional ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"` // All CRS managed by ACK have a common `Status.Conditions` member that // contains a collection of `ackv1alpha1.Condition` objects that describe // the various terminal states of the CR and its backend AWS service API // resource // +kubebuilder:validation:Optional Conditions []*ackv1alpha1.Condition `json:"conditions"` // The date that the layer version was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) // (YYYY-MM-DDThh:mm:ss.sTZD). // +kubebuilder:validation:Optional CreatedDate *string `json:"createdDate,omitempty"` // The ARN of the layer. // +kubebuilder:validation:Optional LayerARN *string `json:"layerARN,omitempty"` // The version number. // +kubebuilder:validation:Optional VersionNumber *int64 `json:"versionNumber,omitempty"` }
LayerVersionStatus defines the observed state of LayerVersion
func (*LayerVersionStatus) DeepCopy ¶ added in v0.1.4
func (in *LayerVersionStatus) DeepCopy() *LayerVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerVersionStatus.
func (*LayerVersionStatus) DeepCopyInto ¶ added in v0.1.4
func (in *LayerVersionStatus) DeepCopyInto(out *LayerVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LayerVersionsListItem ¶
type LayerVersionsListItem struct { CompatibleArchitectures []*string `json:"compatibleArchitectures,omitempty"` CompatibleRuntimes []*string `json:"compatibleRuntimes,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` Description *string `json:"description,omitempty"` LayerVersionARN *string `json:"layerVersionARN,omitempty"` LicenseInfo *string `json:"licenseInfo,omitempty"` Version *int64 `json:"version,omitempty"` }
Details about a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
func (*LayerVersionsListItem) DeepCopy ¶
func (in *LayerVersionsListItem) DeepCopy() *LayerVersionsListItem
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 LayersListItem ¶ added in v0.1.4
type LayersListItem struct { // Details about a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). LatestMatchingVersion *LayerVersionsListItem `json:"latestMatchingVersion,omitempty"` LayerARN *string `json:"layerARN,omitempty"` LayerName *string `json:"layerName,omitempty"` }
Details about an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
func (*LayersListItem) DeepCopy ¶ added in v0.1.4
func (in *LayersListItem) DeepCopy() *LayersListItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayersListItem.
func (*LayersListItem) DeepCopyInto ¶ added in v0.1.4
func (in *LayersListItem) DeepCopyInto(out *LayersListItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OnFailure ¶
type OnFailure struct {
Destination *string `json:"destination,omitempty"`
}
A destination for events that failed processing.
func (*OnFailure) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnFailure.
func (*OnFailure) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OnSuccess ¶
type OnSuccess struct {
Destination *string `json:"destination,omitempty"`
}
A destination for events that were processed successfully.
func (*OnSuccess) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OnSuccess.
func (*OnSuccess) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` RequestedProvisionedConcurrentExecutions *int64 `json:"requestedProvisionedConcurrentExecutions,omitempty"` StatusReason *string `json:"statusReason,omitempty"` }
Details about the provisioned concurrency configuration for a function alias or version.
func (*ProvisionedConcurrencyConfigListItem) DeepCopy ¶
func (in *ProvisionedConcurrencyConfigListItem) DeepCopy() *ProvisionedConcurrencyConfigListItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionedConcurrencyConfigListItem.
func (*ProvisionedConcurrencyConfigListItem) DeepCopyInto ¶
func (in *ProvisionedConcurrencyConfigListItem) DeepCopyInto(out *ProvisionedConcurrencyConfigListItem)
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 ¶
type PutFunctionConcurrencyOutput struct {
ReservedConcurrentExecutions *int64 `json:"reservedConcurrentExecutions,omitempty"`
}
func (*PutFunctionConcurrencyOutput) DeepCopy ¶
func (in *PutFunctionConcurrencyOutput) DeepCopy() *PutFunctionConcurrencyOutput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutFunctionConcurrencyOutput.
func (*PutFunctionConcurrencyOutput) DeepCopyInto ¶
func (in *PutFunctionConcurrencyOutput) DeepCopyInto(out *PutFunctionConcurrencyOutput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PutFunctionEventInvokeConfigInput ¶ added in v1.1.0
type PutFunctionEventInvokeConfigInput struct { // A configuration object that specifies the destination of an event after Lambda // processes it. DestinationConfig *DestinationConfig `json:"destinationConfig,omitempty"` FunctionName *string `json:"functionName,omitempty"` MaximumEventAgeInSeconds *int64 `json:"maximumEventAgeInSeconds,omitempty"` MaximumRetryAttempts *int64 `json:"maximumRetryAttempts,omitempty"` Qualifier *string `json:"qualifier,omitempty"` }
func (*PutFunctionEventInvokeConfigInput) DeepCopy ¶ added in v1.1.0
func (in *PutFunctionEventInvokeConfigInput) DeepCopy() *PutFunctionEventInvokeConfigInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutFunctionEventInvokeConfigInput.
func (*PutFunctionEventInvokeConfigInput) DeepCopyInto ¶ added in v1.1.0
func (in *PutFunctionEventInvokeConfigInput) DeepCopyInto(out *PutFunctionEventInvokeConfigInput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PutProvisionedConcurrencyConfigInput ¶ added in v1.3.0
type PutProvisionedConcurrencyConfigInput struct { FunctionName *string `json:"functionName,omitempty"` ProvisionedConcurrentExecutions *int64 `json:"provisionedConcurrentExecutions,omitempty"` Qualifier *string `json:"qualifier,omitempty"` }
func (*PutProvisionedConcurrencyConfigInput) DeepCopy ¶ added in v1.3.0
func (in *PutProvisionedConcurrencyConfigInput) DeepCopy() *PutProvisionedConcurrencyConfigInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PutProvisionedConcurrencyConfigInput.
func (*PutProvisionedConcurrencyConfigInput) DeepCopyInto ¶ added in v1.3.0
func (in *PutProvisionedConcurrencyConfigInput) DeepCopyInto(out *PutProvisionedConcurrencyConfigInput)
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_nodejs16_x Runtime = "nodejs16.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_python3_9 Runtime = "python3.9" 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_dotnet6 Runtime = "dotnet6" 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" Runtime_nodejs18_x Runtime = "nodejs18.x" )
type ScalingConfig ¶ added in v0.1.6
type ScalingConfig struct {
MaximumConcurrency *int64 `json:"maximumConcurrency,omitempty"`
}
(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.
func (*ScalingConfig) DeepCopy ¶ added in v0.1.6
func (in *ScalingConfig) DeepCopy() *ScalingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingConfig.
func (*ScalingConfig) DeepCopyInto ¶ added in v0.1.6
func (in *ScalingConfig) DeepCopyInto(out *ScalingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelfManagedEventSource ¶
The self-managed Apache Kafka cluster for your event source.
func (*SelfManagedEventSource) DeepCopy ¶
func (in *SelfManagedEventSource) DeepCopy() *SelfManagedEventSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfManagedEventSource.
func (*SelfManagedEventSource) DeepCopyInto ¶
func (in *SelfManagedEventSource) DeepCopyInto(out *SelfManagedEventSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelfManagedKafkaEventSourceConfig ¶ added in v0.1.2
type SelfManagedKafkaEventSourceConfig struct {
ConsumerGroupID *string `json:"consumerGroupID,omitempty"`
}
Specific configuration settings for a self-managed Apache Kafka event source.
func (*SelfManagedKafkaEventSourceConfig) DeepCopy ¶ added in v0.1.2
func (in *SelfManagedKafkaEventSourceConfig) DeepCopy() *SelfManagedKafkaEventSourceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfManagedKafkaEventSourceConfig.
func (*SelfManagedKafkaEventSourceConfig) DeepCopyInto ¶ added in v0.1.2
func (in *SelfManagedKafkaEventSourceConfig) DeepCopyInto(out *SelfManagedKafkaEventSourceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapStart ¶ added in v0.1.6
type SnapStart struct {
ApplyOn *string `json:"applyOn,omitempty"`
}
The function's Lambda SnapStart setting. Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.
SnapStart is supported with the java11 runtime. For more information, see Improving startup performance with Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html).
func (*SnapStart) DeepCopy ¶ added in v0.1.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapStart.
func (*SnapStart) DeepCopyInto ¶ added in v0.1.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapStartApplyOn ¶ added in v0.1.6
type SnapStartApplyOn string
const ( SnapStartApplyOn_PublishedVersions SnapStartApplyOn = "PublishedVersions" SnapStartApplyOn_None SnapStartApplyOn = "None" )
type SnapStartOptimizationStatus ¶ added in v0.1.6
type SnapStartOptimizationStatus string
const ( SnapStartOptimizationStatus_On SnapStartOptimizationStatus = "On" SnapStartOptimizationStatus_Off SnapStartOptimizationStatus = "Off" )
type SnapStartResponse ¶ added in v0.1.6
type SnapStartResponse struct { ApplyOn *string `json:"applyOn,omitempty"` OptimizationStatus *string `json:"optimizationStatus,omitempty"` }
The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting.
func (*SnapStartResponse) DeepCopy ¶ added in v0.1.6
func (in *SnapStartResponse) DeepCopy() *SnapStartResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapStartResponse.
func (*SnapStartResponse) DeepCopyInto ¶ added in v0.1.6
func (in *SnapStartResponse) DeepCopyInto(out *SnapStartResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceAccessConfiguration ¶
type SourceAccessConfiguration struct { Type *string `json:"type_,omitempty"` URI *string `json:"uRI,omitempty"` }
To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.
func (*SourceAccessConfiguration) DeepCopy ¶
func (in *SourceAccessConfiguration) DeepCopy() *SourceAccessConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceAccessConfiguration.
func (*SourceAccessConfiguration) DeepCopyInto ¶
func (in *SourceAccessConfiguration) DeepCopyInto(out *SourceAccessConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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" SourceAccessType_VIRTUAL_HOST SourceAccessType = "VIRTUAL_HOST" SourceAccessType_CLIENT_CERTIFICATE_TLS_AUTH SourceAccessType = "CLIENT_CERTIFICATE_TLS_AUTH" SourceAccessType_SERVER_ROOT_CA_CERTIFICATE SourceAccessType = "SERVER_ROOT_CA_CERTIFICATE" )
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" StateReasonCode_KMSKeyAccessDenied StateReasonCode = "KMSKeyAccessDenied" StateReasonCode_KMSKeyNotFound StateReasonCode = "KMSKeyNotFound" StateReasonCode_InvalidStateKMSKey StateReasonCode = "InvalidStateKMSKey" StateReasonCode_DisabledKMSKey StateReasonCode = "DisabledKMSKey" StateReasonCode_EFSIOError StateReasonCode = "EFSIOError" StateReasonCode_EFSMountConnectivityError StateReasonCode = "EFSMountConnectivityError" StateReasonCode_EFSMountFailure StateReasonCode = "EFSMountFailure" StateReasonCode_EFSMountTimeout StateReasonCode = "EFSMountTimeout" StateReasonCode_InvalidRuntime StateReasonCode = "InvalidRuntime" StateReasonCode_InvalidZipFileException StateReasonCode = "InvalidZipFileException" StateReasonCode_FunctionError StateReasonCode = "FunctionError" )
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" ThrottleReason_ConcurrentSnapshotCreateLimitExceeded ThrottleReason = "ConcurrentSnapshotCreateLimitExceeded" )
type TracingConfig ¶
type TracingConfig struct {
Mode *string `json:"mode,omitempty"`
}
The function's X-Ray (https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) tracing configuration. To sample and record incoming requests, set Mode to Active.
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"`
}
The function's X-Ray tracing configuration.
func (*TracingConfigResponse) DeepCopy ¶
func (in *TracingConfigResponse) DeepCopy() *TracingConfigResponse
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"` // Reference field for SecurityGroupIDs SecurityGroupRefs []*ackv1alpha1.AWSResourceReferenceWrapper `json:"securityGroupRefs,omitempty"` SubnetIDs []*string `json:"subnetIDs,omitempty"` // Reference field for SubnetIDs SubnetRefs []*ackv1alpha1.AWSResourceReferenceWrapper `json:"subnetRefs,omitempty"` }
The VPC security groups and subnets that are attached to a Lambda function. For more information, see Configuring a Lambda function to access resources in a VPC (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).
func (*VPCConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfig.
func (*VPCConfig) DeepCopyInto ¶
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"` }
The VPC security groups and subnets that are attached to a Lambda function.
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.
type Version ¶ added in v1.3.6
type Version struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VersionSpec `json:"spec,omitempty"` Status VersionStatus `json:"status,omitempty"` }
Version is the Schema for the Versions API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*Version) DeepCopy ¶ added in v1.3.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Version.
func (*Version) DeepCopyInto ¶ added in v1.3.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Version) DeepCopyObject ¶ added in v1.3.6
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VersionList ¶ added in v1.3.6
type VersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Version `json:"items"` }
VersionList contains a list of Version +kubebuilder:object:root=true
func (*VersionList) DeepCopy ¶ added in v1.3.6
func (in *VersionList) DeepCopy() *VersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionList.
func (*VersionList) DeepCopyInto ¶ added in v1.3.6
func (in *VersionList) DeepCopyInto(out *VersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VersionList) DeepCopyObject ¶ added in v1.3.6
func (in *VersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VersionSpec ¶ added in v1.3.6
type VersionSpec struct { // Only publish a version if the hash value matches the value that's specified. // Use this option to avoid publishing a version if the function code has changed // since you last updated it. You can get the hash for the version that you // uploaded from the output of UpdateFunctionCode. CodeSHA256 *string `json:"codeSHA256,omitempty"` // A description for the version to override the description in the function // configuration. Description *string `json:"description,omitempty"` FunctionEventInvokeConfig *PutFunctionEventInvokeConfigInput `json:"functionEventInvokeConfig,omitempty"` // The name of the Lambda function. // // Name formats // // - Function name - MyFunction. // // - Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // - Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. FunctionName *string `json:"functionName,omitempty"` FunctionRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"functionRef,omitempty"` ProvisionedConcurrencyConfig *PutProvisionedConcurrencyConfigInput `json:"provisionedConcurrencyConfig,omitempty"` // Only update the function if the revision ID matches the ID that's specified. // Use this option to avoid publishing a version if the function configuration // has changed since you last updated it. RevisionID *string `json:"revisionID,omitempty"` }
func (*VersionSpec) DeepCopy ¶ added in v1.3.6
func (in *VersionSpec) DeepCopy() *VersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionSpec.
func (*VersionSpec) DeepCopyInto ¶ added in v1.3.6
func (in *VersionSpec) DeepCopyInto(out *VersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VersionStatus ¶ added in v1.3.6
type VersionStatus struct { // All CRs managed by ACK have a common `Status.ACKResourceMetadata` member // that is used to contain resource sync state, account ownership, // constructed ARN for the resource // +kubebuilder:validation:Optional ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"` // All CRS managed by ACK have a common `Status.Conditions` member that // contains a collection of `ackv1alpha1.Condition` objects that describe // the various terminal states of the CR and its backend AWS service API // resource // +kubebuilder:validation:Optional Conditions []*ackv1alpha1.Condition `json:"conditions"` // The instruction set architecture that the function supports. Architecture // is a string array with one of the valid values. The default architecture // value is x86_64. // +kubebuilder:validation:Optional Architectures []*string `json:"architectures,omitempty"` // The size of the function's deployment package, in bytes. // +kubebuilder:validation:Optional CodeSize *int64 `json:"codeSize,omitempty"` // The function's dead letter queue. // +kubebuilder:validation:Optional DeadLetterConfig *DeadLetterConfig `json:"deadLetterConfig,omitempty"` // The function's environment variables (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). // Omitted from CloudTrail logs. // +kubebuilder:validation:Optional Environment *EnvironmentResponse `json:"environment,omitempty"` // The size of the function’s /tmp directory in MB. The default value is 512, // but it can be any whole number between 512 and 10,240 MB. // +kubebuilder:validation:Optional EphemeralStorage *EphemeralStorage `json:"ephemeralStorage,omitempty"` // Connection settings for an Amazon EFS file system (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). // +kubebuilder:validation:Optional FileSystemConfigs []*FileSystemConfig `json:"fileSystemConfigs,omitempty"` // The function's Amazon Resource Name (ARN). // +kubebuilder:validation:Optional FunctionARN *string `json:"functionARN,omitempty"` // The function that Lambda calls to begin running your function. // +kubebuilder:validation:Optional Handler *string `json:"handler,omitempty"` // The function's image configuration values. // +kubebuilder:validation:Optional ImageConfigResponse *ImageConfigResponse `json:"imageConfigResponse,omitempty"` // The KMS key that's used to encrypt the function's environment variables. // This key is returned only if you've configured a customer managed key. // +kubebuilder:validation:Optional KMSKeyARN *string `json:"kmsKeyARN,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). // +kubebuilder:validation:Optional 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. // +kubebuilder:validation:Optional LastUpdateStatus *string `json:"lastUpdateStatus,omitempty"` // The reason for the last update that was performed on the function. // +kubebuilder:validation:Optional LastUpdateStatusReason *string `json:"lastUpdateStatusReason,omitempty"` // The reason code for the last update that was performed on the function. // +kubebuilder:validation:Optional LastUpdateStatusReasonCode *string `json:"lastUpdateStatusReasonCode,omitempty"` // The function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). // +kubebuilder:validation:Optional Layers []*Layer `json:"layers,omitempty"` // For Lambda@Edge functions, the ARN of the main function. // +kubebuilder:validation:Optional MasterARN *string `json:"masterARN,omitempty"` // The amount of memory available to the function at runtime. // +kubebuilder:validation:Optional MemorySize *int64 `json:"memorySize,omitempty"` // The type of deployment package. Set to Image for container image and set // Zip for .zip file archive. // +kubebuilder:validation:Optional PackageType *string `json:"packageType,omitempty"` // The version of the Lambda function. // +kubebuilder:validation:Optional Qualifier *string `json:"qualifier,omitempty"` // The function's execution role. // +kubebuilder:validation:Optional Role *string `json:"role,omitempty"` // The runtime environment for the Lambda function. // +kubebuilder:validation:Optional Runtime *string `json:"runtime,omitempty"` // The ARN of the signing job. // +kubebuilder:validation:Optional SigningJobARN *string `json:"signingJobARN,omitempty"` // The ARN of the signing profile version. // +kubebuilder:validation:Optional SigningProfileVersionARN *string `json:"signingProfileVersionARN,omitempty"` // Set ApplyOn to PublishedVersions to create a snapshot of the initialized // execution environment when you publish a function version. For more information, // see Improving startup performance with Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). // +kubebuilder:validation:Optional SnapStart *SnapStartResponse `json:"snapStart,omitempty"` // The current state of the function. When the state is Inactive, you can reactivate // the function by invoking it. // +kubebuilder:validation:Optional State *string `json:"state,omitempty"` // The reason for the function's current state. // +kubebuilder:validation:Optional 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. // +kubebuilder:validation:Optional StateReasonCode *string `json:"stateReasonCode,omitempty"` // The amount of time in seconds that Lambda allows a function to run before // stopping it. // +kubebuilder:validation:Optional Timeout *int64 `json:"timeout,omitempty"` // The function's X-Ray tracing configuration. // +kubebuilder:validation:Optional TracingConfig *TracingConfigResponse `json:"tracingConfig,omitempty"` // The version of the Lambda function. // +kubebuilder:validation:Optional Version *string `json:"version,omitempty"` // The function's networking configuration. // +kubebuilder:validation:Optional VPCConfig *VPCConfigResponse `json:"vpcConfig,omitempty"` }
VersionStatus defines the observed state of Version
func (*VersionStatus) DeepCopy ¶ added in v1.3.6
func (in *VersionStatus) DeepCopy() *VersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionStatus.
func (*VersionStatus) DeepCopyInto ¶ added in v1.3.6
func (in *VersionStatus) DeepCopyInto(out *VersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.