v1beta1

package
v0.0.0-...-274ce61 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=lambda.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "lambda.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Alias_Kind             = "Alias"
	Alias_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Alias_Kind}.String()
	Alias_KindAPIVersion   = Alias_Kind + "." + CRDGroupVersion.String()
	Alias_GroupVersionKind = CRDGroupVersion.WithKind(Alias_Kind)
)

Repository type metadata.

View Source
var (
	CodeSigningConfig_Kind             = "CodeSigningConfig"
	CodeSigningConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CodeSigningConfig_Kind}.String()
	CodeSigningConfig_KindAPIVersion   = CodeSigningConfig_Kind + "." + CRDGroupVersion.String()
	CodeSigningConfig_GroupVersionKind = CRDGroupVersion.WithKind(CodeSigningConfig_Kind)
)

Repository type metadata.

View Source
var (
	EventSourceMapping_Kind             = "EventSourceMapping"
	EventSourceMapping_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EventSourceMapping_Kind}.String()
	EventSourceMapping_KindAPIVersion   = EventSourceMapping_Kind + "." + CRDGroupVersion.String()
	EventSourceMapping_GroupVersionKind = CRDGroupVersion.WithKind(EventSourceMapping_Kind)
)

Repository type metadata.

View Source
var (
	Function_Kind             = "Function"
	Function_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Function_Kind}.String()
	Function_KindAPIVersion   = Function_Kind + "." + CRDGroupVersion.String()
	Function_GroupVersionKind = CRDGroupVersion.WithKind(Function_Kind)
)

Repository type metadata.

View Source
var (
	FunctionEventInvokeConfig_Kind             = "FunctionEventInvokeConfig"
	FunctionEventInvokeConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FunctionEventInvokeConfig_Kind}.String()
	FunctionEventInvokeConfig_KindAPIVersion   = FunctionEventInvokeConfig_Kind + "." + CRDGroupVersion.String()
	FunctionEventInvokeConfig_GroupVersionKind = CRDGroupVersion.WithKind(FunctionEventInvokeConfig_Kind)
)

Repository type metadata.

View Source
var (
	FunctionURL_Kind             = "FunctionURL"
	FunctionURL_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FunctionURL_Kind}.String()
	FunctionURL_KindAPIVersion   = FunctionURL_Kind + "." + CRDGroupVersion.String()
	FunctionURL_GroupVersionKind = CRDGroupVersion.WithKind(FunctionURL_Kind)
)

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Invocation_Kind             = "Invocation"
	Invocation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Invocation_Kind}.String()
	Invocation_KindAPIVersion   = Invocation_Kind + "." + CRDGroupVersion.String()
	Invocation_GroupVersionKind = CRDGroupVersion.WithKind(Invocation_Kind)
)

Repository type metadata.

View Source
var (
	LayerVersion_Kind             = "LayerVersion"
	LayerVersion_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LayerVersion_Kind}.String()
	LayerVersion_KindAPIVersion   = LayerVersion_Kind + "." + CRDGroupVersion.String()
	LayerVersion_GroupVersionKind = CRDGroupVersion.WithKind(LayerVersion_Kind)
)

Repository type metadata.

View Source
var (
	LayerVersionPermission_Kind             = "LayerVersionPermission"
	LayerVersionPermission_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LayerVersionPermission_Kind}.String()
	LayerVersionPermission_KindAPIVersion   = LayerVersionPermission_Kind + "." + CRDGroupVersion.String()
	LayerVersionPermission_GroupVersionKind = CRDGroupVersion.WithKind(LayerVersionPermission_Kind)
)

Repository type metadata.

View Source
var (
	Permission_Kind             = "Permission"
	Permission_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Permission_Kind}.String()
	Permission_KindAPIVersion   = Permission_Kind + "." + CRDGroupVersion.String()
	Permission_GroupVersionKind = CRDGroupVersion.WithKind(Permission_Kind)
)

Repository type metadata.

View Source
var (
	ProvisionedConcurrencyConfig_Kind             = "ProvisionedConcurrencyConfig"
	ProvisionedConcurrencyConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProvisionedConcurrencyConfig_Kind}.String()
	ProvisionedConcurrencyConfig_KindAPIVersion   = ProvisionedConcurrencyConfig_Kind + "." + CRDGroupVersion.String()
	ProvisionedConcurrencyConfig_GroupVersionKind = CRDGroupVersion.WithKind(ProvisionedConcurrencyConfig_Kind)
)

Repository type metadata.

Functions

func LambdaFunctionInvokeARN

func LambdaFunctionInvokeARN() reference.ExtractValueFn

LambdaFunctionInvokeARN returns the invoke ARN value of the lambda function.

Types

type Alias

type Alias struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.functionVersion)",message="functionVersion is a required parameter"
	Spec   AliasSpec   `json:"spec"`
	Status AliasStatus `json:"status,omitempty"`
}

Alias is the Schema for the Aliass API. Creates a Lambda function alias. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Alias) DeepCopy

func (in *Alias) DeepCopy() *Alias

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

func (*Alias) DeepCopyInto

func (in *Alias) DeepCopyInto(out *Alias)

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

func (*Alias) DeepCopyObject

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

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

func (*Alias) GetCondition

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

GetCondition of this Alias.

func (*Alias) GetConnectionDetailsMapping

func (tr *Alias) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Alias

func (*Alias) GetDeletionPolicy

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

GetDeletionPolicy of this Alias.

func (*Alias) GetID

func (tr *Alias) GetID() string

GetID returns ID of underlying Terraform resource of this Alias

func (*Alias) GetManagementPolicy

func (mg *Alias) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Alias.

func (*Alias) GetObservation

func (tr *Alias) GetObservation() (map[string]any, error)

GetObservation of this Alias

func (*Alias) GetParameters

func (tr *Alias) GetParameters() (map[string]any, error)

GetParameters of this Alias

func (*Alias) GetProviderConfigReference

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

GetProviderConfigReference of this Alias.

func (*Alias) GetProviderReference

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

GetProviderReference of this Alias. Deprecated: Use GetProviderConfigReference.

func (*Alias) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Alias.

func (*Alias) GetTerraformResourceType

func (mg *Alias) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Alias

func (*Alias) GetTerraformSchemaVersion

func (tr *Alias) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Alias) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Alias.

func (*Alias) LateInitialize

func (tr *Alias) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Alias using its observed tfState. returns True if there are any spec changes for the resource.

func (*Alias) ResolveReferences

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

ResolveReferences of this Alias.

func (*Alias) SetConditions

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

SetConditions of this Alias.

func (*Alias) SetDeletionPolicy

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

SetDeletionPolicy of this Alias.

func (*Alias) SetManagementPolicy

func (mg *Alias) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Alias.

func (*Alias) SetObservation

func (tr *Alias) SetObservation(obs map[string]any) error

SetObservation for this Alias

func (*Alias) SetParameters

func (tr *Alias) SetParameters(params map[string]any) error

SetParameters for this Alias

func (*Alias) SetProviderConfigReference

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

SetProviderConfigReference of this Alias.

func (*Alias) SetProviderReference

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

SetProviderReference of this Alias. Deprecated: Use SetProviderConfigReference.

func (*Alias) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Alias.

func (*Alias) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Alias.

type AliasList

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

AliasList contains a list of Aliass

func (*AliasList) DeepCopy

func (in *AliasList) DeepCopy() *AliasList

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

func (*AliasList) DeepCopyInto

func (in *AliasList) DeepCopyInto(out *AliasList)

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

func (*AliasList) DeepCopyObject

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

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

func (*AliasList) GetItems

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

GetItems of this AliasList.

type AliasObservation

type AliasObservation struct {

	// The Amazon Resource Name (ARN) identifying your Lambda function alias.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Description of the alias.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Lambda Function name or ARN.
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Lambda function version for which you are creating the alias. Pattern: (\$LATEST|[0-9]+).
	FunctionVersion *string `json:"functionVersion,omitempty" tf:"function_version,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration's uri
	InvokeArn *string `json:"invokeArn,omitempty" tf:"invoke_arn,omitempty"`

	// The Lambda alias' route configuration settings. Fields documented below
	RoutingConfig []RoutingConfigObservation `json:"routingConfig,omitempty" tf:"routing_config,omitempty"`
}

func (*AliasObservation) DeepCopy

func (in *AliasObservation) DeepCopy() *AliasObservation

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

func (*AliasObservation) DeepCopyInto

func (in *AliasObservation) DeepCopyInto(out *AliasObservation)

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

type AliasParameters

type AliasParameters struct {

	// Description of the alias.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Lambda Function name or ARN.
	// +crossplane:generate:reference:type=Function
	// +kubebuilder:validation:Optional
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Reference to a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameRef *v1.Reference `json:"functionNameRef,omitempty" tf:"-"`

	// Selector for a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameSelector *v1.Selector `json:"functionNameSelector,omitempty" tf:"-"`

	// Lambda function version for which you are creating the alias. Pattern: (\$LATEST|[0-9]+).
	// +kubebuilder:validation:Optional
	FunctionVersion *string `json:"functionVersion,omitempty" tf:"function_version,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The Lambda alias' route configuration settings. Fields documented below
	// +kubebuilder:validation:Optional
	RoutingConfig []RoutingConfigParameters `json:"routingConfig,omitempty" tf:"routing_config,omitempty"`
}

func (*AliasParameters) DeepCopy

func (in *AliasParameters) DeepCopy() *AliasParameters

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

func (*AliasParameters) DeepCopyInto

func (in *AliasParameters) DeepCopyInto(out *AliasParameters)

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

type AliasSpec

type AliasSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AliasParameters `json:"forProvider"`
}

AliasSpec defines the desired state of Alias

func (*AliasSpec) DeepCopy

func (in *AliasSpec) DeepCopy() *AliasSpec

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

func (*AliasSpec) DeepCopyInto

func (in *AliasSpec) DeepCopyInto(out *AliasSpec)

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

type AliasStatus

type AliasStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        AliasObservation `json:"atProvider,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 AllowedPublishersObservation

type AllowedPublishersObservation struct {

	// The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
	SigningProfileVersionArns []*string `json:"signingProfileVersionArns,omitempty" tf:"signing_profile_version_arns,omitempty"`
}

func (*AllowedPublishersObservation) DeepCopy

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

func (*AllowedPublishersObservation) DeepCopyInto

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

type AllowedPublishersParameters

type AllowedPublishersParameters struct {

	// The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/signer/v1beta1.SigningProfile
	// +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	SigningProfileVersionArns []*string `json:"signingProfileVersionArns,omitempty" tf:"signing_profile_version_arns,omitempty"`

	// References to SigningProfile in signer to populate signingProfileVersionArns.
	// +kubebuilder:validation:Optional
	SigningProfileVersionArnsRefs []v1.Reference `json:"signingProfileVersionArnsRefs,omitempty" tf:"-"`

	// Selector for a list of SigningProfile in signer to populate signingProfileVersionArns.
	// +kubebuilder:validation:Optional
	SigningProfileVersionArnsSelector *v1.Selector `json:"signingProfileVersionArnsSelector,omitempty" tf:"-"`
}

func (*AllowedPublishersParameters) DeepCopy

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

func (*AllowedPublishersParameters) DeepCopyInto

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

type AmazonManagedKafkaEventSourceConfigObservation

type AmazonManagedKafkaEventSourceConfigObservation struct {

	// A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See AmazonManagedKafkaEventSourceConfig Syntax.
	ConsumerGroupID *string `json:"consumerGroupId,omitempty" tf:"consumer_group_id,omitempty"`
}

func (*AmazonManagedKafkaEventSourceConfigObservation) DeepCopy

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

func (*AmazonManagedKafkaEventSourceConfigObservation) DeepCopyInto

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

type AmazonManagedKafkaEventSourceConfigParameters

type AmazonManagedKafkaEventSourceConfigParameters struct {

	// A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See AmazonManagedKafkaEventSourceConfig Syntax.
	// +kubebuilder:validation:Optional
	ConsumerGroupID *string `json:"consumerGroupId,omitempty" tf:"consumer_group_id,omitempty"`
}

func (*AmazonManagedKafkaEventSourceConfigParameters) DeepCopy

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

func (*AmazonManagedKafkaEventSourceConfigParameters) DeepCopyInto

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"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.allowedPublishers)",message="allowedPublishers is a required parameter"
	Spec   CodeSigningConfigSpec   `json:"spec"`
	Status CodeSigningConfigStatus `json:"status,omitempty"`
}

CodeSigningConfig is the Schema for the CodeSigningConfigs API. Provides a Lambda Code Signing Config resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

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.

func (*CodeSigningConfig) GetCondition

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

GetCondition of this CodeSigningConfig.

func (*CodeSigningConfig) GetConnectionDetailsMapping

func (tr *CodeSigningConfig) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CodeSigningConfig

func (*CodeSigningConfig) GetDeletionPolicy

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

GetDeletionPolicy of this CodeSigningConfig.

func (*CodeSigningConfig) GetID

func (tr *CodeSigningConfig) GetID() string

GetID returns ID of underlying Terraform resource of this CodeSigningConfig

func (*CodeSigningConfig) GetManagementPolicy

func (mg *CodeSigningConfig) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this CodeSigningConfig.

func (*CodeSigningConfig) GetObservation

func (tr *CodeSigningConfig) GetObservation() (map[string]any, error)

GetObservation of this CodeSigningConfig

func (*CodeSigningConfig) GetParameters

func (tr *CodeSigningConfig) GetParameters() (map[string]any, error)

GetParameters of this CodeSigningConfig

func (*CodeSigningConfig) GetProviderConfigReference

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

GetProviderConfigReference of this CodeSigningConfig.

func (*CodeSigningConfig) GetProviderReference

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

GetProviderReference of this CodeSigningConfig. Deprecated: Use GetProviderConfigReference.

func (*CodeSigningConfig) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CodeSigningConfig.

func (*CodeSigningConfig) GetTerraformResourceType

func (mg *CodeSigningConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CodeSigningConfig

func (*CodeSigningConfig) GetTerraformSchemaVersion

func (tr *CodeSigningConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CodeSigningConfig) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CodeSigningConfig.

func (*CodeSigningConfig) LateInitialize

func (tr *CodeSigningConfig) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CodeSigningConfig using its observed tfState. returns True if there are any spec changes for the resource.

func (*CodeSigningConfig) ResolveReferences

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

ResolveReferences of this CodeSigningConfig.

func (*CodeSigningConfig) SetConditions

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

SetConditions of this CodeSigningConfig.

func (*CodeSigningConfig) SetDeletionPolicy

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

SetDeletionPolicy of this CodeSigningConfig.

func (*CodeSigningConfig) SetManagementPolicy

func (mg *CodeSigningConfig) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this CodeSigningConfig.

func (*CodeSigningConfig) SetObservation

func (tr *CodeSigningConfig) SetObservation(obs map[string]any) error

SetObservation for this CodeSigningConfig

func (*CodeSigningConfig) SetParameters

func (tr *CodeSigningConfig) SetParameters(params map[string]any) error

SetParameters for this CodeSigningConfig

func (*CodeSigningConfig) SetProviderConfigReference

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

SetProviderConfigReference of this CodeSigningConfig.

func (*CodeSigningConfig) SetProviderReference

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

SetProviderReference of this CodeSigningConfig. Deprecated: Use SetProviderConfigReference.

func (*CodeSigningConfig) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CodeSigningConfig.

func (*CodeSigningConfig) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CodeSigningConfig.

type CodeSigningConfigList

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

CodeSigningConfigList contains a list of CodeSigningConfigs

func (*CodeSigningConfigList) DeepCopy

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.

func (*CodeSigningConfigList) GetItems

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

GetItems of this CodeSigningConfigList.

type CodeSigningConfigObservation

type CodeSigningConfigObservation struct {

	// A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below.
	AllowedPublishers []AllowedPublishersObservation `json:"allowedPublishers,omitempty" tf:"allowed_publishers,omitempty"`

	// The Amazon Resource Name (ARN) of the code signing configuration.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Unique identifier for the code signing configuration.
	ConfigID *string `json:"configId,omitempty" tf:"config_id,omitempty"`

	// Descriptive name for this code signing configuration.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The date and time that the code signing configuration was last modified.
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	// A configuration block of code signing policies that define the actions to take if the validation checks fail. Detailed below.
	Policies []PoliciesObservation `json:"policies,omitempty" tf:"policies,omitempty"`
}

func (*CodeSigningConfigObservation) DeepCopy

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

func (*CodeSigningConfigObservation) DeepCopyInto

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

type CodeSigningConfigParameters

type CodeSigningConfigParameters struct {

	// A configuration block of allowed publishers as signing profiles for this code signing configuration. Detailed below.
	// +kubebuilder:validation:Optional
	AllowedPublishers []AllowedPublishersParameters `json:"allowedPublishers,omitempty" tf:"allowed_publishers,omitempty"`

	// Descriptive name for this code signing configuration.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A configuration block of code signing policies that define the actions to take if the validation checks fail. Detailed below.
	// +kubebuilder:validation:Optional
	Policies []PoliciesParameters `json:"policies,omitempty" tf:"policies,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`
}

func (*CodeSigningConfigParameters) DeepCopy

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

func (*CodeSigningConfigParameters) DeepCopyInto

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

type CodeSigningConfigSpec

type CodeSigningConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CodeSigningConfigParameters `json:"forProvider"`
}

CodeSigningConfigSpec defines the desired state of CodeSigningConfig

func (*CodeSigningConfigSpec) DeepCopy

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 {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CodeSigningConfigObservation `json:"atProvider,omitempty"`
}

CodeSigningConfigStatus defines the observed state of CodeSigningConfig.

func (*CodeSigningConfigStatus) DeepCopy

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 CorsObservation

type CorsObservation struct {

	// Whether to allow cookies or other credentials in requests to the function URL. The default is false.
	AllowCredentials *bool `json:"allowCredentials,omitempty" tf:"allow_credentials,omitempty"`

	// The HTTP headers that origins can include in requests to the function URL. For example: ["date", "keep-alive", "x-custom-header"].
	AllowHeaders []*string `json:"allowHeaders,omitempty" tf:"allow_headers,omitempty"`

	// The HTTP methods that are allowed when calling the function URL. For example: ["GET", "POST", "DELETE"], or the wildcard character (["*"]).
	AllowMethods []*string `json:"allowMethods,omitempty" tf:"allow_methods,omitempty"`

	// The origins that can access the function URL. You can list any number of specific origins (or the wildcard character ("*")), separated by a comma. For example: ["https://www.example.com", "http://localhost:60905"].
	AllowOrigins []*string `json:"allowOrigins,omitempty" tf:"allow_origins,omitempty"`

	// The HTTP headers in your function response that you want to expose to origins that call the function URL.
	ExposeHeaders []*string `json:"exposeHeaders,omitempty" tf:"expose_headers,omitempty"`

	// The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By default, this is set to 0, which means that the browser doesn't cache results. The maximum value is 86400.
	MaxAge *float64 `json:"maxAge,omitempty" tf:"max_age,omitempty"`
}

func (*CorsObservation) DeepCopy

func (in *CorsObservation) DeepCopy() *CorsObservation

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

func (*CorsObservation) DeepCopyInto

func (in *CorsObservation) DeepCopyInto(out *CorsObservation)

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

type CorsParameters

type CorsParameters struct {

	// Whether to allow cookies or other credentials in requests to the function URL. The default is false.
	// +kubebuilder:validation:Optional
	AllowCredentials *bool `json:"allowCredentials,omitempty" tf:"allow_credentials,omitempty"`

	// The HTTP headers that origins can include in requests to the function URL. For example: ["date", "keep-alive", "x-custom-header"].
	// +kubebuilder:validation:Optional
	AllowHeaders []*string `json:"allowHeaders,omitempty" tf:"allow_headers,omitempty"`

	// The HTTP methods that are allowed when calling the function URL. For example: ["GET", "POST", "DELETE"], or the wildcard character (["*"]).
	// +kubebuilder:validation:Optional
	AllowMethods []*string `json:"allowMethods,omitempty" tf:"allow_methods,omitempty"`

	// The origins that can access the function URL. You can list any number of specific origins (or the wildcard character ("*")), separated by a comma. For example: ["https://www.example.com", "http://localhost:60905"].
	// +kubebuilder:validation:Optional
	AllowOrigins []*string `json:"allowOrigins,omitempty" tf:"allow_origins,omitempty"`

	// The HTTP headers in your function response that you want to expose to origins that call the function URL.
	// +kubebuilder:validation:Optional
	ExposeHeaders []*string `json:"exposeHeaders,omitempty" tf:"expose_headers,omitempty"`

	// The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By default, this is set to 0, which means that the browser doesn't cache results. The maximum value is 86400.
	// +kubebuilder:validation:Optional
	MaxAge *float64 `json:"maxAge,omitempty" tf:"max_age,omitempty"`
}

func (*CorsParameters) DeepCopy

func (in *CorsParameters) DeepCopy() *CorsParameters

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

func (*CorsParameters) DeepCopyInto

func (in *CorsParameters) DeepCopyInto(out *CorsParameters)

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

type DeadLetterConfigObservation

type DeadLetterConfigObservation struct {

	// ARN of an SNS topic or SQS queue to notify when an invocation fails. If this option is used, the function's IAM role must be granted suitable access to write to the target object, which means allowing either the sns:Publish or sqs:SendMessage action on this ARN, depending on which service is targeted.
	TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"`
}

func (*DeadLetterConfigObservation) DeepCopy

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

func (*DeadLetterConfigObservation) DeepCopyInto

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

type DeadLetterConfigParameters

type DeadLetterConfigParameters struct {

	// ARN of an SNS topic or SQS queue to notify when an invocation fails. If this option is used, the function's IAM role must be granted suitable access to write to the target object, which means allowing either the sns:Publish or sqs:SendMessage action on this ARN, depending on which service is targeted.
	// +kubebuilder:validation:Required
	TargetArn *string `json:"targetArn" tf:"target_arn,omitempty"`
}

func (*DeadLetterConfigParameters) DeepCopy

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

func (*DeadLetterConfigParameters) DeepCopyInto

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

type DestinationConfigObservation

type DestinationConfigObservation struct {

	// The destination configuration for failed invocations. Detailed below.
	OnFailure []OnFailureObservation `json:"onFailure,omitempty" tf:"on_failure,omitempty"`
}

func (*DestinationConfigObservation) DeepCopy

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

func (*DestinationConfigObservation) DeepCopyInto

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

type DestinationConfigOnFailureObservation

type DestinationConfigOnFailureObservation struct {

	// Amazon Resource Name (ARN) of the destination resource. See the Lambda Developer Guide for acceptable resource types and associated IAM permissions.
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`
}

func (*DestinationConfigOnFailureObservation) DeepCopy

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

func (*DestinationConfigOnFailureObservation) DeepCopyInto

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

type DestinationConfigOnFailureParameters

type DestinationConfigOnFailureParameters struct {

	// Amazon Resource Name (ARN) of the destination resource. See the Lambda Developer Guide for acceptable resource types and associated IAM permissions.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/sqs/v1beta1.Queue
	// +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

	// Reference to a Queue in sqs to populate destination.
	// +kubebuilder:validation:Optional
	DestinationRef *v1.Reference `json:"destinationRef,omitempty" tf:"-"`

	// Selector for a Queue in sqs to populate destination.
	// +kubebuilder:validation:Optional
	DestinationSelector *v1.Selector `json:"destinationSelector,omitempty" tf:"-"`
}

func (*DestinationConfigOnFailureParameters) DeepCopy

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

func (*DestinationConfigOnFailureParameters) DeepCopyInto

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

type DestinationConfigParameters

type DestinationConfigParameters struct {

	// The destination configuration for failed invocations. Detailed below.
	// +kubebuilder:validation:Optional
	OnFailure []OnFailureParameters `json:"onFailure,omitempty" tf:"on_failure,omitempty"`
}

func (*DestinationConfigParameters) DeepCopy

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

func (*DestinationConfigParameters) DeepCopyInto

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

type EnvironmentObservation

type EnvironmentObservation struct {

	// Map of environment variables that are accessible from the function code during execution. If provided at least one key must be present.
	Variables map[string]*string `json:"variables,omitempty" tf:"variables,omitempty"`
}

func (*EnvironmentObservation) DeepCopy

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

func (*EnvironmentObservation) DeepCopyInto

func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation)

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

type EnvironmentParameters

type EnvironmentParameters struct {

	// Map of environment variables that are accessible from the function code during execution. If provided at least one key must be present.
	// +kubebuilder:validation:Optional
	Variables map[string]*string `json:"variables,omitempty" tf:"variables,omitempty"`
}

func (*EnvironmentParameters) DeepCopy

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

func (*EnvironmentParameters) DeepCopyInto

func (in *EnvironmentParameters) DeepCopyInto(out *EnvironmentParameters)

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

type EphemeralStorageObservation

type EphemeralStorageObservation struct {

	// The size of the Lambda function Ephemeral storage(/tmp) represented in MB. The minimum supported ephemeral_storage value defaults to 512MB and the maximum supported value is 10240MB.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`
}

func (*EphemeralStorageObservation) DeepCopy

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

func (*EphemeralStorageObservation) DeepCopyInto

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

type EphemeralStorageParameters

type EphemeralStorageParameters struct {

	// The size of the Lambda function Ephemeral storage(/tmp) represented in MB. The minimum supported ephemeral_storage value defaults to 512MB and the maximum supported value is 10240MB.
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`
}

func (*EphemeralStorageParameters) DeepCopy

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

func (*EphemeralStorageParameters) DeepCopyInto

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"`
	Status            EventSourceMappingStatus `json:"status,omitempty"`
}

EventSourceMapping is the Schema for the EventSourceMappings API. Provides a Lambda event source mapping. This allows Lambda functions to get events from Kinesis, DynamoDB, SQS, Amazon MQ and Managed Streaming for Apache Kafka (MSK). +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

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.

func (*EventSourceMapping) GetCondition

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

GetCondition of this EventSourceMapping.

func (*EventSourceMapping) GetConnectionDetailsMapping

func (tr *EventSourceMapping) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this EventSourceMapping

func (*EventSourceMapping) GetDeletionPolicy

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

GetDeletionPolicy of this EventSourceMapping.

func (*EventSourceMapping) GetID

func (tr *EventSourceMapping) GetID() string

GetID returns ID of underlying Terraform resource of this EventSourceMapping

func (*EventSourceMapping) GetManagementPolicy

func (mg *EventSourceMapping) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this EventSourceMapping.

func (*EventSourceMapping) GetObservation

func (tr *EventSourceMapping) GetObservation() (map[string]any, error)

GetObservation of this EventSourceMapping

func (*EventSourceMapping) GetParameters

func (tr *EventSourceMapping) GetParameters() (map[string]any, error)

GetParameters of this EventSourceMapping

func (*EventSourceMapping) GetProviderConfigReference

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

GetProviderConfigReference of this EventSourceMapping.

func (*EventSourceMapping) GetProviderReference

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

GetProviderReference of this EventSourceMapping. Deprecated: Use GetProviderConfigReference.

func (*EventSourceMapping) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EventSourceMapping.

func (*EventSourceMapping) GetTerraformResourceType

func (mg *EventSourceMapping) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EventSourceMapping

func (*EventSourceMapping) GetTerraformSchemaVersion

func (tr *EventSourceMapping) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EventSourceMapping) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EventSourceMapping.

func (*EventSourceMapping) LateInitialize

func (tr *EventSourceMapping) LateInitialize(attrs []byte) (bool, error)

LateInitialize this EventSourceMapping using its observed tfState. returns True if there are any spec changes for the resource.

func (*EventSourceMapping) ResolveReferences

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

ResolveReferences of this EventSourceMapping.

func (*EventSourceMapping) SetConditions

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

SetConditions of this EventSourceMapping.

func (*EventSourceMapping) SetDeletionPolicy

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

SetDeletionPolicy of this EventSourceMapping.

func (*EventSourceMapping) SetManagementPolicy

func (mg *EventSourceMapping) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this EventSourceMapping.

func (*EventSourceMapping) SetObservation

func (tr *EventSourceMapping) SetObservation(obs map[string]any) error

SetObservation for this EventSourceMapping

func (*EventSourceMapping) SetParameters

func (tr *EventSourceMapping) SetParameters(params map[string]any) error

SetParameters for this EventSourceMapping

func (*EventSourceMapping) SetProviderConfigReference

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

SetProviderConfigReference of this EventSourceMapping.

func (*EventSourceMapping) SetProviderReference

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

SetProviderReference of this EventSourceMapping. Deprecated: Use SetProviderConfigReference.

func (*EventSourceMapping) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EventSourceMapping.

func (*EventSourceMapping) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EventSourceMapping.

type EventSourceMappingList

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

EventSourceMappingList contains a list of EventSourceMappings

func (*EventSourceMappingList) DeepCopy

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.

func (*EventSourceMappingList) GetItems

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

GetItems of this EventSourceMappingList.

type EventSourceMappingObservation

type EventSourceMappingObservation struct {

	// Additional configuration block for Amazon Managed Kafka sources. Incompatible with "self_managed_event_source" and "self_managed_kafka_event_source_config". Detailed below.
	AmazonManagedKafkaEventSourceConfig []AmazonManagedKafkaEventSourceConfigObservation `json:"amazonManagedKafkaEventSourceConfig,omitempty" tf:"amazon_managed_kafka_event_source_config,omitempty"`

	// The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to 100 for DynamoDB, Kinesis, MQ and MSK, 10 for SQS.
	BatchSize *float64 `json:"batchSize,omitempty" tf:"batch_size,omitempty"`

	// If the function returns an error, split the batch in two and retry. Only available for stream sources (DynamoDB and Kinesis). Defaults to false.
	BisectBatchOnFunctionError *bool `json:"bisectBatchOnFunctionError,omitempty" tf:"bisect_batch_on_function_error,omitempty"`

	// An Amazon SQS queue or Amazon SNS topic destination for failed records. Only available for stream sources (DynamoDB and Kinesis). Detailed below.
	DestinationConfig []DestinationConfigObservation `json:"destinationConfig,omitempty" tf:"destination_config,omitempty"`

	// Determines if the mapping will be enabled on creation. Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The event source ARN - this is required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker or MSK cluster.  It is incompatible with a Self Managed Kafka source.
	EventSourceArn *string `json:"eventSourceArn,omitempty" tf:"event_source_arn,omitempty"`

	// The criteria to use for event filtering Kinesis stream, DynamoDB stream, SQS queue event sources. Detailed below.
	FilterCriteria []FilterCriteriaObservation `json:"filterCriteria,omitempty" tf:"filter_criteria,omitempty"`

	// The the ARN of the Lambda function the event source mapping is sending events to. (Note: this is a computed value that differs from function_name above.)
	FunctionArn *string `json:"functionArn,omitempty" tf:"function_arn,omitempty"`

	// The name or the ARN of the Lambda function that will be subscribing to events.
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// A list of current response type enums applied to the event source mapping for AWS Lambda checkpointing. Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: ReportBatchItemFailures.
	FunctionResponseTypes []*string `json:"functionResponseTypes,omitempty" tf:"function_response_types,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The date this resource was last modified.
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	// The result of the last AWS Lambda invocation of your Lambda function.
	LastProcessingResult *string `json:"lastProcessingResult,omitempty" tf:"last_processing_result,omitempty"`

	// The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either maximum_batching_window_in_seconds expires or batch_size has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues.
	MaximumBatchingWindowInSeconds *float64 `json:"maximumBatchingWindowInSeconds,omitempty" tf:"maximum_batching_window_in_seconds,omitempty"`

	// The maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive).
	MaximumRecordAgeInSeconds *float64 `json:"maximumRecordAgeInSeconds,omitempty" tf:"maximum_record_age_in_seconds,omitempty"`

	// The maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000.
	MaximumRetryAttempts *float64 `json:"maximumRetryAttempts,omitempty" tf:"maximum_retry_attempts,omitempty"`

	// The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10.
	ParallelizationFactor *float64 `json:"parallelizationFactor,omitempty" tf:"parallelization_factor,omitempty"`

	// The name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. A single queue name must be specified.
	Queues []*string `json:"queues,omitempty" tf:"queues,omitempty"`

	// Scaling configuration of the event source. Only available for SQS queues. Detailed below.
	ScalingConfig []ScalingConfigObservation `json:"scalingConfig,omitempty" tf:"scaling_config,omitempty"`

	// For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include source_access_configuration. Detailed below.
	SelfManagedEventSource []SelfManagedEventSourceObservation `json:"selfManagedEventSource,omitempty" tf:"self_managed_event_source,omitempty"`

	// Additional configuration block for Self Managed Kafka sources. Incompatible with "event_source_arn" and "amazon_managed_kafka_event_source_config". Detailed below.
	SelfManagedKafkaEventSourceConfig []SelfManagedKafkaEventSourceConfigObservation `json:"selfManagedKafkaEventSourceConfig,omitempty" tf:"self_managed_kafka_event_source_config,omitempty"`

	// :  For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include self_managed_event_source. Detailed below.
	SourceAccessConfiguration []SourceAccessConfigurationObservation `json:"sourceAccessConfiguration,omitempty" tf:"source_access_configuration,omitempty"`

	// The position in the stream where AWS Lambda should start reading. Must be one of AT_TIMESTAMP (Kinesis only), LATEST or TRIM_HORIZON if getting events from Kinesis, DynamoDB, MSK or Self Managed Apache Kafka. Must not be provided if getting events from SQS. More information about these positions can be found in the AWS DynamoDB Streams API Reference and AWS Kinesis API Reference.
	StartingPosition *string `json:"startingPosition,omitempty" tf:"starting_position,omitempty"`

	// A timestamp in RFC3339 format of the data record which to start reading when using starting_position set to AT_TIMESTAMP. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen.
	StartingPositionTimestamp *string `json:"startingPositionTimestamp,omitempty" tf:"starting_position_timestamp,omitempty"`

	// The state of the event source mapping.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// The reason the event source mapping is in its current state.
	StateTransitionReason *string `json:"stateTransitionReason,omitempty" tf:"state_transition_reason,omitempty"`

	// The name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.
	Topics []*string `json:"topics,omitempty" tf:"topics,omitempty"`

	// The duration in seconds of a processing window for AWS Lambda streaming analytics. The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis).
	TumblingWindowInSeconds *float64 `json:"tumblingWindowInSeconds,omitempty" tf:"tumbling_window_in_seconds,omitempty"`

	// The UUID of the created event source mapping.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`
}

func (*EventSourceMappingObservation) DeepCopy

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

func (*EventSourceMappingObservation) DeepCopyInto

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

type EventSourceMappingParameters

type EventSourceMappingParameters struct {

	// Additional configuration block for Amazon Managed Kafka sources. Incompatible with "self_managed_event_source" and "self_managed_kafka_event_source_config". Detailed below.
	// +kubebuilder:validation:Optional
	AmazonManagedKafkaEventSourceConfig []AmazonManagedKafkaEventSourceConfigParameters `json:"amazonManagedKafkaEventSourceConfig,omitempty" tf:"amazon_managed_kafka_event_source_config,omitempty"`

	// The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to 100 for DynamoDB, Kinesis, MQ and MSK, 10 for SQS.
	// +kubebuilder:validation:Optional
	BatchSize *float64 `json:"batchSize,omitempty" tf:"batch_size,omitempty"`

	// If the function returns an error, split the batch in two and retry. Only available for stream sources (DynamoDB and Kinesis). Defaults to false.
	// +kubebuilder:validation:Optional
	BisectBatchOnFunctionError *bool `json:"bisectBatchOnFunctionError,omitempty" tf:"bisect_batch_on_function_error,omitempty"`

	// An Amazon SQS queue or Amazon SNS topic destination for failed records. Only available for stream sources (DynamoDB and Kinesis). Detailed below.
	// +kubebuilder:validation:Optional
	DestinationConfig []DestinationConfigParameters `json:"destinationConfig,omitempty" tf:"destination_config,omitempty"`

	// Determines if the mapping will be enabled on creation. Defaults to true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// The event source ARN - this is required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker or MSK cluster.  It is incompatible with a Self Managed Kafka source.
	// +kubebuilder:validation:Optional
	EventSourceArn *string `json:"eventSourceArn,omitempty" tf:"event_source_arn,omitempty"`

	// The criteria to use for event filtering Kinesis stream, DynamoDB stream, SQS queue event sources. Detailed below.
	// +kubebuilder:validation:Optional
	FilterCriteria []FilterCriteriaParameters `json:"filterCriteria,omitempty" tf:"filter_criteria,omitempty"`

	// The name or the ARN of the Lambda function that will be subscribing to events.
	// +crossplane:generate:reference:type=Function
	// +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Reference to a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameRef *v1.Reference `json:"functionNameRef,omitempty" tf:"-"`

	// Selector for a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameSelector *v1.Selector `json:"functionNameSelector,omitempty" tf:"-"`

	// A list of current response type enums applied to the event source mapping for AWS Lambda checkpointing. Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: ReportBatchItemFailures.
	// +kubebuilder:validation:Optional
	FunctionResponseTypes []*string `json:"functionResponseTypes,omitempty" tf:"function_response_types,omitempty"`

	// The maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer (or accumulate in the case of an SQS queue event source) until either maximum_batching_window_in_seconds expires or batch_size has been met. For streaming event sources, defaults to as soon as records are available in the stream. If the batch it reads from the stream/queue only has one record in it, Lambda only sends one record to the function. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues.
	// +kubebuilder:validation:Optional
	MaximumBatchingWindowInSeconds *float64 `json:"maximumBatchingWindowInSeconds,omitempty" tf:"maximum_batching_window_in_seconds,omitempty"`

	// The maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive).
	// +kubebuilder:validation:Optional
	MaximumRecordAgeInSeconds *float64 `json:"maximumRecordAgeInSeconds,omitempty" tf:"maximum_record_age_in_seconds,omitempty"`

	// The maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000.
	// +kubebuilder:validation:Optional
	MaximumRetryAttempts *float64 `json:"maximumRetryAttempts,omitempty" tf:"maximum_retry_attempts,omitempty"`

	// The number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10.
	// +kubebuilder:validation:Optional
	ParallelizationFactor *float64 `json:"parallelizationFactor,omitempty" tf:"parallelization_factor,omitempty"`

	// The name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. A single queue name must be specified.
	// +kubebuilder:validation:Optional
	Queues []*string `json:"queues,omitempty" tf:"queues,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Scaling configuration of the event source. Only available for SQS queues. Detailed below.
	// +kubebuilder:validation:Optional
	ScalingConfig []ScalingConfigParameters `json:"scalingConfig,omitempty" tf:"scaling_config,omitempty"`

	// For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include source_access_configuration. Detailed below.
	// +kubebuilder:validation:Optional
	SelfManagedEventSource []SelfManagedEventSourceParameters `json:"selfManagedEventSource,omitempty" tf:"self_managed_event_source,omitempty"`

	// Additional configuration block for Self Managed Kafka sources. Incompatible with "event_source_arn" and "amazon_managed_kafka_event_source_config". Detailed below.
	// +kubebuilder:validation:Optional
	SelfManagedKafkaEventSourceConfig []SelfManagedKafkaEventSourceConfigParameters `json:"selfManagedKafkaEventSourceConfig,omitempty" tf:"self_managed_kafka_event_source_config,omitempty"`

	// :  For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include self_managed_event_source. Detailed below.
	// +kubebuilder:validation:Optional
	SourceAccessConfiguration []SourceAccessConfigurationParameters `json:"sourceAccessConfiguration,omitempty" tf:"source_access_configuration,omitempty"`

	// The position in the stream where AWS Lambda should start reading. Must be one of AT_TIMESTAMP (Kinesis only), LATEST or TRIM_HORIZON if getting events from Kinesis, DynamoDB, MSK or Self Managed Apache Kafka. Must not be provided if getting events from SQS. More information about these positions can be found in the AWS DynamoDB Streams API Reference and AWS Kinesis API Reference.
	// +kubebuilder:validation:Optional
	StartingPosition *string `json:"startingPosition,omitempty" tf:"starting_position,omitempty"`

	// A timestamp in RFC3339 format of the data record which to start reading when using starting_position set to AT_TIMESTAMP. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen.
	// +kubebuilder:validation:Optional
	StartingPositionTimestamp *string `json:"startingPositionTimestamp,omitempty" tf:"starting_position_timestamp,omitempty"`

	// The name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.
	// +kubebuilder:validation:Optional
	Topics []*string `json:"topics,omitempty" tf:"topics,omitempty"`

	// The duration in seconds of a processing window for AWS Lambda streaming analytics. The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis).
	// +kubebuilder:validation:Optional
	TumblingWindowInSeconds *float64 `json:"tumblingWindowInSeconds,omitempty" tf:"tumbling_window_in_seconds,omitempty"`
}

func (*EventSourceMappingParameters) DeepCopy

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

func (*EventSourceMappingParameters) DeepCopyInto

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

type EventSourceMappingSpec

type EventSourceMappingSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EventSourceMappingParameters `json:"forProvider"`
}

EventSourceMappingSpec defines the desired state of EventSourceMapping

func (*EventSourceMappingSpec) DeepCopy

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 {
	v1.ResourceStatus `json:",inline"`
	AtProvider        EventSourceMappingObservation `json:"atProvider,omitempty"`
}

EventSourceMappingStatus defines the observed state of EventSourceMapping.

func (*EventSourceMappingStatus) DeepCopy

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 FileSystemConfigObservation

type FileSystemConfigObservation struct {

	// Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Path where the function can access the file system, starting with /mnt/.
	LocalMountPath *string `json:"localMountPath,omitempty" tf:"local_mount_path,omitempty"`
}

func (*FileSystemConfigObservation) DeepCopy

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

func (*FileSystemConfigObservation) DeepCopyInto

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

type FileSystemConfigParameters

type FileSystemConfigParameters struct {

	// Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/efs/v1beta1.AccessPoint
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Reference to a AccessPoint in efs to populate arn.
	// +kubebuilder:validation:Optional
	ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"`

	// Selector for a AccessPoint in efs to populate arn.
	// +kubebuilder:validation:Optional
	ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"`

	// Path where the function can access the file system, starting with /mnt/.
	// +kubebuilder:validation:Required
	LocalMountPath *string `json:"localMountPath" tf:"local_mount_path,omitempty"`
}

func (*FileSystemConfigParameters) DeepCopy

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

func (*FileSystemConfigParameters) DeepCopyInto

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

type FilterCriteriaObservation

type FilterCriteriaObservation struct {

	// A set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. Detailed below.
	Filter []FilterObservation `json:"filter,omitempty" tf:"filter,omitempty"`
}

func (*FilterCriteriaObservation) DeepCopy

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

func (*FilterCriteriaObservation) DeepCopyInto

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

type FilterCriteriaParameters

type FilterCriteriaParameters struct {

	// A set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. Detailed below.
	// +kubebuilder:validation:Optional
	Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"`
}

func (*FilterCriteriaParameters) DeepCopy

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

func (*FilterCriteriaParameters) DeepCopyInto

func (in *FilterCriteriaParameters) DeepCopyInto(out *FilterCriteriaParameters)

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

type FilterObservation

type FilterObservation struct {

	// A filter pattern up to 4096 characters. See Filter Rule Syntax.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*FilterObservation) DeepCopy

func (in *FilterObservation) DeepCopy() *FilterObservation

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

func (*FilterObservation) DeepCopyInto

func (in *FilterObservation) DeepCopyInto(out *FilterObservation)

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

type FilterParameters

type FilterParameters struct {

	// A filter pattern up to 4096 characters. See Filter Rule Syntax.
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*FilterParameters) DeepCopy

func (in *FilterParameters) DeepCopy() *FilterParameters

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

func (*FilterParameters) DeepCopyInto

func (in *FilterParameters) DeepCopyInto(out *FilterParameters)

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

type Function

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

Function is the Schema for the Functions API. Provides a Lambda Function resource. Lambda allows you to trigger execution of code in response to events in AWS, enabling serverless backend solutions. The Lambda Function itself includes source code and runtime configuration. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Function) DeepCopy

func (in *Function) DeepCopy() *Function

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

func (*Function) DeepCopyInto

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

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

func (*Function) DeepCopyObject

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

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

func (*Function) GetCondition

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

GetCondition of this Function.

func (*Function) GetConnectionDetailsMapping

func (tr *Function) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Function

func (*Function) GetDeletionPolicy

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

GetDeletionPolicy of this Function.

func (*Function) GetID

func (tr *Function) GetID() string

GetID returns ID of underlying Terraform resource of this Function

func (*Function) GetManagementPolicy

func (mg *Function) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Function.

func (*Function) GetObservation

func (tr *Function) GetObservation() (map[string]any, error)

GetObservation of this Function

func (*Function) GetParameters

func (tr *Function) GetParameters() (map[string]any, error)

GetParameters of this Function

func (*Function) GetProviderConfigReference

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

GetProviderConfigReference of this Function.

func (*Function) GetProviderReference

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

GetProviderReference of this Function. Deprecated: Use GetProviderConfigReference.

func (*Function) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Function.

func (*Function) GetTerraformResourceType

func (mg *Function) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Function

func (*Function) GetTerraformSchemaVersion

func (tr *Function) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Function) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Function.

func (*Function) LateInitialize

func (tr *Function) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Function using its observed tfState. returns True if there are any spec changes for the resource.

func (*Function) ResolveReferences

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

ResolveReferences of this Function.

func (*Function) SetConditions

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

SetConditions of this Function.

func (*Function) SetDeletionPolicy

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

SetDeletionPolicy of this Function.

func (*Function) SetManagementPolicy

func (mg *Function) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Function.

func (*Function) SetObservation

func (tr *Function) SetObservation(obs map[string]any) error

SetObservation for this Function

func (*Function) SetParameters

func (tr *Function) SetParameters(params map[string]any) error

SetParameters for this Function

func (*Function) SetProviderConfigReference

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

SetProviderConfigReference of this Function.

func (*Function) SetProviderReference

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

SetProviderReference of this Function. Deprecated: Use SetProviderConfigReference.

func (*Function) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Function.

func (*Function) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Function.

type FunctionEventInvokeConfig

type FunctionEventInvokeConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.functionName)",message="functionName is a required parameter"
	Spec   FunctionEventInvokeConfigSpec   `json:"spec"`
	Status FunctionEventInvokeConfigStatus `json:"status,omitempty"`
}

FunctionEventInvokeConfig is the Schema for the FunctionEventInvokeConfigs API. Manages an asynchronous invocation configuration for a Lambda Function or Alias. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*FunctionEventInvokeConfig) DeepCopy

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

func (*FunctionEventInvokeConfig) DeepCopyInto

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

func (*FunctionEventInvokeConfig) DeepCopyObject

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

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

func (*FunctionEventInvokeConfig) GetCondition

GetCondition of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) GetConnectionDetailsMapping

func (tr *FunctionEventInvokeConfig) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this FunctionEventInvokeConfig

func (*FunctionEventInvokeConfig) GetDeletionPolicy

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

GetDeletionPolicy of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) GetID

func (tr *FunctionEventInvokeConfig) GetID() string

GetID returns ID of underlying Terraform resource of this FunctionEventInvokeConfig

func (*FunctionEventInvokeConfig) GetManagementPolicy

func (mg *FunctionEventInvokeConfig) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) GetObservation

func (tr *FunctionEventInvokeConfig) GetObservation() (map[string]any, error)

GetObservation of this FunctionEventInvokeConfig

func (*FunctionEventInvokeConfig) GetParameters

func (tr *FunctionEventInvokeConfig) GetParameters() (map[string]any, error)

GetParameters of this FunctionEventInvokeConfig

func (*FunctionEventInvokeConfig) GetProviderConfigReference

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

GetProviderConfigReference of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) GetProviderReference

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

GetProviderReference of this FunctionEventInvokeConfig. Deprecated: Use GetProviderConfigReference.

func (*FunctionEventInvokeConfig) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) GetTerraformResourceType

func (mg *FunctionEventInvokeConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FunctionEventInvokeConfig

func (*FunctionEventInvokeConfig) GetTerraformSchemaVersion

func (tr *FunctionEventInvokeConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FunctionEventInvokeConfig) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) LateInitialize

func (tr *FunctionEventInvokeConfig) LateInitialize(attrs []byte) (bool, error)

LateInitialize this FunctionEventInvokeConfig using its observed tfState. returns True if there are any spec changes for the resource.

func (*FunctionEventInvokeConfig) ResolveReferences

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

ResolveReferences of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) SetConditions

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

SetConditions of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) SetDeletionPolicy

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

SetDeletionPolicy of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) SetManagementPolicy

func (mg *FunctionEventInvokeConfig) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) SetObservation

func (tr *FunctionEventInvokeConfig) SetObservation(obs map[string]any) error

SetObservation for this FunctionEventInvokeConfig

func (*FunctionEventInvokeConfig) SetParameters

func (tr *FunctionEventInvokeConfig) SetParameters(params map[string]any) error

SetParameters for this FunctionEventInvokeConfig

func (*FunctionEventInvokeConfig) SetProviderConfigReference

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

SetProviderConfigReference of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) SetProviderReference

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

SetProviderReference of this FunctionEventInvokeConfig. Deprecated: Use SetProviderConfigReference.

func (*FunctionEventInvokeConfig) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfig) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FunctionEventInvokeConfig.

type FunctionEventInvokeConfigDestinationConfigObservation

type FunctionEventInvokeConfigDestinationConfigObservation struct {

	// Configuration block with destination configuration for failed asynchronous invocations. See below for details.
	OnFailure []DestinationConfigOnFailureObservation `json:"onFailure,omitempty" tf:"on_failure,omitempty"`

	// Configuration block with destination configuration for successful asynchronous invocations. See below for details.
	OnSuccess []OnSuccessObservation `json:"onSuccess,omitempty" tf:"on_success,omitempty"`
}

func (*FunctionEventInvokeConfigDestinationConfigObservation) DeepCopy

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

func (*FunctionEventInvokeConfigDestinationConfigObservation) DeepCopyInto

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

type FunctionEventInvokeConfigDestinationConfigParameters

type FunctionEventInvokeConfigDestinationConfigParameters struct {

	// Configuration block with destination configuration for failed asynchronous invocations. See below for details.
	// +kubebuilder:validation:Optional
	OnFailure []DestinationConfigOnFailureParameters `json:"onFailure,omitempty" tf:"on_failure,omitempty"`

	// Configuration block with destination configuration for successful asynchronous invocations. See below for details.
	// +kubebuilder:validation:Optional
	OnSuccess []OnSuccessParameters `json:"onSuccess,omitempty" tf:"on_success,omitempty"`
}

func (*FunctionEventInvokeConfigDestinationConfigParameters) DeepCopy

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

func (*FunctionEventInvokeConfigDestinationConfigParameters) DeepCopyInto

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

type FunctionEventInvokeConfigList

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

FunctionEventInvokeConfigList contains a list of FunctionEventInvokeConfigs

func (*FunctionEventInvokeConfigList) DeepCopy

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

func (*FunctionEventInvokeConfigList) DeepCopyInto

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

func (*FunctionEventInvokeConfigList) DeepCopyObject

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

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

func (*FunctionEventInvokeConfigList) GetItems

GetItems of this FunctionEventInvokeConfigList.

type FunctionEventInvokeConfigObservation

type FunctionEventInvokeConfigObservation struct {

	// Configuration block with destination configuration. See below for details.
	DestinationConfig []FunctionEventInvokeConfigDestinationConfigObservation `json:"destinationConfig,omitempty" tf:"destination_config,omitempty"`

	// Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Fully qualified Lambda Function name or Amazon Resource Name (ARN)
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600.
	MaximumEventAgeInSeconds *float64 `json:"maximumEventAgeInSeconds,omitempty" tf:"maximum_event_age_in_seconds,omitempty"`

	// Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2.
	MaximumRetryAttempts *float64 `json:"maximumRetryAttempts,omitempty" tf:"maximum_retry_attempts,omitempty"`

	// Lambda Function published version, $LATEST, or Lambda Alias name.
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`
}

func (*FunctionEventInvokeConfigObservation) DeepCopy

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

func (*FunctionEventInvokeConfigObservation) DeepCopyInto

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

type FunctionEventInvokeConfigParameters

type FunctionEventInvokeConfigParameters struct {

	// Configuration block with destination configuration. See below for details.
	// +kubebuilder:validation:Optional
	DestinationConfig []FunctionEventInvokeConfigDestinationConfigParameters `json:"destinationConfig,omitempty" tf:"destination_config,omitempty"`

	// Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias qualifier.
	// +kubebuilder:validation:Optional
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Maximum age of a request that Lambda sends to a function for processing in seconds. Valid values between 60 and 21600.
	// +kubebuilder:validation:Optional
	MaximumEventAgeInSeconds *float64 `json:"maximumEventAgeInSeconds,omitempty" tf:"maximum_event_age_in_seconds,omitempty"`

	// Maximum number of times to retry when the function returns an error. Valid values between 0 and 2. Defaults to 2.
	// +kubebuilder:validation:Optional
	MaximumRetryAttempts *float64 `json:"maximumRetryAttempts,omitempty" tf:"maximum_retry_attempts,omitempty"`

	// Lambda Function published version, $LATEST, or Lambda Alias name.
	// +kubebuilder:validation:Optional
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`
}

func (*FunctionEventInvokeConfigParameters) DeepCopy

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

func (*FunctionEventInvokeConfigParameters) DeepCopyInto

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

type FunctionEventInvokeConfigSpec

type FunctionEventInvokeConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FunctionEventInvokeConfigParameters `json:"forProvider"`
}

FunctionEventInvokeConfigSpec defines the desired state of FunctionEventInvokeConfig

func (*FunctionEventInvokeConfigSpec) DeepCopy

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

func (*FunctionEventInvokeConfigSpec) DeepCopyInto

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

type FunctionEventInvokeConfigStatus

type FunctionEventInvokeConfigStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        FunctionEventInvokeConfigObservation `json:"atProvider,omitempty"`
}

FunctionEventInvokeConfigStatus defines the observed state of FunctionEventInvokeConfig.

func (*FunctionEventInvokeConfigStatus) DeepCopy

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

func (*FunctionEventInvokeConfigStatus) DeepCopyInto

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

type FunctionList

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

FunctionList contains a list of Functions

func (*FunctionList) DeepCopy

func (in *FunctionList) DeepCopy() *FunctionList

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

func (*FunctionList) DeepCopyInto

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

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

func (*FunctionList) DeepCopyObject

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

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

func (*FunctionList) GetItems

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

GetItems of this FunctionList.

type FunctionObservation

type FunctionObservation struct {

	// Instruction set architecture for your Lambda function. Valid values are ["x86_64"] and ["arm64"]. Default is ["x86_64"]. Removing this attribute, function's architecture stay the same.
	Architectures []*string `json:"architectures,omitempty" tf:"architectures,omitempty"`

	// Amazon Resource Name (ARN) identifying your Lambda Function.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// 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" tf:"code_signing_config_arn,omitempty"`

	// Configuration block. Detailed below.
	DeadLetterConfig []DeadLetterConfigObservation `json:"deadLetterConfig,omitempty" tf:"dead_letter_config,omitempty"`

	// Description of what your Lambda Function does.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Configuration block. Detailed below.
	Environment []EnvironmentObservation `json:"environment,omitempty" tf:"environment,omitempty"`

	// The amount of Ephemeral storage(/tmp) to allocate for the Lambda Function in MB. This parameter is used to expand the total amount of Ephemeral storage available, beyond the default amount of 512MB. Detailed below.
	EphemeralStorage []EphemeralStorageObservation `json:"ephemeralStorage,omitempty" tf:"ephemeral_storage,omitempty"`

	// Configuration block. Detailed below.
	FileSystemConfig []FileSystemConfigObservation `json:"fileSystemConfig,omitempty" tf:"file_system_config,omitempty"`

	// Function entrypoint in your code.
	Handler *string `json:"handler,omitempty" tf:"handler,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Configuration block. Detailed below.
	ImageConfig []ImageConfigObservation `json:"imageConfig,omitempty" tf:"image_config,omitempty"`

	// ECR image URI containing the function's deployment package. Exactly one of filename, image_uri,  or s3_bucket must be specified.
	ImageURI *string `json:"imageUri,omitempty" tf:"image_uri,omitempty"`

	// ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration's uri.
	InvokeArn *string `json:"invokeArn,omitempty" tf:"invoke_arn,omitempty"`

	// Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. To fix the perpetual difference, remove this configuration.
	KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`

	// Date this resource was last modified.
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	// List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See Lambda Layers
	Layers []*string `json:"layers,omitempty" tf:"layers,omitempty"`

	// Amount of memory in MB your Lambda Function can use at runtime. Defaults to 128. See Limits
	MemorySize *float64 `json:"memorySize,omitempty" tf:"memory_size,omitempty"`

	// Lambda deployment package type. Valid values are Zip and Image. Defaults to Zip.
	PackageType *string `json:"packageType,omitempty" tf:"package_type,omitempty"`

	// Whether to publish creation/change as new Lambda Function Version. Defaults to false.
	Publish *bool `json:"publish,omitempty" tf:"publish,omitempty"`

	// ARN identifying your Lambda Function Version (if versioning is enabled via publish = true).
	QualifiedArn *string `json:"qualifiedArn,omitempty" tf:"qualified_arn,omitempty"`

	// Qualified ARN (ARN with lambda version number) to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration's uri.
	QualifiedInvokeArn *string `json:"qualifiedInvokeArn,omitempty" tf:"qualified_invoke_arn,omitempty"`

	// Whether to replace the security groups on associated lambda network interfaces upon destruction. Removing these security groups from orphaned network interfaces can speed up security group deletion times by avoiding a dependency on AWS's internal cleanup operations. By default, the ENI security groups will be replaced with the default security group in the function's VPC. Set the replacement_security_group_ids attribute to use a custom list of security groups for replacement.
	ReplaceSecurityGroupsOnDestroy *bool `json:"replaceSecurityGroupsOnDestroy,omitempty" tf:"replace_security_groups_on_destroy,omitempty"`

	// List of security group IDs to assign to orphaned Lambda function network interfaces upon destruction. replace_security_groups_on_destroy must be set to true to use this attribute.
	ReplacementSecurityGroupIds []*string `json:"replacementSecurityGroupIds,omitempty" tf:"replacement_security_group_ids,omitempty"`

	// Amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. Defaults to Unreserved Concurrency Limits -1. See Managing Concurrency
	ReservedConcurrentExecutions *float64 `json:"reservedConcurrentExecutions,omitempty" tf:"reserved_concurrent_executions,omitempty"`

	// Amazon Resource Name (ARN) of the function's execution role. The role provides the function's identity and access to AWS services and resources.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Identifier of the function's runtime. See Runtimes for valid values.
	Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// S3 bucket location containing the function's deployment package. This bucket must reside in the same AWS region where you are creating the Lambda function. Exactly one of filename, image_uri, or s3_bucket must be specified. When s3_bucket is set, s3_key is required.
	S3Bucket *string `json:"s3Bucket,omitempty" tf:"s3_bucket,omitempty"`

	// S3 key of an object containing the function's deployment package. When s3_bucket is set, s3_key is required.
	S3Key *string `json:"s3Key,omitempty" tf:"s3_key,omitempty"`

	// Object version containing the function's deployment package. Conflicts with filename and image_uri.
	S3ObjectVersion *string `json:"s3ObjectVersion,omitempty" tf:"s3_object_version,omitempty"`

	// ARN of the signing job.
	SigningJobArn *string `json:"signingJobArn,omitempty" tf:"signing_job_arn,omitempty"`

	// ARN of the signing profile version.
	SigningProfileVersionArn *string `json:"signingProfileVersionArn,omitempty" tf:"signing_profile_version_arn,omitempty"`

	// Snap start settings block. Detailed below.
	SnapStart []SnapStartObservation `json:"snapStart,omitempty" tf:"snap_start,omitempty"`

	// Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either filename or s3_key. The usual way to set this is filebase64sha256("file.11.12 and later) or base64sha256(file("file.11.11 and earlier), where "file.zip" is the local filename of the lambda function source archive.
	SourceCodeHash *string `json:"sourceCodeHash,omitempty" tf:"source_code_hash,omitempty"`

	// Size in bytes of the function .zip file.
	SourceCodeSize *float64 `json:"sourceCodeSize,omitempty" tf:"source_code_size,omitempty"`

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// Amount of time your Lambda Function has to run in seconds. Defaults to 3. See Limits.
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// Configuration block. Detailed below.
	TracingConfig []TracingConfigObservation `json:"tracingConfig,omitempty" tf:"tracing_config,omitempty"`

	// Configuration block. Detailed below.
	VPCConfig []VPCConfigObservation `json:"vpcConfig,omitempty" tf:"vpc_config,omitempty"`

	// Latest published version of your Lambda Function.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*FunctionObservation) DeepCopy

func (in *FunctionObservation) DeepCopy() *FunctionObservation

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

func (*FunctionObservation) DeepCopyInto

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

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

type FunctionParameters

type FunctionParameters struct {

	// Instruction set architecture for your Lambda function. Valid values are ["x86_64"] and ["arm64"]. Default is ["x86_64"]. Removing this attribute, function's architecture stay the same.
	// +kubebuilder:validation:Optional
	Architectures []*string `json:"architectures,omitempty" tf:"architectures,omitempty"`

	// 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.
	// +kubebuilder:validation:Optional
	CodeSigningConfigArn *string `json:"codeSigningConfigArn,omitempty" tf:"code_signing_config_arn,omitempty"`

	// Configuration block. Detailed below.
	// +kubebuilder:validation:Optional
	DeadLetterConfig []DeadLetterConfigParameters `json:"deadLetterConfig,omitempty" tf:"dead_letter_config,omitempty"`

	// Description of what your Lambda Function does.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Configuration block. Detailed below.
	// +kubebuilder:validation:Optional
	Environment []EnvironmentParameters `json:"environment,omitempty" tf:"environment,omitempty"`

	// The amount of Ephemeral storage(/tmp) to allocate for the Lambda Function in MB. This parameter is used to expand the total amount of Ephemeral storage available, beyond the default amount of 512MB. Detailed below.
	// +kubebuilder:validation:Optional
	EphemeralStorage []EphemeralStorageParameters `json:"ephemeralStorage,omitempty" tf:"ephemeral_storage,omitempty"`

	// Configuration block. Detailed below.
	// +kubebuilder:validation:Optional
	FileSystemConfig []FileSystemConfigParameters `json:"fileSystemConfig,omitempty" tf:"file_system_config,omitempty"`

	// Function entrypoint in your code.
	// +kubebuilder:validation:Optional
	Handler *string `json:"handler,omitempty" tf:"handler,omitempty"`

	// Configuration block. Detailed below.
	// +kubebuilder:validation:Optional
	ImageConfig []ImageConfigParameters `json:"imageConfig,omitempty" tf:"image_config,omitempty"`

	// ECR image URI containing the function's deployment package. Exactly one of filename, image_uri,  or s3_bucket must be specified.
	// +kubebuilder:validation:Optional
	ImageURI *string `json:"imageUri,omitempty" tf:"image_uri,omitempty"`

	// Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. To fix the perpetual difference, remove this configuration.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/kms/v1beta1.Key
	// +kubebuilder:validation:Optional
	KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`

	// Reference to a Key in kms to populate kmsKeyArn.
	// +kubebuilder:validation:Optional
	KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyArn.
	// +kubebuilder:validation:Optional
	KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"`

	// List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See Lambda Layers
	// +kubebuilder:validation:Optional
	Layers []*string `json:"layers,omitempty" tf:"layers,omitempty"`

	// Amount of memory in MB your Lambda Function can use at runtime. Defaults to 128. See Limits
	// +kubebuilder:validation:Optional
	MemorySize *float64 `json:"memorySize,omitempty" tf:"memory_size,omitempty"`

	// Lambda deployment package type. Valid values are Zip and Image. Defaults to Zip.
	// +kubebuilder:validation:Optional
	PackageType *string `json:"packageType,omitempty" tf:"package_type,omitempty"`

	// Whether to publish creation/change as new Lambda Function Version. Defaults to false.
	// +kubebuilder:validation:Optional
	Publish *bool `json:"publish,omitempty" tf:"publish,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Whether to replace the security groups on associated lambda network interfaces upon destruction. Removing these security groups from orphaned network interfaces can speed up security group deletion times by avoiding a dependency on AWS's internal cleanup operations. By default, the ENI security groups will be replaced with the default security group in the function's VPC. Set the replacement_security_group_ids attribute to use a custom list of security groups for replacement.
	// +kubebuilder:validation:Optional
	ReplaceSecurityGroupsOnDestroy *bool `json:"replaceSecurityGroupsOnDestroy,omitempty" tf:"replace_security_groups_on_destroy,omitempty"`

	// References to SecurityGroup in ec2 to populate replacementSecurityGroupIds.
	// +kubebuilder:validation:Optional
	ReplacementSecurityGroupIDRefs []v1.Reference `json:"replacementSecurityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate replacementSecurityGroupIds.
	// +kubebuilder:validation:Optional
	ReplacementSecurityGroupIDSelector *v1.Selector `json:"replacementSecurityGroupIdSelector,omitempty" tf:"-"`

	// List of security group IDs to assign to orphaned Lambda function network interfaces upon destruction. replace_security_groups_on_destroy must be set to true to use this attribute.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=ReplacementSecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=ReplacementSecurityGroupIDSelector
	// +kubebuilder:validation:Optional
	ReplacementSecurityGroupIds []*string `json:"replacementSecurityGroupIds,omitempty" tf:"replacement_security_group_ids,omitempty"`

	// Amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. Defaults to Unreserved Concurrency Limits -1. See Managing Concurrency
	// +kubebuilder:validation:Optional
	ReservedConcurrentExecutions *float64 `json:"reservedConcurrentExecutions,omitempty" tf:"reserved_concurrent_executions,omitempty"`

	// Amazon Resource Name (ARN) of the function's execution role. The role provides the function's identity and access to AWS services and resources.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Reference to a Role in iam to populate role.
	// +kubebuilder:validation:Optional
	RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate role.
	// +kubebuilder:validation:Optional
	RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"`

	// Identifier of the function's runtime. See Runtimes for valid values.
	// +kubebuilder:validation:Optional
	Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// S3 bucket location containing the function's deployment package. This bucket must reside in the same AWS region where you are creating the Lambda function. Exactly one of filename, image_uri, or s3_bucket must be specified. When s3_bucket is set, s3_key is required.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/s3/v1beta1.Bucket
	// +kubebuilder:validation:Optional
	S3Bucket *string `json:"s3Bucket,omitempty" tf:"s3_bucket,omitempty"`

	// Reference to a Bucket in s3 to populate s3Bucket.
	// +kubebuilder:validation:Optional
	S3BucketRef *v1.Reference `json:"s3BucketRef,omitempty" tf:"-"`

	// Selector for a Bucket in s3 to populate s3Bucket.
	// +kubebuilder:validation:Optional
	S3BucketSelector *v1.Selector `json:"s3BucketSelector,omitempty" tf:"-"`

	// S3 key of an object containing the function's deployment package. When s3_bucket is set, s3_key is required.
	// +kubebuilder:validation:Optional
	S3Key *string `json:"s3Key,omitempty" tf:"s3_key,omitempty"`

	// Object version containing the function's deployment package. Conflicts with filename and image_uri.
	// +kubebuilder:validation:Optional
	S3ObjectVersion *string `json:"s3ObjectVersion,omitempty" tf:"s3_object_version,omitempty"`

	// Snap start settings block. Detailed below.
	// +kubebuilder:validation:Optional
	SnapStart []SnapStartParameters `json:"snapStart,omitempty" tf:"snap_start,omitempty"`

	// Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either filename or s3_key. The usual way to set this is filebase64sha256("file.11.12 and later) or base64sha256(file("file.11.11 and earlier), where "file.zip" is the local filename of the lambda function source archive.
	// +kubebuilder:validation:Optional
	SourceCodeHash *string `json:"sourceCodeHash,omitempty" tf:"source_code_hash,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Amount of time your Lambda Function has to run in seconds. Defaults to 3. See Limits.
	// +kubebuilder:validation:Optional
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// Configuration block. Detailed below.
	// +kubebuilder:validation:Optional
	TracingConfig []TracingConfigParameters `json:"tracingConfig,omitempty" tf:"tracing_config,omitempty"`

	// Configuration block. Detailed below.
	// +kubebuilder:validation:Optional
	VPCConfig []VPCConfigParameters `json:"vpcConfig,omitempty" tf:"vpc_config,omitempty"`
}

func (*FunctionParameters) DeepCopy

func (in *FunctionParameters) DeepCopy() *FunctionParameters

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

func (*FunctionParameters) DeepCopyInto

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

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

type FunctionSpec

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

FunctionSpec defines the desired state of Function

func (*FunctionSpec) DeepCopy

func (in *FunctionSpec) DeepCopy() *FunctionSpec

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

func (*FunctionSpec) DeepCopyInto

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

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

type FunctionStatus

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

FunctionStatus defines the observed state of Function.

func (*FunctionStatus) DeepCopy

func (in *FunctionStatus) DeepCopy() *FunctionStatus

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

func (*FunctionStatus) DeepCopyInto

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

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

type FunctionURL

type FunctionURL struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.authorizationType)",message="authorizationType is a required parameter"
	Spec   FunctionURLSpec   `json:"spec"`
	Status FunctionURLStatus `json:"status,omitempty"`
}

FunctionURL is the Schema for the FunctionURLs API. Provides a Lambda function URL resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*FunctionURL) DeepCopy

func (in *FunctionURL) DeepCopy() *FunctionURL

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

func (*FunctionURL) DeepCopyInto

func (in *FunctionURL) DeepCopyInto(out *FunctionURL)

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

func (*FunctionURL) DeepCopyObject

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

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

func (*FunctionURL) GetCondition

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

GetCondition of this FunctionURL.

func (*FunctionURL) GetConnectionDetailsMapping

func (tr *FunctionURL) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this FunctionURL

func (*FunctionURL) GetDeletionPolicy

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

GetDeletionPolicy of this FunctionURL.

func (*FunctionURL) GetID

func (tr *FunctionURL) GetID() string

GetID returns ID of underlying Terraform resource of this FunctionURL

func (*FunctionURL) GetManagementPolicy

func (mg *FunctionURL) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this FunctionURL.

func (*FunctionURL) GetObservation

func (tr *FunctionURL) GetObservation() (map[string]any, error)

GetObservation of this FunctionURL

func (*FunctionURL) GetParameters

func (tr *FunctionURL) GetParameters() (map[string]any, error)

GetParameters of this FunctionURL

func (*FunctionURL) GetProviderConfigReference

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

GetProviderConfigReference of this FunctionURL.

func (*FunctionURL) GetProviderReference

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

GetProviderReference of this FunctionURL. Deprecated: Use GetProviderConfigReference.

func (*FunctionURL) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FunctionURL.

func (*FunctionURL) GetTerraformResourceType

func (mg *FunctionURL) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FunctionURL

func (*FunctionURL) GetTerraformSchemaVersion

func (tr *FunctionURL) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FunctionURL) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FunctionURL.

func (*FunctionURL) LateInitialize

func (tr *FunctionURL) LateInitialize(attrs []byte) (bool, error)

LateInitialize this FunctionURL using its observed tfState. returns True if there are any spec changes for the resource.

func (*FunctionURL) ResolveReferences

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

ResolveReferences of this FunctionURL.

func (*FunctionURL) SetConditions

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

SetConditions of this FunctionURL.

func (*FunctionURL) SetDeletionPolicy

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

SetDeletionPolicy of this FunctionURL.

func (*FunctionURL) SetManagementPolicy

func (mg *FunctionURL) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this FunctionURL.

func (*FunctionURL) SetObservation

func (tr *FunctionURL) SetObservation(obs map[string]any) error

SetObservation for this FunctionURL

func (*FunctionURL) SetParameters

func (tr *FunctionURL) SetParameters(params map[string]any) error

SetParameters for this FunctionURL

func (*FunctionURL) SetProviderConfigReference

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

SetProviderConfigReference of this FunctionURL.

func (*FunctionURL) SetProviderReference

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

SetProviderReference of this FunctionURL. Deprecated: Use SetProviderConfigReference.

func (*FunctionURL) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FunctionURL.

func (*FunctionURL) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FunctionURL.

type FunctionURLList

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

FunctionURLList contains a list of FunctionURLs

func (*FunctionURLList) DeepCopy

func (in *FunctionURLList) DeepCopy() *FunctionURLList

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

func (*FunctionURLList) DeepCopyInto

func (in *FunctionURLList) DeepCopyInto(out *FunctionURLList)

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

func (*FunctionURLList) DeepCopyObject

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

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

func (*FunctionURLList) GetItems

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

GetItems of this FunctionURLList.

type FunctionURLObservation

type FunctionURLObservation struct {

	// The type of authentication that the function URL uses. Set to "AWS_IAM" to restrict access to authenticated IAM users only. Set to "NONE" to bypass IAM authentication and create a public endpoint. See the AWS documentation for more details.
	AuthorizationType *string `json:"authorizationType,omitempty" tf:"authorization_type,omitempty"`

	// The cross-origin resource sharing (CORS) settings for the function URL. Documented below.
	Cors []CorsObservation `json:"cors,omitempty" tf:"cors,omitempty"`

	// The Amazon Resource Name (ARN) of the function.
	FunctionArn *string `json:"functionArn,omitempty" tf:"function_arn,omitempty"`

	// The name (or ARN) of the Lambda function.
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// The HTTP URL endpoint for the function in the format https://<url_id>.lambda-url.<region>.on.aws.
	FunctionURL *string `json:"functionUrl,omitempty" tf:"function_url,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The alias name or "$LATEST".
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`

	// A generated ID for the endpoint.
	URLID *string `json:"urlId,omitempty" tf:"url_id,omitempty"`
}

func (*FunctionURLObservation) DeepCopy

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

func (*FunctionURLObservation) DeepCopyInto

func (in *FunctionURLObservation) DeepCopyInto(out *FunctionURLObservation)

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

type FunctionURLParameters

type FunctionURLParameters struct {

	// The type of authentication that the function URL uses. Set to "AWS_IAM" to restrict access to authenticated IAM users only. Set to "NONE" to bypass IAM authentication and create a public endpoint. See the AWS documentation for more details.
	// +kubebuilder:validation:Optional
	AuthorizationType *string `json:"authorizationType,omitempty" tf:"authorization_type,omitempty"`

	// The cross-origin resource sharing (CORS) settings for the function URL. Documented below.
	// +kubebuilder:validation:Optional
	Cors []CorsParameters `json:"cors,omitempty" tf:"cors,omitempty"`

	// The name (or ARN) of the Lambda function.
	// +crossplane:generate:reference:type=Function
	// +kubebuilder:validation:Optional
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Reference to a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameRef *v1.Reference `json:"functionNameRef,omitempty" tf:"-"`

	// Selector for a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameSelector *v1.Selector `json:"functionNameSelector,omitempty" tf:"-"`

	// The alias name or "$LATEST".
	// +kubebuilder:validation:Optional
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`
}

func (*FunctionURLParameters) DeepCopy

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

func (*FunctionURLParameters) DeepCopyInto

func (in *FunctionURLParameters) DeepCopyInto(out *FunctionURLParameters)

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

type FunctionURLSpec

type FunctionURLSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FunctionURLParameters `json:"forProvider"`
}

FunctionURLSpec defines the desired state of FunctionURL

func (*FunctionURLSpec) DeepCopy

func (in *FunctionURLSpec) DeepCopy() *FunctionURLSpec

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

func (*FunctionURLSpec) DeepCopyInto

func (in *FunctionURLSpec) DeepCopyInto(out *FunctionURLSpec)

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

type FunctionURLStatus

type FunctionURLStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        FunctionURLObservation `json:"atProvider,omitempty"`
}

FunctionURLStatus defines the observed state of FunctionURL.

func (*FunctionURLStatus) DeepCopy

func (in *FunctionURLStatus) DeepCopy() *FunctionURLStatus

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

func (*FunctionURLStatus) DeepCopyInto

func (in *FunctionURLStatus) DeepCopyInto(out *FunctionURLStatus)

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

type ImageConfigObservation

type ImageConfigObservation struct {

	// Parameters that you want to pass in with entry_point.
	Command []*string `json:"command,omitempty" tf:"command,omitempty"`

	// Entry point to your application, which is typically the location of the runtime executable.
	EntryPoint []*string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"`

	// Working directory.
	WorkingDirectory *string `json:"workingDirectory,omitempty" tf:"working_directory,omitempty"`
}

func (*ImageConfigObservation) DeepCopy

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

func (*ImageConfigObservation) DeepCopyInto

func (in *ImageConfigObservation) DeepCopyInto(out *ImageConfigObservation)

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

type ImageConfigParameters

type ImageConfigParameters struct {

	// Parameters that you want to pass in with entry_point.
	// +kubebuilder:validation:Optional
	Command []*string `json:"command,omitempty" tf:"command,omitempty"`

	// Entry point to your application, which is typically the location of the runtime executable.
	// +kubebuilder:validation:Optional
	EntryPoint []*string `json:"entryPoint,omitempty" tf:"entry_point,omitempty"`

	// Working directory.
	// +kubebuilder:validation:Optional
	WorkingDirectory *string `json:"workingDirectory,omitempty" tf:"working_directory,omitempty"`
}

func (*ImageConfigParameters) DeepCopy

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

func (*ImageConfigParameters) DeepCopyInto

func (in *ImageConfigParameters) DeepCopyInto(out *ImageConfigParameters)

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

type Invocation

type Invocation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.input)",message="input is a required parameter"
	Spec   InvocationSpec   `json:"spec"`
	Status InvocationStatus `json:"status,omitempty"`
}

Invocation is the Schema for the Invocations API. Invoke AWS Lambda Function +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Invocation) DeepCopy

func (in *Invocation) DeepCopy() *Invocation

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

func (*Invocation) DeepCopyInto

func (in *Invocation) DeepCopyInto(out *Invocation)

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

func (*Invocation) DeepCopyObject

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

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

func (*Invocation) GetCondition

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

GetCondition of this Invocation.

func (*Invocation) GetConnectionDetailsMapping

func (tr *Invocation) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Invocation

func (*Invocation) GetDeletionPolicy

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

GetDeletionPolicy of this Invocation.

func (*Invocation) GetID

func (tr *Invocation) GetID() string

GetID returns ID of underlying Terraform resource of this Invocation

func (*Invocation) GetManagementPolicy

func (mg *Invocation) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Invocation.

func (*Invocation) GetObservation

func (tr *Invocation) GetObservation() (map[string]any, error)

GetObservation of this Invocation

func (*Invocation) GetParameters

func (tr *Invocation) GetParameters() (map[string]any, error)

GetParameters of this Invocation

func (*Invocation) GetProviderConfigReference

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

GetProviderConfigReference of this Invocation.

func (*Invocation) GetProviderReference

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

GetProviderReference of this Invocation. Deprecated: Use GetProviderConfigReference.

func (*Invocation) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Invocation.

func (*Invocation) GetTerraformResourceType

func (mg *Invocation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Invocation

func (*Invocation) GetTerraformSchemaVersion

func (tr *Invocation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Invocation) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Invocation.

func (*Invocation) LateInitialize

func (tr *Invocation) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Invocation using its observed tfState. returns True if there are any spec changes for the resource.

func (*Invocation) ResolveReferences

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

ResolveReferences of this Invocation.

func (*Invocation) SetConditions

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

SetConditions of this Invocation.

func (*Invocation) SetDeletionPolicy

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

SetDeletionPolicy of this Invocation.

func (*Invocation) SetManagementPolicy

func (mg *Invocation) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Invocation.

func (*Invocation) SetObservation

func (tr *Invocation) SetObservation(obs map[string]any) error

SetObservation for this Invocation

func (*Invocation) SetParameters

func (tr *Invocation) SetParameters(params map[string]any) error

SetParameters for this Invocation

func (*Invocation) SetProviderConfigReference

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

SetProviderConfigReference of this Invocation.

func (*Invocation) SetProviderReference

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

SetProviderReference of this Invocation. Deprecated: Use SetProviderConfigReference.

func (*Invocation) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Invocation.

func (*Invocation) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Invocation.

type InvocationList

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

InvocationList contains a list of Invocations

func (*InvocationList) DeepCopy

func (in *InvocationList) DeepCopy() *InvocationList

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

func (*InvocationList) DeepCopyInto

func (in *InvocationList) DeepCopyInto(out *InvocationList)

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

func (*InvocationList) DeepCopyObject

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

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

func (*InvocationList) GetItems

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

GetItems of this InvocationList.

type InvocationObservation

type InvocationObservation struct {

	// Name of the lambda function.
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// JSON payload to the lambda function.
	Input *string `json:"input,omitempty" tf:"input,omitempty"`

	// Qualifier (i.e., version) of the lambda function. Defaults to $LATEST.
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`

	// String result of the lambda function invocation.
	Result *string `json:"result,omitempty" tf:"result,omitempty"`

	// Map of arbitrary keys and values that, when changed, will trigger a re-invocation.
	Triggers map[string]*string `json:"triggers,omitempty" tf:"triggers,omitempty"`
}

func (*InvocationObservation) DeepCopy

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

func (*InvocationObservation) DeepCopyInto

func (in *InvocationObservation) DeepCopyInto(out *InvocationObservation)

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

type InvocationParameters

type InvocationParameters struct {

	// Name of the lambda function.
	// +crossplane:generate:reference:type=Function
	// +kubebuilder:validation:Optional
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Reference to a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameRef *v1.Reference `json:"functionNameRef,omitempty" tf:"-"`

	// Selector for a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameSelector *v1.Selector `json:"functionNameSelector,omitempty" tf:"-"`

	// JSON payload to the lambda function.
	// +kubebuilder:validation:Optional
	Input *string `json:"input,omitempty" tf:"input,omitempty"`

	// Qualifier (i.e., version) of the lambda function. Defaults to $LATEST.
	// +kubebuilder:validation:Optional
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Map of arbitrary keys and values that, when changed, will trigger a re-invocation.
	// +kubebuilder:validation:Optional
	Triggers map[string]*string `json:"triggers,omitempty" tf:"triggers,omitempty"`
}

func (*InvocationParameters) DeepCopy

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

func (*InvocationParameters) DeepCopyInto

func (in *InvocationParameters) DeepCopyInto(out *InvocationParameters)

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

type InvocationSpec

type InvocationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     InvocationParameters `json:"forProvider"`
}

InvocationSpec defines the desired state of Invocation

func (*InvocationSpec) DeepCopy

func (in *InvocationSpec) DeepCopy() *InvocationSpec

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

func (*InvocationSpec) DeepCopyInto

func (in *InvocationSpec) DeepCopyInto(out *InvocationSpec)

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

type InvocationStatus

type InvocationStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        InvocationObservation `json:"atProvider,omitempty"`
}

InvocationStatus defines the observed state of Invocation.

func (*InvocationStatus) DeepCopy

func (in *InvocationStatus) DeepCopy() *InvocationStatus

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

func (*InvocationStatus) DeepCopyInto

func (in *InvocationStatus) DeepCopyInto(out *InvocationStatus)

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

type LayerVersion

type LayerVersion struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.layerName)",message="layerName is a required parameter"
	Spec   LayerVersionSpec   `json:"spec"`
	Status LayerVersionStatus `json:"status,omitempty"`
}

LayerVersion is the Schema for the LayerVersions API. Provides a Lambda Layer Version resource. Lambda Layers allow you to reuse shared bits of code across multiple lambda functions. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*LayerVersion) DeepCopy

func (in *LayerVersion) DeepCopy() *LayerVersion

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

func (*LayerVersion) DeepCopyInto

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

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

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

func (*LayerVersion) GetCondition

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

GetCondition of this LayerVersion.

func (*LayerVersion) GetConnectionDetailsMapping

func (tr *LayerVersion) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this LayerVersion

func (*LayerVersion) GetDeletionPolicy

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

GetDeletionPolicy of this LayerVersion.

func (*LayerVersion) GetID

func (tr *LayerVersion) GetID() string

GetID returns ID of underlying Terraform resource of this LayerVersion

func (*LayerVersion) GetManagementPolicy

func (mg *LayerVersion) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this LayerVersion.

func (*LayerVersion) GetObservation

func (tr *LayerVersion) GetObservation() (map[string]any, error)

GetObservation of this LayerVersion

func (*LayerVersion) GetParameters

func (tr *LayerVersion) GetParameters() (map[string]any, error)

GetParameters of this LayerVersion

func (*LayerVersion) GetProviderConfigReference

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

GetProviderConfigReference of this LayerVersion.

func (*LayerVersion) GetProviderReference

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

GetProviderReference of this LayerVersion. Deprecated: Use GetProviderConfigReference.

func (*LayerVersion) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LayerVersion.

func (*LayerVersion) GetTerraformResourceType

func (mg *LayerVersion) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LayerVersion

func (*LayerVersion) GetTerraformSchemaVersion

func (tr *LayerVersion) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LayerVersion) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LayerVersion.

func (*LayerVersion) LateInitialize

func (tr *LayerVersion) LateInitialize(attrs []byte) (bool, error)

LateInitialize this LayerVersion using its observed tfState. returns True if there are any spec changes for the resource.

func (*LayerVersion) SetConditions

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

SetConditions of this LayerVersion.

func (*LayerVersion) SetDeletionPolicy

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

SetDeletionPolicy of this LayerVersion.

func (*LayerVersion) SetManagementPolicy

func (mg *LayerVersion) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this LayerVersion.

func (*LayerVersion) SetObservation

func (tr *LayerVersion) SetObservation(obs map[string]any) error

SetObservation for this LayerVersion

func (*LayerVersion) SetParameters

func (tr *LayerVersion) SetParameters(params map[string]any) error

SetParameters for this LayerVersion

func (*LayerVersion) SetProviderConfigReference

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

SetProviderConfigReference of this LayerVersion.

func (*LayerVersion) SetProviderReference

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

SetProviderReference of this LayerVersion. Deprecated: Use SetProviderConfigReference.

func (*LayerVersion) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LayerVersion.

func (*LayerVersion) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LayerVersion.

type LayerVersionList

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

LayerVersionList contains a list of LayerVersions

func (*LayerVersionList) DeepCopy

func (in *LayerVersionList) DeepCopy() *LayerVersionList

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

func (*LayerVersionList) DeepCopyInto

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

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

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

func (*LayerVersionList) GetItems

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

GetItems of this LayerVersionList.

type LayerVersionObservation

type LayerVersionObservation struct {

	// ARN of the Lambda Layer with version.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// List of Architectures this layer is compatible with. Currently x86_64 and arm64 can be specified.
	CompatibleArchitectures []*string `json:"compatibleArchitectures,omitempty" tf:"compatible_architectures,omitempty"`

	// List of Runtimes this layer is compatible with. Up to 5 runtimes can be specified.
	CompatibleRuntimes []*string `json:"compatibleRuntimes,omitempty" tf:"compatible_runtimes,omitempty"`

	// Date this resource was created.
	CreatedDate *string `json:"createdDate,omitempty" tf:"created_date,omitempty"`

	// Description of what your Lambda Layer does.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// prefixed options cannot be used.
	Filename *string `json:"filename,omitempty" tf:"filename,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// ARN of the Lambda Layer without version.
	LayerArn *string `json:"layerArn,omitempty" tf:"layer_arn,omitempty"`

	// Unique name for your Lambda Layer
	LayerName *string `json:"layerName,omitempty" tf:"layer_name,omitempty"`

	// License info for your Lambda Layer. See License Info.
	LicenseInfo *string `json:"licenseInfo,omitempty" tf:"license_info,omitempty"`

	// S3 bucket location containing the function's deployment package. Conflicts with filename. This bucket must reside in the same AWS region where you are creating the Lambda function.
	S3Bucket *string `json:"s3Bucket,omitempty" tf:"s3_bucket,omitempty"`

	// S3 key of an object containing the function's deployment package. Conflicts with filename.
	S3Key *string `json:"s3Key,omitempty" tf:"s3_key,omitempty"`

	// Object version containing the function's deployment package. Conflicts with filename.
	S3ObjectVersion *string `json:"s3ObjectVersion,omitempty" tf:"s3_object_version,omitempty"`

	// ARN of a signing job.
	SigningJobArn *string `json:"signingJobArn,omitempty" tf:"signing_job_arn,omitempty"`

	// ARN for a signing profile version.
	SigningProfileVersionArn *string `json:"signingProfileVersionArn,omitempty" tf:"signing_profile_version_arn,omitempty"`

	// Whether to retain the old version of a previously deployed Lambda Layer. Default is false. When this is not set to true, changing any of compatible_architectures, compatible_runtimes, description, filename, layer_name, license_info, s3_bucket, s3_key, s3_object_version, or source_code_hash forces deletion of the existing layer version and creation of a new layer version.
	SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"`

	// Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either filename or s3_key. The usual way to set this is ${filebase64sha256("file.11.12 or later) or ${base64sha256(file("file.11.11 and earlier), where "file.zip" is the local filename of the lambda layer source archive.
	SourceCodeHash *string `json:"sourceCodeHash,omitempty" tf:"source_code_hash,omitempty"`

	// Size in bytes of the function .zip file.
	SourceCodeSize *float64 `json:"sourceCodeSize,omitempty" tf:"source_code_size,omitempty"`

	// Lambda Layer version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*LayerVersionObservation) DeepCopy

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

func (*LayerVersionObservation) DeepCopyInto

func (in *LayerVersionObservation) DeepCopyInto(out *LayerVersionObservation)

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

type LayerVersionParameters

type LayerVersionParameters struct {

	// List of Architectures this layer is compatible with. Currently x86_64 and arm64 can be specified.
	// +kubebuilder:validation:Optional
	CompatibleArchitectures []*string `json:"compatibleArchitectures,omitempty" tf:"compatible_architectures,omitempty"`

	// List of Runtimes this layer is compatible with. Up to 5 runtimes can be specified.
	// +kubebuilder:validation:Optional
	CompatibleRuntimes []*string `json:"compatibleRuntimes,omitempty" tf:"compatible_runtimes,omitempty"`

	// Description of what your Lambda Layer does.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// prefixed options cannot be used.
	// +kubebuilder:validation:Optional
	Filename *string `json:"filename,omitempty" tf:"filename,omitempty"`

	// Unique name for your Lambda Layer
	// +kubebuilder:validation:Optional
	LayerName *string `json:"layerName,omitempty" tf:"layer_name,omitempty"`

	// License info for your Lambda Layer. See License Info.
	// +kubebuilder:validation:Optional
	LicenseInfo *string `json:"licenseInfo,omitempty" tf:"license_info,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// S3 bucket location containing the function's deployment package. Conflicts with filename. This bucket must reside in the same AWS region where you are creating the Lambda function.
	// +kubebuilder:validation:Optional
	S3Bucket *string `json:"s3Bucket,omitempty" tf:"s3_bucket,omitempty"`

	// S3 key of an object containing the function's deployment package. Conflicts with filename.
	// +kubebuilder:validation:Optional
	S3Key *string `json:"s3Key,omitempty" tf:"s3_key,omitempty"`

	// Object version containing the function's deployment package. Conflicts with filename.
	// +kubebuilder:validation:Optional
	S3ObjectVersion *string `json:"s3ObjectVersion,omitempty" tf:"s3_object_version,omitempty"`

	// Whether to retain the old version of a previously deployed Lambda Layer. Default is false. When this is not set to true, changing any of compatible_architectures, compatible_runtimes, description, filename, layer_name, license_info, s3_bucket, s3_key, s3_object_version, or source_code_hash forces deletion of the existing layer version and creation of a new layer version.
	// +kubebuilder:validation:Optional
	SkipDestroy *bool `json:"skipDestroy,omitempty" tf:"skip_destroy,omitempty"`

	// Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either filename or s3_key. The usual way to set this is ${filebase64sha256("file.11.12 or later) or ${base64sha256(file("file.11.11 and earlier), where "file.zip" is the local filename of the lambda layer source archive.
	// +kubebuilder:validation:Optional
	SourceCodeHash *string `json:"sourceCodeHash,omitempty" tf:"source_code_hash,omitempty"`
}

func (*LayerVersionParameters) DeepCopy

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

func (*LayerVersionParameters) DeepCopyInto

func (in *LayerVersionParameters) DeepCopyInto(out *LayerVersionParameters)

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

type LayerVersionPermission

type LayerVersionPermission struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.action)",message="action is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.layerName)",message="layerName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.principal)",message="principal is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.statementId)",message="statementId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.versionNumber)",message="versionNumber is a required parameter"
	Spec   LayerVersionPermissionSpec   `json:"spec"`
	Status LayerVersionPermissionStatus `json:"status,omitempty"`
}

LayerVersionPermission is the Schema for the LayerVersionPermissions API. Provides a Lambda Layer Version Permission resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*LayerVersionPermission) DeepCopy

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

func (*LayerVersionPermission) DeepCopyInto

func (in *LayerVersionPermission) DeepCopyInto(out *LayerVersionPermission)

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

func (*LayerVersionPermission) DeepCopyObject

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

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

func (*LayerVersionPermission) GetCondition

GetCondition of this LayerVersionPermission.

func (*LayerVersionPermission) GetConnectionDetailsMapping

func (tr *LayerVersionPermission) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this LayerVersionPermission

func (*LayerVersionPermission) GetDeletionPolicy

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

GetDeletionPolicy of this LayerVersionPermission.

func (*LayerVersionPermission) GetID

func (tr *LayerVersionPermission) GetID() string

GetID returns ID of underlying Terraform resource of this LayerVersionPermission

func (*LayerVersionPermission) GetManagementPolicy

func (mg *LayerVersionPermission) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this LayerVersionPermission.

func (*LayerVersionPermission) GetObservation

func (tr *LayerVersionPermission) GetObservation() (map[string]any, error)

GetObservation of this LayerVersionPermission

func (*LayerVersionPermission) GetParameters

func (tr *LayerVersionPermission) GetParameters() (map[string]any, error)

GetParameters of this LayerVersionPermission

func (*LayerVersionPermission) GetProviderConfigReference

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

GetProviderConfigReference of this LayerVersionPermission.

func (*LayerVersionPermission) GetProviderReference

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

GetProviderReference of this LayerVersionPermission. Deprecated: Use GetProviderConfigReference.

func (*LayerVersionPermission) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LayerVersionPermission.

func (*LayerVersionPermission) GetTerraformResourceType

func (mg *LayerVersionPermission) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LayerVersionPermission

func (*LayerVersionPermission) GetTerraformSchemaVersion

func (tr *LayerVersionPermission) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LayerVersionPermission) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LayerVersionPermission.

func (*LayerVersionPermission) LateInitialize

func (tr *LayerVersionPermission) LateInitialize(attrs []byte) (bool, error)

LateInitialize this LayerVersionPermission using its observed tfState. returns True if there are any spec changes for the resource.

func (*LayerVersionPermission) SetConditions

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

SetConditions of this LayerVersionPermission.

func (*LayerVersionPermission) SetDeletionPolicy

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

SetDeletionPolicy of this LayerVersionPermission.

func (*LayerVersionPermission) SetManagementPolicy

func (mg *LayerVersionPermission) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this LayerVersionPermission.

func (*LayerVersionPermission) SetObservation

func (tr *LayerVersionPermission) SetObservation(obs map[string]any) error

SetObservation for this LayerVersionPermission

func (*LayerVersionPermission) SetParameters

func (tr *LayerVersionPermission) SetParameters(params map[string]any) error

SetParameters for this LayerVersionPermission

func (*LayerVersionPermission) SetProviderConfigReference

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

SetProviderConfigReference of this LayerVersionPermission.

func (*LayerVersionPermission) SetProviderReference

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

SetProviderReference of this LayerVersionPermission. Deprecated: Use SetProviderConfigReference.

func (*LayerVersionPermission) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LayerVersionPermission.

func (*LayerVersionPermission) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LayerVersionPermission.

type LayerVersionPermissionList

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

LayerVersionPermissionList contains a list of LayerVersionPermissions

func (*LayerVersionPermissionList) DeepCopy

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

func (*LayerVersionPermissionList) DeepCopyInto

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

func (*LayerVersionPermissionList) DeepCopyObject

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

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

func (*LayerVersionPermissionList) GetItems

GetItems of this LayerVersionPermissionList.

type LayerVersionPermissionObservation

type LayerVersionPermissionObservation struct {

	// Action, which will be allowed. lambda:GetLayerVersion value is suggested by AWS documantation.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The layer_name and version_number, separated by a comma (,).
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name or ARN of the Lambda Layer, which you want to grant access to.
	LayerName *string `json:"layerName,omitempty" tf:"layer_name,omitempty"`

	// An identifier of AWS Organization, which should be able to use your Lambda Layer. principal should be equal to * if organization_id provided.
	OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`

	// Full Lambda Layer Permission policy.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// AWS account ID which should be able to use your Lambda Layer. * can be used here, if you want to share your Lambda Layer widely.
	Principal *string `json:"principal,omitempty" tf:"principal,omitempty"`

	// A unique identifier for the current revision of the policy.
	RevisionID *string `json:"revisionId,omitempty" tf:"revision_id,omitempty"`

	// The name of Lambda Layer Permission, for example dev-account - human readable note about what is this permission for.
	StatementID *string `json:"statementId,omitempty" tf:"statement_id,omitempty"`

	// Version of Lambda Layer, which you want to grant access to. Note: permissions only apply to a single version of a layer.
	VersionNumber *float64 `json:"versionNumber,omitempty" tf:"version_number,omitempty"`
}

func (*LayerVersionPermissionObservation) DeepCopy

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

func (*LayerVersionPermissionObservation) DeepCopyInto

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

type LayerVersionPermissionParameters

type LayerVersionPermissionParameters struct {

	// Action, which will be allowed. lambda:GetLayerVersion value is suggested by AWS documantation.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The name or ARN of the Lambda Layer, which you want to grant access to.
	// +kubebuilder:validation:Optional
	LayerName *string `json:"layerName,omitempty" tf:"layer_name,omitempty"`

	// An identifier of AWS Organization, which should be able to use your Lambda Layer. principal should be equal to * if organization_id provided.
	// +kubebuilder:validation:Optional
	OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`

	// AWS account ID which should be able to use your Lambda Layer. * can be used here, if you want to share your Lambda Layer widely.
	// +kubebuilder:validation:Optional
	Principal *string `json:"principal,omitempty" tf:"principal,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The name of Lambda Layer Permission, for example dev-account - human readable note about what is this permission for.
	// +kubebuilder:validation:Optional
	StatementID *string `json:"statementId,omitempty" tf:"statement_id,omitempty"`

	// Version of Lambda Layer, which you want to grant access to. Note: permissions only apply to a single version of a layer.
	// +kubebuilder:validation:Optional
	VersionNumber *float64 `json:"versionNumber,omitempty" tf:"version_number,omitempty"`
}

func (*LayerVersionPermissionParameters) DeepCopy

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

func (*LayerVersionPermissionParameters) DeepCopyInto

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

type LayerVersionPermissionSpec

type LayerVersionPermissionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LayerVersionPermissionParameters `json:"forProvider"`
}

LayerVersionPermissionSpec defines the desired state of LayerVersionPermission

func (*LayerVersionPermissionSpec) DeepCopy

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

func (*LayerVersionPermissionSpec) DeepCopyInto

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

type LayerVersionPermissionStatus

type LayerVersionPermissionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LayerVersionPermissionObservation `json:"atProvider,omitempty"`
}

LayerVersionPermissionStatus defines the observed state of LayerVersionPermission.

func (*LayerVersionPermissionStatus) DeepCopy

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

func (*LayerVersionPermissionStatus) DeepCopyInto

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

type LayerVersionSpec

type LayerVersionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LayerVersionParameters `json:"forProvider"`
}

LayerVersionSpec defines the desired state of LayerVersion

func (*LayerVersionSpec) DeepCopy

func (in *LayerVersionSpec) DeepCopy() *LayerVersionSpec

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

func (*LayerVersionSpec) DeepCopyInto

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

type LayerVersionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LayerVersionObservation `json:"atProvider,omitempty"`
}

LayerVersionStatus defines the observed state of LayerVersion.

func (*LayerVersionStatus) DeepCopy

func (in *LayerVersionStatus) DeepCopy() *LayerVersionStatus

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

func (*LayerVersionStatus) DeepCopyInto

func (in *LayerVersionStatus) DeepCopyInto(out *LayerVersionStatus)

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

type OnFailureObservation

type OnFailureObservation struct {

	// The Amazon Resource Name (ARN) of the destination resource.
	DestinationArn *string `json:"destinationArn,omitempty" tf:"destination_arn,omitempty"`
}

func (*OnFailureObservation) DeepCopy

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

func (*OnFailureObservation) DeepCopyInto

func (in *OnFailureObservation) DeepCopyInto(out *OnFailureObservation)

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

type OnFailureParameters

type OnFailureParameters struct {

	// The Amazon Resource Name (ARN) of the destination resource.
	// +kubebuilder:validation:Required
	DestinationArn *string `json:"destinationArn" tf:"destination_arn,omitempty"`
}

func (*OnFailureParameters) DeepCopy

func (in *OnFailureParameters) DeepCopy() *OnFailureParameters

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

func (*OnFailureParameters) DeepCopyInto

func (in *OnFailureParameters) DeepCopyInto(out *OnFailureParameters)

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

type OnSuccessObservation

type OnSuccessObservation struct {

	// Amazon Resource Name (ARN) of the destination resource. See the Lambda Developer Guide for acceptable resource types and associated IAM permissions.
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`
}

func (*OnSuccessObservation) DeepCopy

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

func (*OnSuccessObservation) DeepCopyInto

func (in *OnSuccessObservation) DeepCopyInto(out *OnSuccessObservation)

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

type OnSuccessParameters

type OnSuccessParameters struct {

	// Amazon Resource Name (ARN) of the destination resource. See the Lambda Developer Guide for acceptable resource types and associated IAM permissions.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	Destination *string `json:"destination,omitempty" tf:"destination,omitempty"`

	// Reference to a Topic in sns to populate destination.
	// +kubebuilder:validation:Optional
	DestinationRef *v1.Reference `json:"destinationRef,omitempty" tf:"-"`

	// Selector for a Topic in sns to populate destination.
	// +kubebuilder:validation:Optional
	DestinationSelector *v1.Selector `json:"destinationSelector,omitempty" tf:"-"`
}

func (*OnSuccessParameters) DeepCopy

func (in *OnSuccessParameters) DeepCopy() *OnSuccessParameters

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

func (*OnSuccessParameters) DeepCopyInto

func (in *OnSuccessParameters) DeepCopyInto(out *OnSuccessParameters)

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

type Permission

type Permission struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.action)",message="action is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.principal)",message="principal is a required parameter"
	Spec   PermissionSpec   `json:"spec"`
	Status PermissionStatus `json:"status,omitempty"`
}

Permission is the Schema for the Permissions API. Creates a Lambda function permission. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Permission) DeepCopy

func (in *Permission) DeepCopy() *Permission

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

func (*Permission) DeepCopyInto

func (in *Permission) DeepCopyInto(out *Permission)

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

func (*Permission) DeepCopyObject

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

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

func (*Permission) GetCondition

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

GetCondition of this Permission.

func (*Permission) GetConnectionDetailsMapping

func (tr *Permission) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Permission

func (*Permission) GetDeletionPolicy

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

GetDeletionPolicy of this Permission.

func (*Permission) GetID

func (tr *Permission) GetID() string

GetID returns ID of underlying Terraform resource of this Permission

func (*Permission) GetManagementPolicy

func (mg *Permission) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Permission.

func (*Permission) GetObservation

func (tr *Permission) GetObservation() (map[string]any, error)

GetObservation of this Permission

func (*Permission) GetParameters

func (tr *Permission) GetParameters() (map[string]any, error)

GetParameters of this Permission

func (*Permission) GetProviderConfigReference

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

GetProviderConfigReference of this Permission.

func (*Permission) GetProviderReference

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

GetProviderReference of this Permission. Deprecated: Use GetProviderConfigReference.

func (*Permission) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Permission.

func (*Permission) GetTerraformResourceType

func (mg *Permission) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Permission

func (*Permission) GetTerraformSchemaVersion

func (tr *Permission) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Permission) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Permission.

func (*Permission) LateInitialize

func (tr *Permission) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Permission using its observed tfState. returns True if there are any spec changes for the resource.

func (*Permission) ResolveReferences

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

ResolveReferences of this Permission.

func (*Permission) SetConditions

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

SetConditions of this Permission.

func (*Permission) SetDeletionPolicy

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

SetDeletionPolicy of this Permission.

func (*Permission) SetManagementPolicy

func (mg *Permission) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Permission.

func (*Permission) SetObservation

func (tr *Permission) SetObservation(obs map[string]any) error

SetObservation for this Permission

func (*Permission) SetParameters

func (tr *Permission) SetParameters(params map[string]any) error

SetParameters for this Permission

func (*Permission) SetProviderConfigReference

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

SetProviderConfigReference of this Permission.

func (*Permission) SetProviderReference

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

SetProviderReference of this Permission. Deprecated: Use SetProviderConfigReference.

func (*Permission) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Permission.

func (*Permission) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Permission.

type PermissionList

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

PermissionList contains a list of Permissions

func (*PermissionList) DeepCopy

func (in *PermissionList) DeepCopy() *PermissionList

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

func (*PermissionList) DeepCopyInto

func (in *PermissionList) DeepCopyInto(out *PermissionList)

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

func (*PermissionList) DeepCopyObject

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

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

func (*PermissionList) GetItems

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

GetItems of this PermissionList.

type PermissionObservation

type PermissionObservation struct {

	// The AWS Lambda action you want to allow in this statement. (e.g., lambda:InvokeFunction)
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The Event Source Token to validate.  Used with Alexa Skills.
	EventSourceToken *string `json:"eventSourceToken,omitempty" tf:"event_source_token,omitempty"`

	// Name of the Lambda function whose resource policy you are updating
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Lambda Function URLs authentication type. Valid values are: AWS_IAM or NONE. Only supported for lambda:InvokeFunctionUrl action.
	FunctionURLAuthType *string `json:"functionUrlAuthType,omitempty" tf:"function_url_auth_type,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The principal who is getting this permission e.g., s3.amazonaws.com, an AWS account ID, or AWS IAM principal, or AWS service principal such as events.amazonaws.com or sns.amazonaws.com.
	Principal *string `json:"principal,omitempty" tf:"principal,omitempty"`

	// The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization.
	PrincipalOrgID *string `json:"principalOrgId,omitempty" tf:"principal_org_id,omitempty"`

	// Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN e.g., arn:aws:lambda:aws-region:acct-id:function:function-name:2
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`

	// This parameter is used when allowing cross-account access, or for S3 and SES. The AWS account ID (without a hyphen) of the source owner.
	SourceAccount *string `json:"sourceAccount,omitempty" tf:"source_account,omitempty"`

	// When the principal is an AWS service, the ARN of the specific resource within that service to grant permission to.
	// Without this, any resource from principal will be granted permission – even if that resource is from another account.
	// For S3, this should be the ARN of the S3 Bucket.
	// For EventBridge events, this should be the ARN of the EventBridge Rule.
	// For API Gateway, this should be the ARN of the API, as described here.
	SourceArn *string `json:"sourceArn,omitempty" tf:"source_arn,omitempty"`

	// A unique statement identifier.
	StatementID *string `json:"statementId,omitempty" tf:"statement_id,omitempty"`

	// A statement identifier prefix. Conflicts with statement_id.
	StatementIDPrefix *string `json:"statementIdPrefix,omitempty" tf:"statement_id_prefix,omitempty"`
}

func (*PermissionObservation) DeepCopy

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

func (*PermissionObservation) DeepCopyInto

func (in *PermissionObservation) DeepCopyInto(out *PermissionObservation)

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

type PermissionParameters

type PermissionParameters struct {

	// The AWS Lambda action you want to allow in this statement. (e.g., lambda:InvokeFunction)
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The Event Source Token to validate.  Used with Alexa Skills.
	// +kubebuilder:validation:Optional
	EventSourceToken *string `json:"eventSourceToken,omitempty" tf:"event_source_token,omitempty"`

	// Name of the Lambda function whose resource policy you are updating
	// +crossplane:generate:reference:type=Function
	// +kubebuilder:validation:Optional
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Reference to a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameRef *v1.Reference `json:"functionNameRef,omitempty" tf:"-"`

	// Selector for a Function to populate functionName.
	// +kubebuilder:validation:Optional
	FunctionNameSelector *v1.Selector `json:"functionNameSelector,omitempty" tf:"-"`

	// Lambda Function URLs authentication type. Valid values are: AWS_IAM or NONE. Only supported for lambda:InvokeFunctionUrl action.
	// +kubebuilder:validation:Optional
	FunctionURLAuthType *string `json:"functionUrlAuthType,omitempty" tf:"function_url_auth_type,omitempty"`

	// The principal who is getting this permission e.g., s3.amazonaws.com, an AWS account ID, or AWS IAM principal, or AWS service principal such as events.amazonaws.com or sns.amazonaws.com.
	// +kubebuilder:validation:Optional
	Principal *string `json:"principal,omitempty" tf:"principal,omitempty"`

	// The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization.
	// +kubebuilder:validation:Optional
	PrincipalOrgID *string `json:"principalOrgId,omitempty" tf:"principal_org_id,omitempty"`

	// Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN e.g., arn:aws:lambda:aws-region:acct-id:function:function-name:2
	// +crossplane:generate:reference:type=Alias
	// +kubebuilder:validation:Optional
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`

	// Reference to a Alias to populate qualifier.
	// +kubebuilder:validation:Optional
	QualifierRef *v1.Reference `json:"qualifierRef,omitempty" tf:"-"`

	// Selector for a Alias to populate qualifier.
	// +kubebuilder:validation:Optional
	QualifierSelector *v1.Selector `json:"qualifierSelector,omitempty" tf:"-"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// This parameter is used when allowing cross-account access, or for S3 and SES. The AWS account ID (without a hyphen) of the source owner.
	// +kubebuilder:validation:Optional
	SourceAccount *string `json:"sourceAccount,omitempty" tf:"source_account,omitempty"`

	// When the principal is an AWS service, the ARN of the specific resource within that service to grant permission to.
	// Without this, any resource from principal will be granted permission – even if that resource is from another account.
	// For S3, this should be the ARN of the S3 Bucket.
	// For EventBridge events, this should be the ARN of the EventBridge Rule.
	// For API Gateway, this should be the ARN of the API, as described here.
	// +kubebuilder:validation:Optional
	SourceArn *string `json:"sourceArn,omitempty" tf:"source_arn,omitempty"`

	// A unique statement identifier.
	// +kubebuilder:validation:Optional
	StatementID *string `json:"statementId,omitempty" tf:"statement_id,omitempty"`

	// A statement identifier prefix. Conflicts with statement_id.
	// +kubebuilder:validation:Optional
	StatementIDPrefix *string `json:"statementIdPrefix,omitempty" tf:"statement_id_prefix,omitempty"`
}

func (*PermissionParameters) DeepCopy

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

func (*PermissionParameters) DeepCopyInto

func (in *PermissionParameters) DeepCopyInto(out *PermissionParameters)

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

type PermissionSpec

type PermissionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PermissionParameters `json:"forProvider"`
}

PermissionSpec defines the desired state of Permission

func (*PermissionSpec) DeepCopy

func (in *PermissionSpec) DeepCopy() *PermissionSpec

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

func (*PermissionSpec) DeepCopyInto

func (in *PermissionSpec) DeepCopyInto(out *PermissionSpec)

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

type PermissionStatus

type PermissionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        PermissionObservation `json:"atProvider,omitempty"`
}

PermissionStatus defines the observed state of Permission.

func (*PermissionStatus) DeepCopy

func (in *PermissionStatus) DeepCopy() *PermissionStatus

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

func (*PermissionStatus) DeepCopyInto

func (in *PermissionStatus) DeepCopyInto(out *PermissionStatus)

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

type PoliciesObservation

type PoliciesObservation struct {

	// Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: Warn, Enforce. Default value: Warn.
	UntrustedArtifactOnDeployment *string `json:"untrustedArtifactOnDeployment,omitempty" tf:"untrusted_artifact_on_deployment,omitempty"`
}

func (*PoliciesObservation) DeepCopy

func (in *PoliciesObservation) DeepCopy() *PoliciesObservation

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

func (*PoliciesObservation) DeepCopyInto

func (in *PoliciesObservation) DeepCopyInto(out *PoliciesObservation)

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

type PoliciesParameters

type PoliciesParameters struct {

	// Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: Warn, Enforce. Default value: Warn.
	// +kubebuilder:validation:Required
	UntrustedArtifactOnDeployment *string `json:"untrustedArtifactOnDeployment" tf:"untrusted_artifact_on_deployment,omitempty"`
}

func (*PoliciesParameters) DeepCopy

func (in *PoliciesParameters) DeepCopy() *PoliciesParameters

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

func (*PoliciesParameters) DeepCopyInto

func (in *PoliciesParameters) DeepCopyInto(out *PoliciesParameters)

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

type ProvisionedConcurrencyConfig

type ProvisionedConcurrencyConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.functionName)",message="functionName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.provisionedConcurrentExecutions)",message="provisionedConcurrentExecutions is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.qualifier)",message="qualifier is a required parameter"
	Spec   ProvisionedConcurrencyConfigSpec   `json:"spec"`
	Status ProvisionedConcurrencyConfigStatus `json:"status,omitempty"`
}

ProvisionedConcurrencyConfig is the Schema for the ProvisionedConcurrencyConfigs API. Manages a Lambda Provisioned Concurrency Configuration +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*ProvisionedConcurrencyConfig) DeepCopy

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

func (*ProvisionedConcurrencyConfig) DeepCopyInto

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

func (*ProvisionedConcurrencyConfig) DeepCopyObject

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

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

func (*ProvisionedConcurrencyConfig) GetCondition

GetCondition of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) GetConnectionDetailsMapping

func (tr *ProvisionedConcurrencyConfig) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ProvisionedConcurrencyConfig

func (*ProvisionedConcurrencyConfig) GetDeletionPolicy

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

GetDeletionPolicy of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) GetID

GetID returns ID of underlying Terraform resource of this ProvisionedConcurrencyConfig

func (*ProvisionedConcurrencyConfig) GetManagementPolicy

func (mg *ProvisionedConcurrencyConfig) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) GetObservation

func (tr *ProvisionedConcurrencyConfig) GetObservation() (map[string]any, error)

GetObservation of this ProvisionedConcurrencyConfig

func (*ProvisionedConcurrencyConfig) GetParameters

func (tr *ProvisionedConcurrencyConfig) GetParameters() (map[string]any, error)

GetParameters of this ProvisionedConcurrencyConfig

func (*ProvisionedConcurrencyConfig) GetProviderConfigReference

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

GetProviderConfigReference of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) GetProviderReference

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

GetProviderReference of this ProvisionedConcurrencyConfig. Deprecated: Use GetProviderConfigReference.

func (*ProvisionedConcurrencyConfig) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) GetTerraformResourceType

func (mg *ProvisionedConcurrencyConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProvisionedConcurrencyConfig

func (*ProvisionedConcurrencyConfig) GetTerraformSchemaVersion

func (tr *ProvisionedConcurrencyConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProvisionedConcurrencyConfig) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) LateInitialize

func (tr *ProvisionedConcurrencyConfig) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ProvisionedConcurrencyConfig using its observed tfState. returns True if there are any spec changes for the resource.

func (*ProvisionedConcurrencyConfig) SetConditions

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

SetConditions of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) SetDeletionPolicy

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

SetDeletionPolicy of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) SetManagementPolicy

func (mg *ProvisionedConcurrencyConfig) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) SetObservation

func (tr *ProvisionedConcurrencyConfig) SetObservation(obs map[string]any) error

SetObservation for this ProvisionedConcurrencyConfig

func (*ProvisionedConcurrencyConfig) SetParameters

func (tr *ProvisionedConcurrencyConfig) SetParameters(params map[string]any) error

SetParameters for this ProvisionedConcurrencyConfig

func (*ProvisionedConcurrencyConfig) SetProviderConfigReference

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

SetProviderConfigReference of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) SetProviderReference

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

SetProviderReference of this ProvisionedConcurrencyConfig. Deprecated: Use SetProviderConfigReference.

func (*ProvisionedConcurrencyConfig) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfig) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProvisionedConcurrencyConfig.

type ProvisionedConcurrencyConfigList

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

ProvisionedConcurrencyConfigList contains a list of ProvisionedConcurrencyConfigs

func (*ProvisionedConcurrencyConfigList) DeepCopy

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

func (*ProvisionedConcurrencyConfigList) DeepCopyInto

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

func (*ProvisionedConcurrencyConfigList) DeepCopyObject

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

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

func (*ProvisionedConcurrencyConfigList) GetItems

GetItems of this ProvisionedConcurrencyConfigList.

type ProvisionedConcurrencyConfigObservation

type ProvisionedConcurrencyConfigObservation struct {

	// Name or Amazon Resource Name (ARN) of the Lambda Function.
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Lambda Function name and qualifier separated by a colon (:).
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Amount of capacity to allocate. Must be greater than or equal to 1.
	ProvisionedConcurrentExecutions *float64 `json:"provisionedConcurrentExecutions,omitempty" tf:"provisioned_concurrent_executions,omitempty"`

	// Lambda Function version or Lambda Alias name.
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`
}

func (*ProvisionedConcurrencyConfigObservation) DeepCopy

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

func (*ProvisionedConcurrencyConfigObservation) DeepCopyInto

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

type ProvisionedConcurrencyConfigParameters

type ProvisionedConcurrencyConfigParameters struct {

	// Name or Amazon Resource Name (ARN) of the Lambda Function.
	// +kubebuilder:validation:Optional
	FunctionName *string `json:"functionName,omitempty" tf:"function_name,omitempty"`

	// Amount of capacity to allocate. Must be greater than or equal to 1.
	// +kubebuilder:validation:Optional
	ProvisionedConcurrentExecutions *float64 `json:"provisionedConcurrentExecutions,omitempty" tf:"provisioned_concurrent_executions,omitempty"`

	// Lambda Function version or Lambda Alias name.
	// +kubebuilder:validation:Optional
	Qualifier *string `json:"qualifier,omitempty" tf:"qualifier,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`
}

func (*ProvisionedConcurrencyConfigParameters) DeepCopy

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

func (*ProvisionedConcurrencyConfigParameters) DeepCopyInto

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

type ProvisionedConcurrencyConfigSpec

type ProvisionedConcurrencyConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProvisionedConcurrencyConfigParameters `json:"forProvider"`
}

ProvisionedConcurrencyConfigSpec defines the desired state of ProvisionedConcurrencyConfig

func (*ProvisionedConcurrencyConfigSpec) DeepCopy

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

func (*ProvisionedConcurrencyConfigSpec) DeepCopyInto

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

type ProvisionedConcurrencyConfigStatus

type ProvisionedConcurrencyConfigStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ProvisionedConcurrencyConfigObservation `json:"atProvider,omitempty"`
}

ProvisionedConcurrencyConfigStatus defines the observed state of ProvisionedConcurrencyConfig.

func (*ProvisionedConcurrencyConfigStatus) DeepCopy

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

func (*ProvisionedConcurrencyConfigStatus) DeepCopyInto

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

type RoutingConfigObservation

type RoutingConfigObservation struct {

	// A map that defines the proportion of events that should be sent to different versions of a lambda function.
	AdditionalVersionWeights map[string]*float64 `json:"additionalVersionWeights,omitempty" tf:"additional_version_weights,omitempty"`
}

func (*RoutingConfigObservation) DeepCopy

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

func (*RoutingConfigObservation) DeepCopyInto

func (in *RoutingConfigObservation) DeepCopyInto(out *RoutingConfigObservation)

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

type RoutingConfigParameters

type RoutingConfigParameters struct {

	// A map that defines the proportion of events that should be sent to different versions of a lambda function.
	// +kubebuilder:validation:Optional
	AdditionalVersionWeights map[string]*float64 `json:"additionalVersionWeights,omitempty" tf:"additional_version_weights,omitempty"`
}

func (*RoutingConfigParameters) DeepCopy

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

func (*RoutingConfigParameters) DeepCopyInto

func (in *RoutingConfigParameters) DeepCopyInto(out *RoutingConfigParameters)

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

type ScalingConfigObservation

type ScalingConfigObservation struct {

	// Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be between 2 and 1000. See Configuring maximum concurrency for Amazon SQS event sources.
	MaximumConcurrency *float64 `json:"maximumConcurrency,omitempty" tf:"maximum_concurrency,omitempty"`
}

func (*ScalingConfigObservation) DeepCopy

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

func (*ScalingConfigObservation) DeepCopyInto

func (in *ScalingConfigObservation) DeepCopyInto(out *ScalingConfigObservation)

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

type ScalingConfigParameters

type ScalingConfigParameters struct {

	// Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be between 2 and 1000. See Configuring maximum concurrency for Amazon SQS event sources.
	// +kubebuilder:validation:Optional
	MaximumConcurrency *float64 `json:"maximumConcurrency,omitempty" tf:"maximum_concurrency,omitempty"`
}

func (*ScalingConfigParameters) DeepCopy

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

func (*ScalingConfigParameters) DeepCopyInto

func (in *ScalingConfigParameters) DeepCopyInto(out *ScalingConfigParameters)

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

type SelfManagedEventSourceObservation

type SelfManagedEventSourceObservation struct {

	// A map of endpoints for the self managed source.  For Kafka self-managed sources, the key should be KAFKA_BOOTSTRAP_SERVERS and the value should be a string with a comma separated list of broker endpoints.
	Endpoints map[string]*string `json:"endpoints,omitempty" tf:"endpoints,omitempty"`
}

func (*SelfManagedEventSourceObservation) DeepCopy

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

func (*SelfManagedEventSourceObservation) DeepCopyInto

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

type SelfManagedEventSourceParameters

type SelfManagedEventSourceParameters struct {

	// A map of endpoints for the self managed source.  For Kafka self-managed sources, the key should be KAFKA_BOOTSTRAP_SERVERS and the value should be a string with a comma separated list of broker endpoints.
	// +kubebuilder:validation:Required
	Endpoints map[string]*string `json:"endpoints" tf:"endpoints,omitempty"`
}

func (*SelfManagedEventSourceParameters) DeepCopy

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

func (*SelfManagedEventSourceParameters) DeepCopyInto

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

type SelfManagedKafkaEventSourceConfigObservation

type SelfManagedKafkaEventSourceConfigObservation struct {

	// A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See SelfManagedKafkaEventSourceConfig Syntax.
	ConsumerGroupID *string `json:"consumerGroupId,omitempty" tf:"consumer_group_id,omitempty"`
}

func (*SelfManagedKafkaEventSourceConfigObservation) DeepCopy

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

func (*SelfManagedKafkaEventSourceConfigObservation) DeepCopyInto

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

type SelfManagedKafkaEventSourceConfigParameters

type SelfManagedKafkaEventSourceConfigParameters struct {

	// A Kafka consumer group ID between 1 and 200 characters for use when creating this event source mapping. If one is not specified, this value will be automatically generated. See SelfManagedKafkaEventSourceConfig Syntax.
	// +kubebuilder:validation:Optional
	ConsumerGroupID *string `json:"consumerGroupId,omitempty" tf:"consumer_group_id,omitempty"`
}

func (*SelfManagedKafkaEventSourceConfigParameters) DeepCopy

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

func (*SelfManagedKafkaEventSourceConfigParameters) DeepCopyInto

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

type SnapStartObservation

type SnapStartObservation struct {

	// Conditions where snap start is enabled. Valid values are PublishedVersions.
	ApplyOn *string `json:"applyOn,omitempty" tf:"apply_on,omitempty"`

	// Optimization status of the snap start configuration. Valid values are On and Off.
	OptimizationStatus *string `json:"optimizationStatus,omitempty" tf:"optimization_status,omitempty"`
}

func (*SnapStartObservation) DeepCopy

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

func (*SnapStartObservation) DeepCopyInto

func (in *SnapStartObservation) DeepCopyInto(out *SnapStartObservation)

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

type SnapStartParameters

type SnapStartParameters struct {

	// Conditions where snap start is enabled. Valid values are PublishedVersions.
	// +kubebuilder:validation:Required
	ApplyOn *string `json:"applyOn" tf:"apply_on,omitempty"`
}

func (*SnapStartParameters) DeepCopy

func (in *SnapStartParameters) DeepCopy() *SnapStartParameters

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

func (*SnapStartParameters) DeepCopyInto

func (in *SnapStartParameters) DeepCopyInto(out *SnapStartParameters)

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

type SourceAccessConfigurationObservation

type SourceAccessConfigurationObservation struct {

	// The type of this configuration.  For Self Managed Kafka you will need to supply blocks for type VPC_SUBNET and VPC_SECURITY_GROUP.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The URI for this configuration.  For type VPC_SUBNET the value should be subnet:subnet_id where subnet_id is the value you would find in an aws_subnet resource's id attribute.  For type VPC_SECURITY_GROUP the value should be security_group:security_group_id where security_group_id is the value you would find in an aws_security_group resource's id attribute.
	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*SourceAccessConfigurationObservation) DeepCopy

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

func (*SourceAccessConfigurationObservation) DeepCopyInto

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

type SourceAccessConfigurationParameters

type SourceAccessConfigurationParameters struct {

	// The type of this configuration.  For Self Managed Kafka you will need to supply blocks for type VPC_SUBNET and VPC_SECURITY_GROUP.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// The URI for this configuration.  For type VPC_SUBNET the value should be subnet:subnet_id where subnet_id is the value you would find in an aws_subnet resource's id attribute.  For type VPC_SECURITY_GROUP the value should be security_group:security_group_id where security_group_id is the value you would find in an aws_security_group resource's id attribute.
	// +kubebuilder:validation:Required
	URI *string `json:"uri" tf:"uri,omitempty"`
}

func (*SourceAccessConfigurationParameters) DeepCopy

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

func (*SourceAccessConfigurationParameters) DeepCopyInto

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

type TracingConfigObservation

type TracingConfigObservation struct {

	// Whether to sample and trace a subset of incoming requests with AWS X-Ray. Valid values are PassThrough and Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*TracingConfigObservation) DeepCopy

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

func (*TracingConfigObservation) DeepCopyInto

func (in *TracingConfigObservation) DeepCopyInto(out *TracingConfigObservation)

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

type TracingConfigParameters

type TracingConfigParameters struct {

	// Whether to sample and trace a subset of incoming requests with AWS X-Ray. Valid values are PassThrough and Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.
	// +kubebuilder:validation:Required
	Mode *string `json:"mode" tf:"mode,omitempty"`
}

func (*TracingConfigParameters) DeepCopy

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

func (*TracingConfigParameters) DeepCopyInto

func (in *TracingConfigParameters) DeepCopyInto(out *TracingConfigParameters)

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

type VPCConfigObservation

type VPCConfigObservation struct {

	// List of security group IDs associated with the Lambda function.
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// List of subnet IDs associated with the Lambda function.
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// ID of the VPC.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*VPCConfigObservation) DeepCopy

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

func (*VPCConfigObservation) DeepCopyInto

func (in *VPCConfigObservation) DeepCopyInto(out *VPCConfigObservation)

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

type VPCConfigParameters

type VPCConfigParameters struct {

	// References to SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// List of security group IDs associated with the Lambda function.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// List of subnet IDs associated with the Lambda function.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:refFieldName=SubnetIDRefs
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +kubebuilder:validation:Optional
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`
}

func (*VPCConfigParameters) DeepCopy

func (in *VPCConfigParameters) DeepCopy() *VPCConfigParameters

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

func (*VPCConfigParameters) DeepCopyInto

func (in *VPCConfigParameters) DeepCopyInto(out *VPCConfigParameters)

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

Jump to

Keyboard shortcuts

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