Documentation ¶
Overview ¶
Package manualv1alpha1 is the v1alpha1 version of the lambda.aws.crossplane.io API. +kubebuilder:object:generate=true +groupName=lambda.aws.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Permission
- func (in *Permission) DeepCopy() *Permission
- func (in *Permission) DeepCopyInto(out *Permission)
- func (in *Permission) DeepCopyObject() runtime.Object
- func (mg *Permission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Permission) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Permission) GetProviderConfigReference() *xpv1.Reference
- func (mg *Permission) GetProviderReference() *xpv1.Reference
- func (mg *Permission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Permission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Permission) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Permission) SetConditions(c ...xpv1.Condition)
- func (mg *Permission) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Permission) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Permission) SetProviderReference(r *xpv1.Reference)
- func (mg *Permission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Permission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PermissionList
- type PermissionObservation
- type PermissionParameters
- type PermissionSpec
- type PermissionStatus
Constants ¶
const ( Group = "lambda.aws.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( PermissionKind = reflect.TypeOf(Permission{}).Name() PermissionGroupKind = schema.GroupKind{Group: Group, Kind: PermissionKind}.String() PermissionKindAPIVersion = PermissionKind + "." + SchemeGroupVersion.String() PermissionGroupVersionKind = SchemeGroupVersion.WithKind(PermissionKind) )
Permission type metadata.
Functions ¶
This section is empty.
Types ¶
type Permission ¶
type Permission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PermissionSpec `json:"spec"` Status PermissionStatus `json:"status,omitempty"` }
A Permission is a managed resource that represents a AWS Lambda 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="SID",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) GetDeletionPolicy ¶
func (mg *Permission) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy 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) GetWriteConnectionSecretToReference ¶
func (mg *Permission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Permission.
func (*Permission) ResolveReferences ¶
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) 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 {
RevisionID *string `json:"revisionId,omitempty"`
}
PermissionObservation keeps the state for the external resource
func (*PermissionObservation) DeepCopy ¶
func (in *PermissionObservation) DeepCopy() *PermissionObservation
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 { // Region is which region the Function will be created. // +kubebuilder:validation:Required Region string `json:"region"` // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. // +optional // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-aws/apis/lambda/v1beta1.Function // +crossplane:generate:reference:refFieldName=FunctionNameRef // +crossplane:generate:reference:selectorFieldName=FunctionNameSelector FunctionName *string `json:"functionName,omitempty"` // FunctionNameRef is a reference to a function used to set // the FunctionName. // +optional FunctionNameRef *xpv1.Reference `json:"functionNameRef,omitempty"` // FunctionNameSelector selects references to function used // to set the FunctionName. // +optional FunctionNameSelector *xpv1.Selector `json:"functionNameSelector,omitempty"` // The action that the principal can use on the function. For example, // lambda:InvokeFunction or lambda:GetFunction. // // This member is required. Action string `json:"action"` // The Amazon Web Services service or account that invokes the function. If you // specify a service, use SourceArn or SourceAccount to limit who can invoke the // function through that service. // // This member is required. Principal string `json:"principal"` // For Alexa Smart Home functions, a token that must be supplied by the invoker. EventSourceToken *string `json:"eventSourceToken,omitempty"` // The identifier for your organization in Organizations. Use this to grant // permissions to all the Amazon Web Services accounts under this organization. PrincipalOrgID *string `json:"principalOrgId,omitempty"` // For Amazon S3, the ID of the account that owns the resource. Use this together // with SourceArn to ensure that the resource is owned by the specified account. It // is possible for an Amazon S3 bucket to be deleted by its owner and recreated by // another account. SourceAccount *string `json:"sourceAccount,omitempty"` // For Amazon Web Services services, the ARN of the Amazon Web Services resource // that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. // Note that Lambda configures the comparison using the StringLike operator. SourceArn *string `json:"sourceARN,omitempty"` }
PermissionParameters define the desired state of a Lambda Permission
func (*PermissionParameters) DeepCopy ¶
func (in *PermissionParameters) DeepCopy() *PermissionParameters
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 { xpv1.ResourceSpec `json:",inline"` ForProvider PermissionParameters `json:"forProvider"` }
A PermissionSpec defines the desired state of a 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.
func (*PermissionSpec) Hash ¶
func (ps *PermissionSpec) Hash() string
Hash calcuates the hash of the PermissionSpec.
type PermissionStatus ¶
type PermissionStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider PermissionObservation `json:"atProvider,omitempty"` }
A PermissionStatus represents the observed state of a ElasticIP.
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.