Function

cloudfront.services.k8s.aws/v1alpha1

TypeLink
GoDoccloudfront-controller/apis/v1alpha1#Function

Metadata

PropertyValue
ScopeNamespaced
KindFunction
ListKindFunctionList
Pluralfunctions
Singularfunction

Spec

functionCode: string
functionConfig: 
  comment: string
  runtime: string
name: string
FieldDescription
functionCode
Required
string
The function code. For more information about writing a CloudFront function,
see Writing function code for CloudFront Functions (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html)
in the Amazon CloudFront Developer Guide.
functionConfig
Required
object
Configuration information about the function, including an optional comment
and the function’s runtime.
functionConfig.comment
Optional
string
functionConfig.runtime
Optional
string
name
Required
string
A name to identify the function.

Status

ackResourceMetadata: 
  arn: string
  ownerAccountID: string
  region: string
conditions:
- lastTransitionTime: string
  message: string
  reason: string
  status: string
  type: string
eTag: string
functionSummary: 
  functionConfig: 
    comment: string
    runtime: string
  functionMetadata: 
    createdTime: string
    functionARN: string
    lastModifiedTime: string
    stage: string
  name: string
  status: string
location: 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.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
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
eTag
Optional
string
The version identifier for the current version of the CloudFront function.
functionSummary
Optional
object
Contains configuration information and metadata about a CloudFront function.
functionSummary.functionConfig
Optional
object
Contains configuration information about a CloudFront function.
functionSummary.functionConfig.comment
Optional
string
functionSummary.functionConfig.runtime
Optional
string
functionSummary.functionMetadata
Optional
object
Contains metadata about a CloudFront function.
functionSummary.functionMetadata.createdTime
Optional
string
functionSummary.functionMetadata.functionARN
Optional
string
functionSummary.functionMetadata.lastModifiedTime
Optional
string
functionSummary.functionMetadata.stage
Optional
string
functionSummary.name
Optional
string
functionSummary.status
Optional
string
location
Optional
string
The URL of the CloudFront function. Use the URL to manage the function with
the CloudFront API.