FunctionURLConfig

lambda.services.k8s.aws/v1alpha1

TypeLink
GoDoclambda-controller/apis/v1alpha1#FunctionURLConfig

Metadata

PropertyValue
ScopeNamespaced
KindFunctionURLConfig
ListKindFunctionURLConfigList
Pluralfunctionurlconfigs
Singularfunctionurlconfig

Details about a Lambda function URL.

Spec

authType: string
cors: 
  allowCredentials: boolean
  allowHeaders:
  - string
  allowMethods:
  - string
  allowOrigins:
  - string
  exposeHeaders:
  - string
  maxAge: integer
functionName: string
functionRef: 
  from: 
    name: string
    namespace: string
qualifier: string
FieldDescription
authType
Required
string
The type of authentication that your function URL uses. Set to AWS_IAM if
you want to restrict access to authenticated IAM users only. Set to NONE
if you want to bypass IAM authentication to create a public endpoint. For
more information, see Security and auth model for Lambda function URLs (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html).
cors
Optional
object
The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
settings for your function URL.
cors.allowCredentials
Optional
boolean
cors.allowHeaders
Optional
array
cors.allowHeaders.[]
Required
string
cors.allowMethods.[]
Required
string
cors.allowOrigins.[]
Required
string
cors.exposeHeaders.[]
Required
string
functionName
Optional
string
The name of the Lambda function.

Name formats

* Function name – my-function.

* Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

* Partial ARN – 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the
function name, it is limited to 64 characters in length.
functionRef
Optional
object
AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference
type to provide more user friendly syntax for references using ‘from’ field
Ex:
APIIDRef:

from:
name: my-api
functionRef.from
Optional
object
AWSResourceReference provides all the values necessary to reference another
k8s resource for finding the identifier(Id/ARN/Name)
functionRef.from.name
Optional
string
functionRef.from.namespace
Optional
string
qualifier
Optional
string
The alias name.

Status

ackResourceMetadata: 
  arn: string
  ownerAccountID: string
  region: string
conditions:
- lastTransitionTime: string
  message: string
  reason: string
  status: string
  type: string
creationTime: string
functionARN: string
functionURL: string
FieldDescription
ackResourceMetadata
Optional
object
All CRs managed by ACK have a common Status.ACKResourceMetadata member
that is used to contain resource sync state, account ownership,
constructed ARN for the resource
ackResourceMetadata.arn
Optional
string
ARN is the Amazon Resource Name for the resource. This is a
globally-unique identifier and is set only by the ACK service controller
once the controller has orchestrated the creation of the resource OR
when it has verified that an “adopted” resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR’s Spec field values.
https://github.com/aws/aws-controllers-k8s/issues/270
ackResourceMetadata.ownerAccountID
Required
string
OwnerAccountID is the AWS Account ID of the account that owns the
backend AWS service API resource.
ackResourceMetadata.region
Required
string
Region is the AWS region in which the resource exists or will exist.
conditions
Optional
array
All CRS managed by ACK have a common Status.Conditions member that
contains a collection of ackv1alpha1.Condition objects that describe
the various terminal states of the CR and its backend AWS service API
resource
conditions.[]
Required
object
Condition is the common struct used by all CRDs managed by ACK service
controllers to indicate terminal states of the CR and its backend AWS
service API resource
conditions.[].message
Optional
string
A human readable message indicating details about the transition.
conditions.[].reason
Optional
string
The reason for the condition’s last transition.
conditions.[].status
Optional
string
Status of the condition, one of True, False, Unknown.
conditions.[].type
Optional
string
Type is the type of the Condition
creationTime
Optional
string
When the function URL was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime)
(YYYY-MM-DDThh:mm:ss.sTZD).
functionARN
Optional
string
The Amazon Resource Name (ARN) of your function.
functionURL
Optional
string
The HTTP URL endpoint for your function.