v1alpha1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package Package v1alpha1 is the v1alpha1 version of the cloudfront.services.k8s.aws API. +groupName=cloudfront.services.k8s.aws

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: "cloudfront.services.k8s.aws", Version: "v1alpha1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ActiveTrustedKeyGroups

type ActiveTrustedKeyGroups struct {
	Enabled *bool           `json:"enabled,omitempty"`
	Items   []*KGKeyPairIDs `json:"items,omitempty"`
}

A list of key groups, and the public keys in each key group, that CloudFront can use to verify the signatures of signed URLs and signed cookies.

func (*ActiveTrustedKeyGroups) DeepCopy

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

func (*ActiveTrustedKeyGroups) DeepCopyInto

func (in *ActiveTrustedKeyGroups) DeepCopyInto(out *ActiveTrustedKeyGroups)

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

type ActiveTrustedSigners

type ActiveTrustedSigners struct {
	Enabled *bool     `json:"enabled,omitempty"`
	Items   []*Signer `json:"items,omitempty"`
}

A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

func (*ActiveTrustedSigners) DeepCopy

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

func (*ActiveTrustedSigners) DeepCopyInto

func (in *ActiveTrustedSigners) DeepCopyInto(out *ActiveTrustedSigners)

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

type AliasICPRecordal

type AliasICPRecordal struct {
	CNAME             *string `json:"cname,omitempty"`
	ICPRecordalStatus *string `json:"iCPRecordalStatus,omitempty"`
}

Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions. The status is returned in the CloudFront response; you can't configure it yourself.

For more information about ICP recordals, see Signup, Accounts, and Credentials (https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) in Getting Started with Amazon Web Services services in China.

func (*AliasICPRecordal) DeepCopy

func (in *AliasICPRecordal) DeepCopy() *AliasICPRecordal

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

func (*AliasICPRecordal) DeepCopyInto

func (in *AliasICPRecordal) DeepCopyInto(out *AliasICPRecordal)

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

type Aliases

type Aliases struct {
	Items []*string `json:"items,omitempty"`
}

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

func (*Aliases) DeepCopy

func (in *Aliases) DeepCopy() *Aliases

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

func (*Aliases) DeepCopyInto

func (in *Aliases) DeepCopyInto(out *Aliases)

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

type AllowedMethods

type AllowedMethods struct {
	// A complex type that controls whether CloudFront caches the response to requests
	// using the specified HTTP methods. There are two choices:
	//
	//    * CloudFront caches responses to GET and HEAD requests.
	//
	//    * CloudFront caches responses to GET, HEAD, and OPTIONS requests.
	//
	// If you pick the second choice for your Amazon S3 Origin, you may need to
	// forward Access-Control-Request-Method, Access-Control-Request-Headers, and
	// Origin headers for the responses to be cached correctly.
	CachedMethods *CachedMethods `json:"cachedMethods,omitempty"`
	Items         []*string      `json:"items,omitempty"`
}

A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices:

  • CloudFront forwards only GET and HEAD requests.

  • CloudFront forwards only GET, HEAD, and OPTIONS requests.

  • CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests.

If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin.

func (*AllowedMethods) DeepCopy

func (in *AllowedMethods) DeepCopy() *AllowedMethods

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

func (*AllowedMethods) DeepCopyInto

func (in *AllowedMethods) DeepCopyInto(out *AllowedMethods)

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

type CacheBehavior

type CacheBehavior struct {
	// A complex type that controls which HTTP methods CloudFront processes and
	// forwards to your Amazon S3 bucket or your custom origin. There are three
	// choices:
	//
	//    * CloudFront forwards only GET and HEAD requests.
	//
	//    * CloudFront forwards only GET, HEAD, and OPTIONS requests.
	//
	//    * CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE
	//    requests.
	//
	// If you pick the third choice, you may need to restrict access to your Amazon
	// S3 bucket or to your custom origin so users can't perform operations that
	// you don't want them to. For example, you might not want users to have permissions
	// to delete objects from your origin.
	AllowedMethods         *AllowedMethods `json:"allowedMethods,omitempty"`
	CachePolicyID          *string         `json:"cachePolicyID,omitempty"`
	Compress               *bool           `json:"compress,omitempty"`
	DefaultTTL             *int64          `json:"defaultTTL,omitempty"`
	FieldLevelEncryptionID *string         `json:"fieldLevelEncryptionID,omitempty"`
	// This field is deprecated. We recommend that you use a cache policy or an
	// origin request policy instead of this field.
	//
	// If you want to include values in the cache key, use a cache policy. For more
	// information, see Creating cache policies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy)
	// in the Amazon CloudFront Developer Guide.
	//
	// If you want to send values to the origin but not include them in the cache
	// key, use an origin request policy. For more information, see Creating origin
	// request policies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy)
	// in the Amazon CloudFront Developer Guide.
	//
	// A complex type that specifies how CloudFront handles query strings, cookies,
	// and HTTP headers.
	ForwardedValues *ForwardedValues `json:"forwardedValues,omitempty"`
	// A list of CloudFront functions that are associated with a cache behavior
	// in a CloudFront distribution. CloudFront functions must be published to the
	// LIVE stage to associate them with a cache behavior.
	FunctionAssociations *FunctionAssociations `json:"functionAssociations,omitempty"`
	// A complex type that specifies a list of Lambda@Edge functions associations
	// for a cache behavior.
	//
	// If you want to invoke one or more Lambda@Edge functions triggered by requests
	// that match the PathPattern of the cache behavior, specify the applicable
	// values for Quantity and Items. Note that there can be up to 4 LambdaFunctionAssociation
	// items in this list (one for each possible value of EventType) and each EventType
	// can be associated with only one function.
	//
	// If you don't want to invoke any Lambda@Edge functions for the requests that
	// match PathPattern, specify 0 for Quantity and omit Items.
	LambdaFunctionAssociations *LambdaFunctionAssociations `json:"lambdaFunctionAssociations,omitempty"`
	MaxTTL                     *int64                      `json:"maxTTL,omitempty"`
	MinTTL                     *int64                      `json:"minTTL,omitempty"`
	OriginRequestPolicyID      *string                     `json:"originRequestPolicyID,omitempty"`
	PathPattern                *string                     `json:"pathPattern,omitempty"`
	RealtimeLogConfigARN       *string                     `json:"realtimeLogConfigARN,omitempty"`
	ResponseHeadersPolicyID    *string                     `json:"responseHeadersPolicyID,omitempty"`
	SmoothStreaming            *bool                       `json:"smoothStreaming,omitempty"`
	TargetOriginID             *string                     `json:"targetOriginID,omitempty"`
	// A list of key groups whose public keys CloudFront can use to verify the signatures
	// of signed URLs and signed cookies.
	TrustedKeyGroups *TrustedKeyGroups `json:"trustedKeyGroups,omitempty"`
	// A list of Amazon Web Services accounts whose public keys CloudFront can use
	// to verify the signatures of signed URLs and signed cookies.
	TrustedSigners       *TrustedSigners `json:"trustedSigners,omitempty"`
	ViewerProtocolPolicy *string         `json:"viewerProtocolPolicy,omitempty"`
}

A complex type that describes how CloudFront processes requests.

You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.

For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) in the Amazon CloudFront Developer Guide.

If you don't want to specify any cache behaviors, include only an empty CacheBehaviors element. Don't include an empty CacheBehavior element because this is invalid.

To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element.

To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.

For more information about cache behaviors, see Cache Behavior Settings (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior) in the Amazon CloudFront Developer Guide.

func (*CacheBehavior) DeepCopy

func (in *CacheBehavior) DeepCopy() *CacheBehavior

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

func (*CacheBehavior) DeepCopyInto

func (in *CacheBehavior) DeepCopyInto(out *CacheBehavior)

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

type CacheBehaviors

type CacheBehaviors struct {
	Items []*CacheBehavior `json:"items,omitempty"`
}

A complex type that contains zero or more CacheBehavior elements.

func (*CacheBehaviors) DeepCopy

func (in *CacheBehaviors) DeepCopy() *CacheBehaviors

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

func (*CacheBehaviors) DeepCopyInto

func (in *CacheBehaviors) DeepCopyInto(out *CacheBehaviors)

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

type CachePolicy

type CachePolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CachePolicySpec   `json:"spec,omitempty"`
	Status            CachePolicyStatus `json:"status,omitempty"`
}

CachePolicy is the Schema for the CachePolicies API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*CachePolicy) DeepCopy

func (in *CachePolicy) DeepCopy() *CachePolicy

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

func (*CachePolicy) DeepCopyInto

func (in *CachePolicy) DeepCopyInto(out *CachePolicy)

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

func (*CachePolicy) DeepCopyObject

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

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

type CachePolicyConfig

type CachePolicyConfig struct {
	Comment    *string `json:"comment,omitempty"`
	DefaultTTL *int64  `json:"defaultTTL,omitempty"`
	MaxTTL     *int64  `json:"maxTTL,omitempty"`
	MinTTL     *int64  `json:"minTTL,omitempty"`
	Name       *string `json:"name,omitempty"`
	// This object determines the values that CloudFront includes in the cache key.
	// These values can include HTTP headers, cookies, and URL query strings. CloudFront
	// uses the cache key to find an object in its cache that it can return to the
	// viewer.
	//
	// The headers, cookies, and query strings that are included in the cache key
	// are also included in requests that CloudFront sends to the origin. CloudFront
	// sends a request when it can't find an object in its cache that matches the
	// request's cache key. If you want to send values to the origin but not include
	// them in the cache key, use OriginRequestPolicy.
	ParametersInCacheKeyAndForwardedToOrigin *ParametersInCacheKeyAndForwardedToOrigin `json:"parametersInCacheKeyAndForwardedToOrigin,omitempty"`
}

A cache policy configuration.

This configuration determines the following:

  • The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.

  • The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

func (*CachePolicyConfig) DeepCopy

func (in *CachePolicyConfig) DeepCopy() *CachePolicyConfig

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

func (*CachePolicyConfig) DeepCopyInto

func (in *CachePolicyConfig) DeepCopyInto(out *CachePolicyConfig)

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

type CachePolicyCookieBehavior

type CachePolicyCookieBehavior string
const (
	CachePolicyCookieBehavior_none      CachePolicyCookieBehavior = "none"
	CachePolicyCookieBehavior_whitelist CachePolicyCookieBehavior = "whitelist"
	CachePolicyCookieBehavior_allExcept CachePolicyCookieBehavior = "allExcept"
	CachePolicyCookieBehavior_all       CachePolicyCookieBehavior = "all"
)

type CachePolicyCookiesConfig

type CachePolicyCookiesConfig struct {
	CookieBehavior *string `json:"cookieBehavior,omitempty"`
	// Contains a list of cookie names.
	Cookies *CookieNames `json:"cookies,omitempty"`
}

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.

func (*CachePolicyCookiesConfig) DeepCopy

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

func (*CachePolicyCookiesConfig) DeepCopyInto

func (in *CachePolicyCookiesConfig) DeepCopyInto(out *CachePolicyCookiesConfig)

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

type CachePolicyHeaderBehavior

type CachePolicyHeaderBehavior string
const (
	CachePolicyHeaderBehavior_none      CachePolicyHeaderBehavior = "none"
	CachePolicyHeaderBehavior_whitelist CachePolicyHeaderBehavior = "whitelist"
)

type CachePolicyHeadersConfig

type CachePolicyHeadersConfig struct {
	HeaderBehavior *string `json:"headerBehavior,omitempty"`
	// Contains a list of HTTP header names.
	Headers *Headers `json:"headers,omitempty"`
}

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.

func (*CachePolicyHeadersConfig) DeepCopy

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

func (*CachePolicyHeadersConfig) DeepCopyInto

func (in *CachePolicyHeadersConfig) DeepCopyInto(out *CachePolicyHeadersConfig)

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

type CachePolicyList

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

CachePolicyList contains a list of CachePolicy +kubebuilder:object:root=true

func (*CachePolicyList) DeepCopy

func (in *CachePolicyList) DeepCopy() *CachePolicyList

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

func (*CachePolicyList) DeepCopyInto

func (in *CachePolicyList) DeepCopyInto(out *CachePolicyList)

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

func (*CachePolicyList) DeepCopyObject

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

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

type CachePolicyList_SDK

type CachePolicyList_SDK struct {
	Items      []*CachePolicySummary `json:"items,omitempty"`
	MaxItems   *int64                `json:"maxItems,omitempty"`
	NextMarker *string               `json:"nextMarker,omitempty"`
	Quantity   *int64                `json:"quantity,omitempty"`
}

A list of cache policies.

func (*CachePolicyList_SDK) DeepCopy

func (in *CachePolicyList_SDK) DeepCopy() *CachePolicyList_SDK

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

func (*CachePolicyList_SDK) DeepCopyInto

func (in *CachePolicyList_SDK) DeepCopyInto(out *CachePolicyList_SDK)

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

type CachePolicyQueryStringBehavior

type CachePolicyQueryStringBehavior string
const (
	CachePolicyQueryStringBehavior_none      CachePolicyQueryStringBehavior = "none"
	CachePolicyQueryStringBehavior_whitelist CachePolicyQueryStringBehavior = "whitelist"
	CachePolicyQueryStringBehavior_allExcept CachePolicyQueryStringBehavior = "allExcept"
	CachePolicyQueryStringBehavior_all       CachePolicyQueryStringBehavior = "all"
)

type CachePolicyQueryStringsConfig

type CachePolicyQueryStringsConfig struct {
	QueryStringBehavior *string `json:"queryStringBehavior,omitempty"`
	// Contains a list of query string names.
	QueryStrings *QueryStringNames `json:"queryStrings,omitempty"`
}

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin.

func (*CachePolicyQueryStringsConfig) DeepCopy

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

func (*CachePolicyQueryStringsConfig) DeepCopyInto

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

type CachePolicySpec

type CachePolicySpec struct {

	// A cache policy configuration.
	// +kubebuilder:validation:Required
	CachePolicyConfig *CachePolicyConfig `json:"cachePolicyConfig"`
}

CachePolicySpec defines the desired state of CachePolicy.

A cache policy.

When it's attached to a cache behavior, the cache policy determines the following:

  • The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.

  • The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

func (*CachePolicySpec) DeepCopy

func (in *CachePolicySpec) DeepCopy() *CachePolicySpec

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

func (*CachePolicySpec) DeepCopyInto

func (in *CachePolicySpec) DeepCopyInto(out *CachePolicySpec)

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

type CachePolicyStatus

type CachePolicyStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// The current version of the cache policy.
	// +kubebuilder:validation:Optional
	ETag *string `json:"eTag,omitempty"`
	// The unique identifier for the cache policy.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty"`
	// The date and time when the cache policy was last modified.
	// +kubebuilder:validation:Optional
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
}

CachePolicyStatus defines the observed state of CachePolicy

func (*CachePolicyStatus) DeepCopy

func (in *CachePolicyStatus) DeepCopy() *CachePolicyStatus

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

func (*CachePolicyStatus) DeepCopyInto

func (in *CachePolicyStatus) DeepCopyInto(out *CachePolicyStatus)

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

type CachePolicySummary

type CachePolicySummary struct {
	// A cache policy.
	//
	// When it's attached to a cache behavior, the cache policy determines the following:
	//
	//    * The values that CloudFront includes in the cache key. These values can
	//    include HTTP headers, cookies, and URL query strings. CloudFront uses
	//    the cache key to find an object in its cache that it can return to the
	//    viewer.
	//
	//    * The default, minimum, and maximum time to live (TTL) values that you
	//    want objects to stay in the CloudFront cache.
	//
	// The headers, cookies, and query strings that are included in the cache key
	// are also included in requests that CloudFront sends to the origin. CloudFront
	// sends a request when it can't find a valid object in its cache that matches
	// the request's cache key. If you want to send values to the origin but not
	// include them in the cache key, use OriginRequestPolicy.
	CachePolicy *CachePolicy_SDK `json:"cachePolicy,omitempty"`
	Type        *string          `json:"type_,omitempty"`
}

Contains a cache policy.

func (*CachePolicySummary) DeepCopy

func (in *CachePolicySummary) DeepCopy() *CachePolicySummary

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

func (*CachePolicySummary) DeepCopyInto

func (in *CachePolicySummary) DeepCopyInto(out *CachePolicySummary)

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

type CachePolicyType

type CachePolicyType string
const (
	CachePolicyType_managed CachePolicyType = "managed"
	CachePolicyType_custom  CachePolicyType = "custom"
)

type CachePolicy_SDK

type CachePolicy_SDK struct {
	// A cache policy configuration.
	//
	// This configuration determines the following:
	//
	//    * The values that CloudFront includes in the cache key. These values can
	//    include HTTP headers, cookies, and URL query strings. CloudFront uses
	//    the cache key to find an object in its cache that it can return to the
	//    viewer.
	//
	//    * The default, minimum, and maximum time to live (TTL) values that you
	//    want objects to stay in the CloudFront cache.
	//
	// The headers, cookies, and query strings that are included in the cache key
	// are also included in requests that CloudFront sends to the origin. CloudFront
	// sends a request when it can't find a valid object in its cache that matches
	// the request's cache key. If you want to send values to the origin but not
	// include them in the cache key, use OriginRequestPolicy.
	CachePolicyConfig *CachePolicyConfig `json:"cachePolicyConfig,omitempty"`
	ID                *string            `json:"id,omitempty"`
	LastModifiedTime  *metav1.Time       `json:"lastModifiedTime,omitempty"`
}

A cache policy.

When it's attached to a cache behavior, the cache policy determines the following:

  • The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.

  • The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

func (*CachePolicy_SDK) DeepCopy

func (in *CachePolicy_SDK) DeepCopy() *CachePolicy_SDK

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

func (*CachePolicy_SDK) DeepCopyInto

func (in *CachePolicy_SDK) DeepCopyInto(out *CachePolicy_SDK)

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

type CachedMethods

type CachedMethods struct {
	Items []*string `json:"items,omitempty"`
}

A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices:

  • CloudFront caches responses to GET and HEAD requests.

  • CloudFront caches responses to GET, HEAD, and OPTIONS requests.

If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly.

func (*CachedMethods) DeepCopy

func (in *CachedMethods) DeepCopy() *CachedMethods

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

func (*CachedMethods) DeepCopyInto

func (in *CachedMethods) DeepCopyInto(out *CachedMethods)

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

type CertificateSource

type CertificateSource string
const (
	CertificateSource_cloudfront CertificateSource = "cloudfront"
	CertificateSource_iam        CertificateSource = "iam"
	CertificateSource_acm        CertificateSource = "acm"
)

type ConflictingAlias

type ConflictingAlias struct {
	AccountID      *string `json:"accountID,omitempty"`
	Alias          *string `json:"alias,omitempty"`
	DistributionID *string `json:"distributionID,omitempty"`
}

An alias (also called a CNAME) and the CloudFront distribution and Amazon Web Services account ID that it's associated with. The distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don't own.

func (*ConflictingAlias) DeepCopy

func (in *ConflictingAlias) DeepCopy() *ConflictingAlias

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

func (*ConflictingAlias) DeepCopyInto

func (in *ConflictingAlias) DeepCopyInto(out *ConflictingAlias)

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

type ConflictingAliasesList

type ConflictingAliasesList struct {
	MaxItems   *int64  `json:"maxItems,omitempty"`
	NextMarker *string `json:"nextMarker,omitempty"`
	Quantity   *int64  `json:"quantity,omitempty"`
}

A list of aliases (also called CNAMEs) and the CloudFront distributions and Amazon Web Services accounts that they are associated with. In the list, the distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don't own.

func (*ConflictingAliasesList) DeepCopy

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

func (*ConflictingAliasesList) DeepCopyInto

func (in *ConflictingAliasesList) DeepCopyInto(out *ConflictingAliasesList)

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

type ContentTypeProfile

type ContentTypeProfile struct {
	ContentType *string `json:"contentType,omitempty"`
	ProfileID   *string `json:"profileID,omitempty"`
}

A field-level encryption content type profile.

func (*ContentTypeProfile) DeepCopy

func (in *ContentTypeProfile) DeepCopy() *ContentTypeProfile

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

func (*ContentTypeProfile) DeepCopyInto

func (in *ContentTypeProfile) DeepCopyInto(out *ContentTypeProfile)

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

type ContentTypeProfileConfig

type ContentTypeProfileConfig struct {
	ForwardWhenContentTypeIsUnknown *bool `json:"forwardWhenContentTypeIsUnknown,omitempty"`
}

The configuration for a field-level encryption content type-profile mapping.

func (*ContentTypeProfileConfig) DeepCopy

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

func (*ContentTypeProfileConfig) DeepCopyInto

func (in *ContentTypeProfileConfig) DeepCopyInto(out *ContentTypeProfileConfig)

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

type ContentTypeProfiles

type ContentTypeProfiles struct {
	Quantity *int64 `json:"quantity,omitempty"`
}

Field-level encryption content type-profile.

func (*ContentTypeProfiles) DeepCopy

func (in *ContentTypeProfiles) DeepCopy() *ContentTypeProfiles

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

func (*ContentTypeProfiles) DeepCopyInto

func (in *ContentTypeProfiles) DeepCopyInto(out *ContentTypeProfiles)

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

type ContinuousDeploymentPolicy

type ContinuousDeploymentPolicy struct {
	ID               *string      `json:"id,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
}

A continuous deployment policy.

func (*ContinuousDeploymentPolicy) DeepCopy

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

func (*ContinuousDeploymentPolicy) DeepCopyInto

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

type ContinuousDeploymentPolicyConfig

type ContinuousDeploymentPolicyConfig struct {
	Enabled *bool `json:"enabled,omitempty"`
}

Contains the configuration for a continuous deployment policy.

func (*ContinuousDeploymentPolicyConfig) DeepCopy

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

func (*ContinuousDeploymentPolicyConfig) DeepCopyInto

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

type ContinuousDeploymentPolicyList

type ContinuousDeploymentPolicyList struct {
	MaxItems   *int64  `json:"maxItems,omitempty"`
	NextMarker *string `json:"nextMarker,omitempty"`
	Quantity   *int64  `json:"quantity,omitempty"`
}

Contains a list of continuous deployment policies.

func (*ContinuousDeploymentPolicyList) DeepCopy

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

func (*ContinuousDeploymentPolicyList) DeepCopyInto

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

type ContinuousDeploymentPolicyType

type ContinuousDeploymentPolicyType string
const (
	ContinuousDeploymentPolicyType_SingleWeight ContinuousDeploymentPolicyType = "SingleWeight"
	ContinuousDeploymentPolicyType_SingleHeader ContinuousDeploymentPolicyType = "SingleHeader"
)

type ContinuousDeploymentSingleHeaderConfig

type ContinuousDeploymentSingleHeaderConfig struct {
	Header *string `json:"header,omitempty"`
	Value  *string `json:"value,omitempty"`
}

This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.

func (*ContinuousDeploymentSingleHeaderConfig) DeepCopy

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

func (*ContinuousDeploymentSingleHeaderConfig) DeepCopyInto

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

type CookieNames

type CookieNames struct {
	Items []*string `json:"items,omitempty"`
}

Contains a list of cookie names.

func (*CookieNames) DeepCopy

func (in *CookieNames) DeepCopy() *CookieNames

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

func (*CookieNames) DeepCopyInto

func (in *CookieNames) DeepCopyInto(out *CookieNames)

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

type CookiePreference

type CookiePreference struct {
	Forward *string `json:"forward,omitempty"`
	// Contains a list of cookie names.
	WhitelistedNames *CookieNames `json:"whitelistedNames,omitempty"`
}

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include cookies in the cache key, use CookiesConfig in a cache policy. See CachePolicy.

If you want to send cookies to the origin but not include them in the cache key, use CookiesConfig in an origin request policy. See OriginRequestPolicy.

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see Caching Content Based on Cookies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) in the Amazon CloudFront Developer Guide.

func (*CookiePreference) DeepCopy

func (in *CookiePreference) DeepCopy() *CookiePreference

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

func (*CookiePreference) DeepCopyInto

func (in *CookiePreference) DeepCopyInto(out *CookiePreference)

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

type CustomErrorResponse

type CustomErrorResponse struct {
	ErrorCachingMinTTL *int64  `json:"errorCachingMinTTL,omitempty"`
	ErrorCode          *int64  `json:"errorCode,omitempty"`
	ResponseCode       *string `json:"responseCode,omitempty"`
	ResponsePagePath   *string `json:"responsePagePath,omitempty"`
}

A complex type that controls:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.

  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) in the Amazon CloudFront Developer Guide.

func (*CustomErrorResponse) DeepCopy

func (in *CustomErrorResponse) DeepCopy() *CustomErrorResponse

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

func (*CustomErrorResponse) DeepCopyInto

func (in *CustomErrorResponse) DeepCopyInto(out *CustomErrorResponse)

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

type CustomErrorResponses

type CustomErrorResponses struct {
	Items []*CustomErrorResponse `json:"items,omitempty"`
}

A complex type that controls:

  • Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.

  • How long CloudFront caches HTTP status codes in the 4xx and 5xx range.

For more information about custom error pages, see Customizing Error Responses (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) in the Amazon CloudFront Developer Guide.

func (*CustomErrorResponses) DeepCopy

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

func (*CustomErrorResponses) DeepCopyInto

func (in *CustomErrorResponses) DeepCopyInto(out *CustomErrorResponses)

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

type CustomHeaders

type CustomHeaders struct {
	Items []*OriginCustomHeader `json:"items,omitempty"`
}

A complex type that contains the list of Custom Headers for each origin.

func (*CustomHeaders) DeepCopy

func (in *CustomHeaders) DeepCopy() *CustomHeaders

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

func (*CustomHeaders) DeepCopyInto

func (in *CustomHeaders) DeepCopyInto(out *CustomHeaders)

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

type CustomOriginConfig

type CustomOriginConfig struct {
	HTTPPort               *int64  `json:"httpPort,omitempty"`
	HTTPSPort              *int64  `json:"httpSPort,omitempty"`
	OriginKeepaliveTimeout *int64  `json:"originKeepaliveTimeout,omitempty"`
	OriginProtocolPolicy   *string `json:"originProtocolPolicy,omitempty"`
	OriginReadTimeout      *int64  `json:"originReadTimeout,omitempty"`
	// A complex type that contains information about the SSL/TLS protocols that
	// CloudFront can use when establishing an HTTPS connection with your origin.
	OriginSSLProtocols *OriginSSLProtocols `json:"originSSLProtocols,omitempty"`
}

A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hosting (https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html) is a custom origin.

func (*CustomOriginConfig) DeepCopy

func (in *CustomOriginConfig) DeepCopy() *CustomOriginConfig

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

func (*CustomOriginConfig) DeepCopyInto

func (in *CustomOriginConfig) DeepCopyInto(out *CustomOriginConfig)

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

type DefaultCacheBehavior

type DefaultCacheBehavior struct {
	// A complex type that controls which HTTP methods CloudFront processes and
	// forwards to your Amazon S3 bucket or your custom origin. There are three
	// choices:
	//
	//    * CloudFront forwards only GET and HEAD requests.
	//
	//    * CloudFront forwards only GET, HEAD, and OPTIONS requests.
	//
	//    * CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE
	//    requests.
	//
	// If you pick the third choice, you may need to restrict access to your Amazon
	// S3 bucket or to your custom origin so users can't perform operations that
	// you don't want them to. For example, you might not want users to have permissions
	// to delete objects from your origin.
	AllowedMethods         *AllowedMethods `json:"allowedMethods,omitempty"`
	CachePolicyID          *string         `json:"cachePolicyID,omitempty"`
	Compress               *bool           `json:"compress,omitempty"`
	DefaultTTL             *int64          `json:"defaultTTL,omitempty"`
	FieldLevelEncryptionID *string         `json:"fieldLevelEncryptionID,omitempty"`
	// This field is deprecated. We recommend that you use a cache policy or an
	// origin request policy instead of this field.
	//
	// If you want to include values in the cache key, use a cache policy. For more
	// information, see Creating cache policies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy)
	// in the Amazon CloudFront Developer Guide.
	//
	// If you want to send values to the origin but not include them in the cache
	// key, use an origin request policy. For more information, see Creating origin
	// request policies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy)
	// in the Amazon CloudFront Developer Guide.
	//
	// A complex type that specifies how CloudFront handles query strings, cookies,
	// and HTTP headers.
	ForwardedValues *ForwardedValues `json:"forwardedValues,omitempty"`
	// A list of CloudFront functions that are associated with a cache behavior
	// in a CloudFront distribution. CloudFront functions must be published to the
	// LIVE stage to associate them with a cache behavior.
	FunctionAssociations *FunctionAssociations `json:"functionAssociations,omitempty"`
	// A complex type that specifies a list of Lambda@Edge functions associations
	// for a cache behavior.
	//
	// If you want to invoke one or more Lambda@Edge functions triggered by requests
	// that match the PathPattern of the cache behavior, specify the applicable
	// values for Quantity and Items. Note that there can be up to 4 LambdaFunctionAssociation
	// items in this list (one for each possible value of EventType) and each EventType
	// can be associated with only one function.
	//
	// If you don't want to invoke any Lambda@Edge functions for the requests that
	// match PathPattern, specify 0 for Quantity and omit Items.
	LambdaFunctionAssociations *LambdaFunctionAssociations `json:"lambdaFunctionAssociations,omitempty"`
	MaxTTL                     *int64                      `json:"maxTTL,omitempty"`
	MinTTL                     *int64                      `json:"minTTL,omitempty"`
	OriginRequestPolicyID      *string                     `json:"originRequestPolicyID,omitempty"`
	RealtimeLogConfigARN       *string                     `json:"realtimeLogConfigARN,omitempty"`
	ResponseHeadersPolicyID    *string                     `json:"responseHeadersPolicyID,omitempty"`
	SmoothStreaming            *bool                       `json:"smoothStreaming,omitempty"`
	TargetOriginID             *string                     `json:"targetOriginID,omitempty"`
	// A list of key groups whose public keys CloudFront can use to verify the signatures
	// of signed URLs and signed cookies.
	TrustedKeyGroups *TrustedKeyGroups `json:"trustedKeyGroups,omitempty"`
	// A list of Amazon Web Services accounts whose public keys CloudFront can use
	// to verify the signatures of signed URLs and signed cookies.
	TrustedSigners       *TrustedSigners `json:"trustedSigners,omitempty"`
	ViewerProtocolPolicy *string         `json:"viewerProtocolPolicy,omitempty"`
}

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if request URLs don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

func (*DefaultCacheBehavior) DeepCopy

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

func (*DefaultCacheBehavior) DeepCopyInto

func (in *DefaultCacheBehavior) DeepCopyInto(out *DefaultCacheBehavior)

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

type Distribution

type Distribution struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DistributionSpec   `json:"spec,omitempty"`
	Status            DistributionStatus `json:"status,omitempty"`
}

Distribution is the Schema for the Distributions API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*Distribution) DeepCopy

func (in *Distribution) DeepCopy() *Distribution

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

func (*Distribution) DeepCopyInto

func (in *Distribution) DeepCopyInto(out *Distribution)

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

func (*Distribution) DeepCopyObject

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

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

type DistributionConfig

type DistributionConfig struct {
	// A complex type that contains information about CNAMEs (alternate domain names),
	// if any, for this distribution.
	Aliases *Aliases `json:"aliases,omitempty"`
	// A complex type that contains zero or more CacheBehavior elements.
	CacheBehaviors               *CacheBehaviors `json:"cacheBehaviors,omitempty"`
	Comment                      *string         `json:"comment,omitempty"`
	ContinuousDeploymentPolicyID *string         `json:"continuousDeploymentPolicyID,omitempty"`
	// A complex type that controls:
	//
	//    * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range
	//    with custom error messages before returning the response to the viewer.
	//
	//    * How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
	//
	// For more information about custom error pages, see Customizing Error Responses
	// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html)
	// in the Amazon CloudFront Developer Guide.
	CustomErrorResponses *CustomErrorResponses `json:"customErrorResponses,omitempty"`
	// A complex type that describes the default cache behavior if you don't specify
	// a CacheBehavior element or if request URLs don't match any of the values
	// of PathPattern in CacheBehavior elements. You must create exactly one default
	// cache behavior.
	DefaultCacheBehavior *DefaultCacheBehavior `json:"defaultCacheBehavior,omitempty"`
	DefaultRootObject    *string               `json:"defaultRootObject,omitempty"`
	Enabled              *bool                 `json:"enabled,omitempty"`
	HTTPVersion          *string               `json:"httpVersion,omitempty"`
	IsIPV6Enabled        *bool                 `json:"isIPV6Enabled,omitempty"`
	// A complex type that controls whether access logs are written for the distribution.
	Logging *LoggingConfig `json:"logging,omitempty"`
	// A complex data type for the origin groups specified for a distribution.
	OriginGroups *OriginGroups `json:"originGroups,omitempty"`
	// Contains information about the origins for this distribution.
	Origins    *Origins `json:"origins,omitempty"`
	PriceClass *string  `json:"priceClass,omitempty"`
	// A complex type that identifies ways in which you want to restrict distribution
	// of your content.
	Restrictions *Restrictions `json:"restrictions,omitempty"`
	Staging      *bool         `json:"staging,omitempty"`
	// A complex type that determines the distribution's SSL/TLS configuration for
	// communicating with viewers.
	//
	// If the distribution doesn't use Aliases (also known as alternate domain names
	// or CNAMEs)—that is, if the distribution uses the CloudFront domain name
	// such as d111111abcdef8.cloudfront.net—set CloudFrontDefaultCertificate
	// to true and leave all other fields empty.
	//
	// If the distribution uses Aliases (alternate domain names or CNAMEs), use
	// the fields in this type to specify the following settings:
	//
	//    * Which viewers the distribution accepts HTTPS connections from: only
	//    viewers that support server name indication (SNI) (https://en.wikipedia.org/wiki/Server_Name_Indication)
	//    (recommended), or all viewers including those that don't support SNI.
	//    To accept HTTPS connections from only viewers that support SNI, set SSLSupportMethod
	//    to sni-only. This is recommended. Most browsers and clients support SNI.
	//    To accept HTTPS connections from all viewers, including those that don't
	//    support SNI, set SSLSupportMethod to vip. This is not recommended, and
	//    results in additional monthly charges from CloudFront.
	//
	//    * The minimum SSL/TLS protocol version that the distribution can use to
	//    communicate with viewers. To specify a minimum version, choose a value
	//    for MinimumProtocolVersion. For more information, see Security Policy
	//    (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy)
	//    in the Amazon CloudFront Developer Guide.
	//
	//    * The location of the SSL/TLS certificate, Certificate Manager (ACM) (https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html)
	//    (recommended) or Identity and Access Management (IAM) (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html).
	//    You specify the location by setting a value in one of the following fields
	//    (not both): ACMCertificateArn IAMCertificateId
	//
	// All distributions support HTTPS connections from viewers. To require viewers
	// to use HTTPS only, or to redirect them from HTTP to HTTPS, use ViewerProtocolPolicy
	// in the CacheBehavior or DefaultCacheBehavior. To specify how CloudFront should
	// use SSL/TLS to communicate with your custom origin, use CustomOriginConfig.
	//
	// For more information, see Using HTTPS with CloudFront (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https.html)
	// and Using Alternate Domain Names and HTTPS (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html)
	// in the Amazon CloudFront Developer Guide.
	ViewerCertificate *ViewerCertificate `json:"viewerCertificate,omitempty"`
	WebACLID          *string            `json:"webACLID,omitempty"`
}

A distribution configuration.

func (*DistributionConfig) DeepCopy

func (in *DistributionConfig) DeepCopy() *DistributionConfig

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

func (*DistributionConfig) DeepCopyInto

func (in *DistributionConfig) DeepCopyInto(out *DistributionConfig)

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

type DistributionConfigWithTags

type DistributionConfigWithTags struct {
	// A distribution configuration.
	DistributionConfig *DistributionConfig `json:"distributionConfig,omitempty"`
}

A distribution Configuration and a list of tags to be associated with the distribution.

func (*DistributionConfigWithTags) DeepCopy

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

func (*DistributionConfigWithTags) DeepCopyInto

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

type DistributionIDList

type DistributionIDList struct {
	IsTruncated *bool   `json:"isTruncated,omitempty"`
	Marker      *string `json:"marker,omitempty"`
	MaxItems    *int64  `json:"maxItems,omitempty"`
	NextMarker  *string `json:"nextMarker,omitempty"`
	Quantity    *int64  `json:"quantity,omitempty"`
}

A list of distribution IDs.

func (*DistributionIDList) DeepCopy

func (in *DistributionIDList) DeepCopy() *DistributionIDList

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

func (*DistributionIDList) DeepCopyInto

func (in *DistributionIDList) DeepCopyInto(out *DistributionIDList)

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

type DistributionList

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

DistributionList contains a list of Distribution +kubebuilder:object:root=true

func (*DistributionList) DeepCopy

func (in *DistributionList) DeepCopy() *DistributionList

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

func (*DistributionList) DeepCopyInto

func (in *DistributionList) DeepCopyInto(out *DistributionList)

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

func (*DistributionList) DeepCopyObject

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

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

type DistributionList_SDK

type DistributionList_SDK struct {
	IsTruncated *bool                  `json:"isTruncated,omitempty"`
	Items       []*DistributionSummary `json:"items,omitempty"`
	Marker      *string                `json:"marker,omitempty"`
	MaxItems    *int64                 `json:"maxItems,omitempty"`
	NextMarker  *string                `json:"nextMarker,omitempty"`
	Quantity    *int64                 `json:"quantity,omitempty"`
}

A distribution list.

func (*DistributionList_SDK) DeepCopy

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

func (*DistributionList_SDK) DeepCopyInto

func (in *DistributionList_SDK) DeepCopyInto(out *DistributionList_SDK)

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

type DistributionSpec

type DistributionSpec struct {

	// The distribution's configuration information.
	// +kubebuilder:validation:Required
	DistributionConfig *DistributionConfig `json:"distributionConfig"`
}

DistributionSpec defines the desired state of Distribution.

A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.

func (*DistributionSpec) DeepCopy

func (in *DistributionSpec) DeepCopy() *DistributionSpec

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

func (*DistributionSpec) DeepCopyInto

func (in *DistributionSpec) DeepCopyInto(out *DistributionSpec)

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

type DistributionStatus

type DistributionStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// This field contains a list of key groups and the public keys in each key
	// group that CloudFront can use to verify the signatures of signed URLs or
	// signed cookies.
	// +kubebuilder:validation:Optional
	ActiveTrustedKeyGroups *ActiveTrustedKeyGroups `json:"activeTrustedKeyGroups,omitempty"`
	//
	// We recommend using TrustedKeyGroups instead of TrustedSigners.
	//
	// This field contains a list of Amazon Web Services account IDs and the active
	// CloudFront key pairs in each account that CloudFront can use to verify the
	// signatures of signed URLs or signed cookies.
	// +kubebuilder:validation:Optional
	ActiveTrustedSigners *ActiveTrustedSigners `json:"activeTrustedSigners,omitempty"`
	// Amazon Web Services services in China customers must file for an Internet
	// Content Provider (ICP) recordal if they want to serve content publicly on
	// an alternate domain name, also known as a CNAME, that they've added to CloudFront.
	// AliasICPRecordal provides the ICP recordal status for CNAMEs associated with
	// distributions.
	//
	// For more information about ICP recordals, see Signup, Accounts, and Credentials
	// (https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html)
	// in Getting Started with Amazon Web Services services in China.
	// +kubebuilder:validation:Optional
	AliasICPRecordals []*AliasICPRecordal `json:"aliasICPRecordals,omitempty"`
	// +kubebuilder:validation:Optional
	CallerReference *string `json:"callerReference,omitempty"`
	// The distribution's CloudFront domain name. For example: d111111abcdef8.cloudfront.net.
	// +kubebuilder:validation:Optional
	DomainName *string `json:"domainName,omitempty"`
	// The current version of the distribution created.
	// +kubebuilder:validation:Optional
	ETag *string `json:"eTag,omitempty"`
	// The distribution's identifier. For example: E1U5RQF7T870K0.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty"`
	// The number of invalidation batches currently in progress.
	// +kubebuilder:validation:Optional
	InProgressInvalidationBatches *int64 `json:"inProgressInvalidationBatches,omitempty"`
	// The date and time when the distribution was last modified.
	// +kubebuilder:validation:Optional
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
	// The distribution's status. When the status is Deployed, the distribution's
	// information is fully propagated to all CloudFront edge locations.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty"`
}

DistributionStatus defines the observed state of Distribution

func (*DistributionStatus) DeepCopy

func (in *DistributionStatus) DeepCopy() *DistributionStatus

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

func (*DistributionStatus) DeepCopyInto

func (in *DistributionStatus) DeepCopyInto(out *DistributionStatus)

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

type DistributionSummary

type DistributionSummary struct {
	ARN               *string             `json:"arn,omitempty"`
	AliasICPRecordals []*AliasICPRecordal `json:"aliasICPRecordals,omitempty"`
	// A complex type that contains information about CNAMEs (alternate domain names),
	// if any, for this distribution.
	Aliases *Aliases `json:"aliases,omitempty"`
	// A complex type that contains zero or more CacheBehavior elements.
	CacheBehaviors *CacheBehaviors `json:"cacheBehaviors,omitempty"`
	Comment        *string         `json:"comment,omitempty"`
	// A complex type that controls:
	//
	//    * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range
	//    with custom error messages before returning the response to the viewer.
	//
	//    * How long CloudFront caches HTTP status codes in the 4xx and 5xx range.
	//
	// For more information about custom error pages, see Customizing Error Responses
	// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html)
	// in the Amazon CloudFront Developer Guide.
	CustomErrorResponses *CustomErrorResponses `json:"customErrorResponses,omitempty"`
	// A complex type that describes the default cache behavior if you don't specify
	// a CacheBehavior element or if request URLs don't match any of the values
	// of PathPattern in CacheBehavior elements. You must create exactly one default
	// cache behavior.
	DefaultCacheBehavior *DefaultCacheBehavior `json:"defaultCacheBehavior,omitempty"`
	DomainName           *string               `json:"domainName,omitempty"`
	Enabled              *bool                 `json:"enabled,omitempty"`
	HTTPVersion          *string               `json:"httpVersion,omitempty"`
	ID                   *string               `json:"id,omitempty"`
	IsIPV6Enabled        *bool                 `json:"isIPV6Enabled,omitempty"`
	LastModifiedTime     *metav1.Time          `json:"lastModifiedTime,omitempty"`
	// A complex data type for the origin groups specified for a distribution.
	OriginGroups *OriginGroups `json:"originGroups,omitempty"`
	// Contains information about the origins for this distribution.
	Origins    *Origins `json:"origins,omitempty"`
	PriceClass *string  `json:"priceClass,omitempty"`
	// A complex type that identifies ways in which you want to restrict distribution
	// of your content.
	Restrictions *Restrictions `json:"restrictions,omitempty"`
	Staging      *bool         `json:"staging,omitempty"`
	Status       *string       `json:"status,omitempty"`
	// A complex type that determines the distribution's SSL/TLS configuration for
	// communicating with viewers.
	//
	// If the distribution doesn't use Aliases (also known as alternate domain names
	// or CNAMEs)—that is, if the distribution uses the CloudFront domain name
	// such as d111111abcdef8.cloudfront.net—set CloudFrontDefaultCertificate
	// to true and leave all other fields empty.
	//
	// If the distribution uses Aliases (alternate domain names or CNAMEs), use
	// the fields in this type to specify the following settings:
	//
	//    * Which viewers the distribution accepts HTTPS connections from: only
	//    viewers that support server name indication (SNI) (https://en.wikipedia.org/wiki/Server_Name_Indication)
	//    (recommended), or all viewers including those that don't support SNI.
	//    To accept HTTPS connections from only viewers that support SNI, set SSLSupportMethod
	//    to sni-only. This is recommended. Most browsers and clients support SNI.
	//    To accept HTTPS connections from all viewers, including those that don't
	//    support SNI, set SSLSupportMethod to vip. This is not recommended, and
	//    results in additional monthly charges from CloudFront.
	//
	//    * The minimum SSL/TLS protocol version that the distribution can use to
	//    communicate with viewers. To specify a minimum version, choose a value
	//    for MinimumProtocolVersion. For more information, see Security Policy
	//    (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy)
	//    in the Amazon CloudFront Developer Guide.
	//
	//    * The location of the SSL/TLS certificate, Certificate Manager (ACM) (https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html)
	//    (recommended) or Identity and Access Management (IAM) (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html).
	//    You specify the location by setting a value in one of the following fields
	//    (not both): ACMCertificateArn IAMCertificateId
	//
	// All distributions support HTTPS connections from viewers. To require viewers
	// to use HTTPS only, or to redirect them from HTTP to HTTPS, use ViewerProtocolPolicy
	// in the CacheBehavior or DefaultCacheBehavior. To specify how CloudFront should
	// use SSL/TLS to communicate with your custom origin, use CustomOriginConfig.
	//
	// For more information, see Using HTTPS with CloudFront (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https.html)
	// and Using Alternate Domain Names and HTTPS (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html)
	// in the Amazon CloudFront Developer Guide.
	ViewerCertificate *ViewerCertificate `json:"viewerCertificate,omitempty"`
	WebACLID          *string            `json:"webACLID,omitempty"`
}

A summary of the information about a CloudFront distribution.

func (*DistributionSummary) DeepCopy

func (in *DistributionSummary) DeepCopy() *DistributionSummary

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

func (*DistributionSummary) DeepCopyInto

func (in *DistributionSummary) DeepCopyInto(out *DistributionSummary)

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

type Distribution_SDK

type Distribution_SDK struct {
	ARN *string `json:"arn,omitempty"`
	// A list of key groups, and the public keys in each key group, that CloudFront
	// can use to verify the signatures of signed URLs and signed cookies.
	ActiveTrustedKeyGroups *ActiveTrustedKeyGroups `json:"activeTrustedKeyGroups,omitempty"`
	// A list of Amazon Web Services accounts and the active CloudFront key pairs
	// in each account that CloudFront can use to verify the signatures of signed
	// URLs and signed cookies.
	ActiveTrustedSigners *ActiveTrustedSigners `json:"activeTrustedSigners,omitempty"`
	AliasICPRecordals    []*AliasICPRecordal   `json:"aliasICPRecordals,omitempty"`
	// A distribution configuration.
	DistributionConfig            *DistributionConfig `json:"distributionConfig,omitempty"`
	DomainName                    *string             `json:"domainName,omitempty"`
	ID                            *string             `json:"id,omitempty"`
	InProgressInvalidationBatches *int64              `json:"inProgressInvalidationBatches,omitempty"`
	LastModifiedTime              *metav1.Time        `json:"lastModifiedTime,omitempty"`
	Status                        *string             `json:"status,omitempty"`
}

A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.

func (*Distribution_SDK) DeepCopy

func (in *Distribution_SDK) DeepCopy() *Distribution_SDK

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

func (*Distribution_SDK) DeepCopyInto

func (in *Distribution_SDK) DeepCopyInto(out *Distribution_SDK)

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

type EncryptionEntities

type EncryptionEntities struct {
	Quantity *int64 `json:"quantity,omitempty"`
}

Complex data type for field-level encryption profiles that includes all of the encryption entities.

func (*EncryptionEntities) DeepCopy

func (in *EncryptionEntities) DeepCopy() *EncryptionEntities

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

func (*EncryptionEntities) DeepCopyInto

func (in *EncryptionEntities) DeepCopyInto(out *EncryptionEntities)

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

type EncryptionEntity

type EncryptionEntity struct {
	ProviderID  *string `json:"providerID,omitempty"`
	PublicKeyID *string `json:"publicKeyID,omitempty"`
}

Complex data type for field-level encryption profiles that includes the encryption key and field pattern specifications.

func (*EncryptionEntity) DeepCopy

func (in *EncryptionEntity) DeepCopy() *EncryptionEntity

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

func (*EncryptionEntity) DeepCopyInto

func (in *EncryptionEntity) DeepCopyInto(out *EncryptionEntity)

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

type EndPoint

type EndPoint struct {
	StreamType *string `json:"streamType,omitempty"`
}

Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.

func (*EndPoint) DeepCopy

func (in *EndPoint) DeepCopy() *EndPoint

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

func (*EndPoint) DeepCopyInto

func (in *EndPoint) DeepCopyInto(out *EndPoint)

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

type EventType

type EventType string
const (
	EventType_viewer_request  EventType = "viewer-request"
	EventType_viewer_response EventType = "viewer-response"
	EventType_origin_request  EventType = "origin-request"
	EventType_origin_response EventType = "origin-response"
)

type FieldLevelEncryption

type FieldLevelEncryption struct {
	ID               *string      `json:"id,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
}

A complex data type that includes the profile configurations and other options specified for field-level encryption.

func (*FieldLevelEncryption) DeepCopy

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

func (*FieldLevelEncryption) DeepCopyInto

func (in *FieldLevelEncryption) DeepCopyInto(out *FieldLevelEncryption)

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

type FieldLevelEncryptionConfig

type FieldLevelEncryptionConfig struct {
	CallerReference *string `json:"callerReference,omitempty"`
	Comment         *string `json:"comment,omitempty"`
}

A complex data type that includes the profile configurations specified for field-level encryption.

func (*FieldLevelEncryptionConfig) DeepCopy

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

func (*FieldLevelEncryptionConfig) DeepCopyInto

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

type FieldLevelEncryptionList

type FieldLevelEncryptionList struct {
	MaxItems   *int64  `json:"maxItems,omitempty"`
	NextMarker *string `json:"nextMarker,omitempty"`
	Quantity   *int64  `json:"quantity,omitempty"`
}

List of field-level encrpytion configurations.

func (*FieldLevelEncryptionList) DeepCopy

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

func (*FieldLevelEncryptionList) DeepCopyInto

func (in *FieldLevelEncryptionList) DeepCopyInto(out *FieldLevelEncryptionList)

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

type FieldLevelEncryptionProfile

type FieldLevelEncryptionProfile struct {
	ID               *string      `json:"id,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
}

A complex data type for field-level encryption profiles.

func (*FieldLevelEncryptionProfile) DeepCopy

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

func (*FieldLevelEncryptionProfile) DeepCopyInto

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

type FieldLevelEncryptionProfileConfig

type FieldLevelEncryptionProfileConfig struct {
	CallerReference *string `json:"callerReference,omitempty"`
	Comment         *string `json:"comment,omitempty"`
	Name            *string `json:"name,omitempty"`
}

A complex data type of profiles for the field-level encryption.

func (*FieldLevelEncryptionProfileConfig) DeepCopy

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

func (*FieldLevelEncryptionProfileConfig) DeepCopyInto

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

type FieldLevelEncryptionProfileList

type FieldLevelEncryptionProfileList struct {
	MaxItems   *int64  `json:"maxItems,omitempty"`
	NextMarker *string `json:"nextMarker,omitempty"`
	Quantity   *int64  `json:"quantity,omitempty"`
}

List of field-level encryption profiles.

func (*FieldLevelEncryptionProfileList) DeepCopy

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

func (*FieldLevelEncryptionProfileList) DeepCopyInto

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

type FieldLevelEncryptionProfileSummary

type FieldLevelEncryptionProfileSummary struct {
	Comment          *string      `json:"comment,omitempty"`
	ID               *string      `json:"id,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
	Name             *string      `json:"name,omitempty"`
}

The field-level encryption profile summary.

func (*FieldLevelEncryptionProfileSummary) DeepCopy

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

func (*FieldLevelEncryptionProfileSummary) DeepCopyInto

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

type FieldLevelEncryptionSummary

type FieldLevelEncryptionSummary struct {
	Comment          *string      `json:"comment,omitempty"`
	ID               *string      `json:"id,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
}

A summary of a field-level encryption item.

func (*FieldLevelEncryptionSummary) DeepCopy

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

func (*FieldLevelEncryptionSummary) DeepCopyInto

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

type FieldPatterns

type FieldPatterns struct {
	Quantity *int64 `json:"quantity,omitempty"`
}

A complex data type that includes the field patterns to match for field-level encryption.

func (*FieldPatterns) DeepCopy

func (in *FieldPatterns) DeepCopy() *FieldPatterns

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

func (*FieldPatterns) DeepCopyInto

func (in *FieldPatterns) DeepCopyInto(out *FieldPatterns)

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

type Format

type Format string
const (
	Format_URLEncoded Format = "URLEncoded"
)

type ForwardedValues

type ForwardedValues struct {
	// This field is deprecated. We recommend that you use a cache policy or an
	// origin request policy instead of this field.
	//
	// If you want to include cookies in the cache key, use CookiesConfig in a cache
	// policy. See CachePolicy.
	//
	// If you want to send cookies to the origin but not include them in the cache
	// key, use CookiesConfig in an origin request policy. See OriginRequestPolicy.
	//
	// A complex type that specifies whether you want CloudFront to forward cookies
	// to the origin and, if so, which ones. For more information about forwarding
	// cookies to the origin, see Caching Content Based on Cookies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html)
	// in the Amazon CloudFront Developer Guide.
	Cookies *CookiePreference `json:"cookies,omitempty"`
	// Contains a list of HTTP header names.
	Headers     *Headers `json:"headers,omitempty"`
	QueryString *bool    `json:"queryString,omitempty"`
	// This field is deprecated. We recommend that you use a cache policy or an
	// origin request policy instead of this field.
	//
	// If you want to include query strings in the cache key, use QueryStringsConfig
	// in a cache policy. See CachePolicy.
	//
	// If you want to send query strings to the origin but not include them in the
	// cache key, use QueryStringsConfig in an origin request policy. See OriginRequestPolicy.
	//
	// A complex type that contains information about the query string parameters
	// that you want CloudFront to use for caching for a cache behavior.
	QueryStringCacheKeys *QueryStringCacheKeys `json:"queryStringCacheKeys,omitempty"`
}

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) in the Amazon CloudFront Developer Guide.

A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.

func (*ForwardedValues) DeepCopy

func (in *ForwardedValues) DeepCopy() *ForwardedValues

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

func (*ForwardedValues) DeepCopyInto

func (in *ForwardedValues) DeepCopyInto(out *ForwardedValues)

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

type FrameOptionsList

type FrameOptionsList string
const (
	FrameOptionsList_DENY       FrameOptionsList = "DENY"
	FrameOptionsList_SAMEORIGIN FrameOptionsList = "SAMEORIGIN"
)

type Function

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

Function is the Schema for the Functions API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*Function) DeepCopy

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.

type FunctionAssociation

type FunctionAssociation struct {
	EventType   *string `json:"eventType,omitempty"`
	FunctionARN *string `json:"functionARN,omitempty"`
}

A CloudFront function that is associated with a cache behavior in a CloudFront distribution.

func (*FunctionAssociation) DeepCopy

func (in *FunctionAssociation) DeepCopy() *FunctionAssociation

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

func (*FunctionAssociation) DeepCopyInto

func (in *FunctionAssociation) DeepCopyInto(out *FunctionAssociation)

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

type FunctionAssociations

type FunctionAssociations struct {
	Items []*FunctionAssociation `json:"items,omitempty"`
}

A list of CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

func (*FunctionAssociations) DeepCopy

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

func (*FunctionAssociations) DeepCopyInto

func (in *FunctionAssociations) DeepCopyInto(out *FunctionAssociations)

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

type FunctionConfig

type FunctionConfig struct {
	Comment *string `json:"comment,omitempty"`
	Runtime *string `json:"runtime,omitempty"`
}

Contains configuration information about a CloudFront function.

func (*FunctionConfig) DeepCopy

func (in *FunctionConfig) DeepCopy() *FunctionConfig

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

func (*FunctionConfig) DeepCopyInto

func (in *FunctionConfig) DeepCopyInto(out *FunctionConfig)

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

type FunctionList

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

FunctionList contains a list of Function +kubebuilder:object:root=true

func (*FunctionList) DeepCopy

func (in *FunctionList) DeepCopy() *FunctionList

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

func (*FunctionList) DeepCopyInto

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

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

func (*FunctionList) DeepCopyObject

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

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

type FunctionList_SDK

type FunctionList_SDK struct {
	Items      []*FunctionSummary `json:"items,omitempty"`
	MaxItems   *int64             `json:"maxItems,omitempty"`
	NextMarker *string            `json:"nextMarker,omitempty"`
	Quantity   *int64             `json:"quantity,omitempty"`
}

A list of CloudFront functions.

func (*FunctionList_SDK) DeepCopy

func (in *FunctionList_SDK) DeepCopy() *FunctionList_SDK

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

func (*FunctionList_SDK) DeepCopyInto

func (in *FunctionList_SDK) DeepCopyInto(out *FunctionList_SDK)

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

type FunctionMetadata

type FunctionMetadata struct {
	CreatedTime      *metav1.Time `json:"createdTime,omitempty"`
	FunctionARN      *string      `json:"functionARN,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
	Stage            *string      `json:"stage,omitempty"`
}

Contains metadata about a CloudFront function.

func (*FunctionMetadata) DeepCopy

func (in *FunctionMetadata) DeepCopy() *FunctionMetadata

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

func (*FunctionMetadata) DeepCopyInto

func (in *FunctionMetadata) DeepCopyInto(out *FunctionMetadata)

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

type FunctionRuntime

type FunctionRuntime string
const (
	FunctionRuntime_cloudfront_js_1_0 FunctionRuntime = "cloudfront-js-1.0"
)

type FunctionSpec

type FunctionSpec struct {

	// 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.
	// +kubebuilder:validation:Required
	FunctionCode []byte `json:"functionCode"`
	// Configuration information about the function, including an optional comment
	// and the function's runtime.
	// +kubebuilder:validation:Required
	FunctionConfig *FunctionConfig `json:"functionConfig"`
	// A name to identify the function.
	// +kubebuilder:validation:Required
	Name *string `json:"name"`
}

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 FunctionStage

type FunctionStage string
const (
	FunctionStage_DEVELOPMENT FunctionStage = "DEVELOPMENT"
	FunctionStage_LIVE        FunctionStage = "LIVE"
)

type FunctionStatus

type FunctionStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// The version identifier for the current version of the CloudFront function.
	// +kubebuilder:validation:Optional
	ETag *string `json:"eTag,omitempty"`
	// Contains configuration information and metadata about a CloudFront function.
	// +kubebuilder:validation:Optional
	FunctionSummary *FunctionSummary `json:"functionSummary,omitempty"`
	// The URL of the CloudFront function. Use the URL to manage the function with
	// the CloudFront API.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,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 FunctionSummary

type FunctionSummary struct {
	// Contains configuration information about a CloudFront function.
	FunctionConfig *FunctionConfig `json:"functionConfig,omitempty"`
	// Contains metadata about a CloudFront function.
	FunctionMetadata *FunctionMetadata `json:"functionMetadata,omitempty"`
	Name             *string           `json:"name,omitempty"`
	Status           *string           `json:"status,omitempty"`
}

Contains configuration information and metadata about a CloudFront function.

func (*FunctionSummary) DeepCopy

func (in *FunctionSummary) DeepCopy() *FunctionSummary

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

func (*FunctionSummary) DeepCopyInto

func (in *FunctionSummary) DeepCopyInto(out *FunctionSummary)

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

type GeoRestriction

type GeoRestriction struct {
	Items           []*string `json:"items,omitempty"`
	RestrictionType *string   `json:"restrictionType,omitempty"`
}

A complex type that controls the countries in which your content is distributed. CloudFront determines the location of your users using MaxMind GeoIP databases.

func (*GeoRestriction) DeepCopy

func (in *GeoRestriction) DeepCopy() *GeoRestriction

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

func (*GeoRestriction) DeepCopyInto

func (in *GeoRestriction) DeepCopyInto(out *GeoRestriction)

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

type GeoRestrictionType

type GeoRestrictionType string
const (
	GeoRestrictionType_blacklist GeoRestrictionType = "blacklist"
	GeoRestrictionType_whitelist GeoRestrictionType = "whitelist"
	GeoRestrictionType_none      GeoRestrictionType = "none"
)

type HTTPVersion

type HTTPVersion string
const (
	HTTPVersion_http1_1   HTTPVersion = "http1.1"
	HTTPVersion_http2     HTTPVersion = "http2"
	HTTPVersion_http3     HTTPVersion = "http3"
	HTTPVersion_http2and3 HTTPVersion = "http2and3"
)

type Headers

type Headers struct {
	Items []*string `json:"items,omitempty"`
}

Contains a list of HTTP header names.

func (*Headers) DeepCopy

func (in *Headers) DeepCopy() *Headers

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

func (*Headers) DeepCopyInto

func (in *Headers) DeepCopyInto(out *Headers)

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

type ICPRecordalStatus

type ICPRecordalStatus string
const (
	ICPRecordalStatus_APPROVED  ICPRecordalStatus = "APPROVED"
	ICPRecordalStatus_SUSPENDED ICPRecordalStatus = "SUSPENDED"
	ICPRecordalStatus_PENDING   ICPRecordalStatus = "PENDING"
)

type Invalidation

type Invalidation struct {
	CreateTime *metav1.Time `json:"createTime,omitempty"`
	ID         *string      `json:"id,omitempty"`
	Status     *string      `json:"status,omitempty"`
}

An invalidation.

func (*Invalidation) DeepCopy

func (in *Invalidation) DeepCopy() *Invalidation

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

func (*Invalidation) DeepCopyInto

func (in *Invalidation) DeepCopyInto(out *Invalidation)

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

type InvalidationBatch

type InvalidationBatch struct {
	CallerReference *string `json:"callerReference,omitempty"`
}

An invalidation batch.

func (*InvalidationBatch) DeepCopy

func (in *InvalidationBatch) DeepCopy() *InvalidationBatch

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

func (*InvalidationBatch) DeepCopyInto

func (in *InvalidationBatch) DeepCopyInto(out *InvalidationBatch)

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

type InvalidationList

type InvalidationList struct {
	IsTruncated *bool   `json:"isTruncated,omitempty"`
	Marker      *string `json:"marker,omitempty"`
	MaxItems    *int64  `json:"maxItems,omitempty"`
	NextMarker  *string `json:"nextMarker,omitempty"`
	Quantity    *int64  `json:"quantity,omitempty"`
}

The InvalidationList complex type describes the list of invalidation objects. For more information about invalidation, see Invalidating Objects (Web Distributions Only) (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) in the Amazon CloudFront Developer Guide.

func (*InvalidationList) DeepCopy

func (in *InvalidationList) DeepCopy() *InvalidationList

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

func (*InvalidationList) DeepCopyInto

func (in *InvalidationList) DeepCopyInto(out *InvalidationList)

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

type InvalidationSummary

type InvalidationSummary struct {
	CreateTime *metav1.Time `json:"createTime,omitempty"`
	ID         *string      `json:"id,omitempty"`
	Status     *string      `json:"status,omitempty"`
}

A summary of an invalidation request.

func (*InvalidationSummary) DeepCopy

func (in *InvalidationSummary) DeepCopy() *InvalidationSummary

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

func (*InvalidationSummary) DeepCopyInto

func (in *InvalidationSummary) DeepCopyInto(out *InvalidationSummary)

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

type ItemSelection

type ItemSelection string
const (
	ItemSelection_none      ItemSelection = "none"
	ItemSelection_whitelist ItemSelection = "whitelist"
	ItemSelection_all       ItemSelection = "all"
)

type KGKeyPairIDs

type KGKeyPairIDs struct {
	KeyGroupID *string `json:"keyGroupID,omitempty"`
	// A list of CloudFront key pair identifiers.
	KeyPairIDs *KeyPairIDs `json:"keyPairIDs,omitempty"`
}

A list of identifiers for the public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies.

func (*KGKeyPairIDs) DeepCopy

func (in *KGKeyPairIDs) DeepCopy() *KGKeyPairIDs

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

func (*KGKeyPairIDs) DeepCopyInto

func (in *KGKeyPairIDs) DeepCopyInto(out *KGKeyPairIDs)

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

type KeyGroup

type KeyGroup struct {
	ID               *string      `json:"id,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
}

A key group.

A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html).

func (*KeyGroup) DeepCopy

func (in *KeyGroup) DeepCopy() *KeyGroup

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

func (*KeyGroup) DeepCopyInto

func (in *KeyGroup) DeepCopyInto(out *KeyGroup)

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

type KeyGroupConfig

type KeyGroupConfig struct {
	Comment *string `json:"comment,omitempty"`
	Name    *string `json:"name,omitempty"`
}

A key group configuration.

A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html).

func (*KeyGroupConfig) DeepCopy

func (in *KeyGroupConfig) DeepCopy() *KeyGroupConfig

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

func (*KeyGroupConfig) DeepCopyInto

func (in *KeyGroupConfig) DeepCopyInto(out *KeyGroupConfig)

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

type KeyGroupList

type KeyGroupList struct {
	MaxItems   *int64  `json:"maxItems,omitempty"`
	NextMarker *string `json:"nextMarker,omitempty"`
	Quantity   *int64  `json:"quantity,omitempty"`
}

A list of key groups.

func (*KeyGroupList) DeepCopy

func (in *KeyGroupList) DeepCopy() *KeyGroupList

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

func (*KeyGroupList) DeepCopyInto

func (in *KeyGroupList) DeepCopyInto(out *KeyGroupList)

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

type KeyPairIDs

type KeyPairIDs struct {
	Items    []*string `json:"items,omitempty"`
	Quantity *int64    `json:"quantity,omitempty"`
}

A list of CloudFront key pair identifiers.

func (*KeyPairIDs) DeepCopy

func (in *KeyPairIDs) DeepCopy() *KeyPairIDs

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

func (*KeyPairIDs) DeepCopyInto

func (in *KeyPairIDs) DeepCopyInto(out *KeyPairIDs)

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

type KinesisStreamConfig

type KinesisStreamConfig struct {
	RoleARN   *string `json:"roleARN,omitempty"`
	StreamARN *string `json:"streamARN,omitempty"`
}

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

func (*KinesisStreamConfig) DeepCopy

func (in *KinesisStreamConfig) DeepCopy() *KinesisStreamConfig

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

func (*KinesisStreamConfig) DeepCopyInto

func (in *KinesisStreamConfig) DeepCopyInto(out *KinesisStreamConfig)

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

type LambdaFunctionAssociation

type LambdaFunctionAssociation struct {
	EventType         *string `json:"eventType,omitempty"`
	IncludeBody       *bool   `json:"includeBody,omitempty"`
	LambdaFunctionARN *string `json:"lambdaFunctionARN,omitempty"`
}

A complex type that contains a Lambda@Edge function association.

func (*LambdaFunctionAssociation) DeepCopy

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

func (*LambdaFunctionAssociation) DeepCopyInto

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

type LambdaFunctionAssociations

type LambdaFunctionAssociations struct {
	Items []*LambdaFunctionAssociation `json:"items,omitempty"`
}

A complex type that specifies a list of Lambda@Edge functions associations for a cache behavior.

If you want to invoke one or more Lambda@Edge functions triggered by requests that match the PathPattern of the cache behavior, specify the applicable values for Quantity and Items. Note that there can be up to 4 LambdaFunctionAssociation items in this list (one for each possible value of EventType) and each EventType can be associated with only one function.

If you don't want to invoke any Lambda@Edge functions for the requests that match PathPattern, specify 0 for Quantity and omit Items.

func (*LambdaFunctionAssociations) DeepCopy

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

func (*LambdaFunctionAssociations) DeepCopyInto

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

type LoggingConfig

type LoggingConfig struct {
	Bucket         *string `json:"bucket,omitempty"`
	Enabled        *bool   `json:"enabled,omitempty"`
	IncludeCookies *bool   `json:"includeCookies,omitempty"`
	Prefix         *string `json:"prefix,omitempty"`
}

A complex type that controls whether access logs are written for the distribution.

func (*LoggingConfig) DeepCopy

func (in *LoggingConfig) DeepCopy() *LoggingConfig

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

func (*LoggingConfig) DeepCopyInto

func (in *LoggingConfig) DeepCopyInto(out *LoggingConfig)

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

type Method

type Method string
const (
	Method_GET     Method = "GET"
	Method_HEAD    Method = "HEAD"
	Method_POST    Method = "POST"
	Method_PUT     Method = "PUT"
	Method_PATCH   Method = "PATCH"
	Method_OPTIONS Method = "OPTIONS"
	Method_DELETE  Method = "DELETE"
)

type MinimumProtocolVersion

type MinimumProtocolVersion string
const (
	MinimumProtocolVersion_SSLv3        MinimumProtocolVersion = "SSLv3"
	MinimumProtocolVersion_TLSv1        MinimumProtocolVersion = "TLSv1"
	MinimumProtocolVersion_TLSv1_2016   MinimumProtocolVersion = "TLSv1_2016"
	MinimumProtocolVersion_TLSv1_1_2016 MinimumProtocolVersion = "TLSv1.1_2016"
	MinimumProtocolVersion_TLSv1_2_2018 MinimumProtocolVersion = "TLSv1.2_2018"
	MinimumProtocolVersion_TLSv1_2_2019 MinimumProtocolVersion = "TLSv1.2_2019"
	MinimumProtocolVersion_TLSv1_2_2021 MinimumProtocolVersion = "TLSv1.2_2021"
)

type Origin

type Origin struct {
	ConnectionAttempts *int64 `json:"connectionAttempts,omitempty"`
	ConnectionTimeout  *int64 `json:"connectionTimeout,omitempty"`
	// A complex type that contains the list of Custom Headers for each origin.
	CustomHeaders *CustomHeaders `json:"customHeaders,omitempty"`
	// A custom origin. A custom origin is any origin that is not an Amazon S3 bucket,
	// with one exception. An Amazon S3 bucket that is configured with static website
	// hosting (https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)
	// is a custom origin.
	CustomOriginConfig    *CustomOriginConfig `json:"customOriginConfig,omitempty"`
	DomainName            *string             `json:"domainName,omitempty"`
	ID                    *string             `json:"id,omitempty"`
	OriginAccessControlID *string             `json:"originAccessControlID,omitempty"`
	OriginPath            *string             `json:"originPath,omitempty"`
	// CloudFront Origin Shield.
	//
	// Using Origin Shield can help reduce the load on your origin. For more information,
	// see Using Origin Shield (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html)
	// in the Amazon CloudFront Developer Guide.
	OriginShield *OriginShield `json:"originShield,omitempty"`
	// A complex type that contains information about the Amazon S3 origin. If the
	// origin is a custom origin or an S3 bucket that is configured as a website
	// endpoint, use the CustomOriginConfig element instead.
	S3OriginConfig *S3OriginConfig `json:"s3OriginConfig,omitempty"`
}

An origin.

An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:

  • Use S3OriginConfig to specify an Amazon S3 bucket that is not configured with static website hosting.

  • Use CustomOriginConfig to specify all other kinds of origins, including: An Amazon S3 bucket that is configured with static website hosting An Elastic Load Balancing load balancer An AWS Elemental MediaPackage endpoint An AWS Elemental MediaStore container Any other HTTP server, running on an Amazon EC2 instance or any other kind of host

For the current maximum number of origins that you can specify per distribution, see General Quotas on Web Distributions (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-web-distributions) in the Amazon CloudFront Developer Guide (quotas were formerly referred to as limits).

func (*Origin) DeepCopy

func (in *Origin) DeepCopy() *Origin

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

func (*Origin) DeepCopyInto

func (in *Origin) DeepCopyInto(out *Origin)

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

type OriginAccessControl

type OriginAccessControl struct {
	ID *string `json:"id,omitempty"`
}

A CloudFront origin access control, including its unique identifier.

func (*OriginAccessControl) DeepCopy

func (in *OriginAccessControl) DeepCopy() *OriginAccessControl

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

func (*OriginAccessControl) DeepCopyInto

func (in *OriginAccessControl) DeepCopyInto(out *OriginAccessControl)

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

type OriginAccessControlConfig

type OriginAccessControlConfig struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

A CloudFront origin access control configuration.

func (*OriginAccessControlConfig) DeepCopy

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

func (*OriginAccessControlConfig) DeepCopyInto

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

type OriginAccessControlList

type OriginAccessControlList struct {
	IsTruncated *bool   `json:"isTruncated,omitempty"`
	Marker      *string `json:"marker,omitempty"`
	MaxItems    *int64  `json:"maxItems,omitempty"`
	NextMarker  *string `json:"nextMarker,omitempty"`
	Quantity    *int64  `json:"quantity,omitempty"`
}

A list of CloudFront origin access controls.

func (*OriginAccessControlList) DeepCopy

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

func (*OriginAccessControlList) DeepCopyInto

func (in *OriginAccessControlList) DeepCopyInto(out *OriginAccessControlList)

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

type OriginAccessControlOriginTypes

type OriginAccessControlOriginTypes string
const (
	OriginAccessControlOriginTypes_s3         OriginAccessControlOriginTypes = "s3"
	OriginAccessControlOriginTypes_mediastore OriginAccessControlOriginTypes = "mediastore"
)

type OriginAccessControlSigningBehaviors

type OriginAccessControlSigningBehaviors string
const (
	OriginAccessControlSigningBehaviors_never       OriginAccessControlSigningBehaviors = "never"
	OriginAccessControlSigningBehaviors_always      OriginAccessControlSigningBehaviors = "always"
	OriginAccessControlSigningBehaviors_no_override OriginAccessControlSigningBehaviors = "no-override"
)

type OriginAccessControlSigningProtocols

type OriginAccessControlSigningProtocols string
const (
	OriginAccessControlSigningProtocols_sigv4 OriginAccessControlSigningProtocols = "sigv4"
)

type OriginAccessControlSummary

type OriginAccessControlSummary struct {
	Description *string `json:"description,omitempty"`
	ID          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
}

A CloudFront origin access control.

func (*OriginAccessControlSummary) DeepCopy

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

func (*OriginAccessControlSummary) DeepCopyInto

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

type OriginAccessIdentity

type OriginAccessIdentity struct {
	ID                *string `json:"id,omitempty"`
	S3CanonicalUserID *string `json:"s3CanonicalUserID,omitempty"`
}

CloudFront origin access identity.

func (*OriginAccessIdentity) DeepCopy

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

func (*OriginAccessIdentity) DeepCopyInto

func (in *OriginAccessIdentity) DeepCopyInto(out *OriginAccessIdentity)

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

type OriginAccessIdentityConfig

type OriginAccessIdentityConfig struct {
	CallerReference *string `json:"callerReference,omitempty"`
	Comment         *string `json:"comment,omitempty"`
}

Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource.

func (*OriginAccessIdentityConfig) DeepCopy

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

func (*OriginAccessIdentityConfig) DeepCopyInto

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

type OriginAccessIdentityList

type OriginAccessIdentityList struct {
	IsTruncated *bool   `json:"isTruncated,omitempty"`
	Marker      *string `json:"marker,omitempty"`
	MaxItems    *int64  `json:"maxItems,omitempty"`
	NextMarker  *string `json:"nextMarker,omitempty"`
	Quantity    *int64  `json:"quantity,omitempty"`
}

Lists the origin access identities for CloudFront.Send a GET request to the /CloudFront API version/origin-access-identity/cloudfront resource. The response includes a CloudFrontOriginAccessIdentityList element with zero or more CloudFrontOriginAccessIdentitySummary child elements. By default, your entire list of origin access identities is returned in one single page. If the list is long, you can paginate it using the MaxItems and Marker parameters.

func (*OriginAccessIdentityList) DeepCopy

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

func (*OriginAccessIdentityList) DeepCopyInto

func (in *OriginAccessIdentityList) DeepCopyInto(out *OriginAccessIdentityList)

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

type OriginAccessIdentitySummary

type OriginAccessIdentitySummary struct {
	Comment           *string `json:"comment,omitempty"`
	ID                *string `json:"id,omitempty"`
	S3CanonicalUserID *string `json:"s3CanonicalUserID,omitempty"`
}

Summary of the information about a CloudFront origin access identity.

func (*OriginAccessIdentitySummary) DeepCopy

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

func (*OriginAccessIdentitySummary) DeepCopyInto

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

type OriginCustomHeader

type OriginCustomHeader struct {
	HeaderName  *string `json:"headerName,omitempty"`
	HeaderValue *string `json:"headerValue,omitempty"`
}

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

func (*OriginCustomHeader) DeepCopy

func (in *OriginCustomHeader) DeepCopy() *OriginCustomHeader

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

func (*OriginCustomHeader) DeepCopyInto

func (in *OriginCustomHeader) DeepCopyInto(out *OriginCustomHeader)

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

type OriginGroup

type OriginGroup struct {
	// A complex data type that includes information about the failover criteria
	// for an origin group, including the status codes for which CloudFront will
	// failover from the primary origin to the second origin.
	FailoverCriteria *OriginGroupFailoverCriteria `json:"failoverCriteria,omitempty"`
	ID               *string                      `json:"id,omitempty"`
	// A complex data type for the origins included in an origin group.
	Members *OriginGroupMembers `json:"members,omitempty"`
}

An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specifiy the origin group instead of a single origin, and CloudFront will failover from the primary origin to the second origin under the failover conditions that you've chosen.

func (*OriginGroup) DeepCopy

func (in *OriginGroup) DeepCopy() *OriginGroup

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

func (*OriginGroup) DeepCopyInto

func (in *OriginGroup) DeepCopyInto(out *OriginGroup)

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

type OriginGroupFailoverCriteria

type OriginGroupFailoverCriteria struct {
	// A complex data type for the status codes that you specify that, when returned
	// by a primary origin, trigger CloudFront to failover to a second origin.
	StatusCodes *StatusCodes `json:"statusCodes,omitempty"`
}

A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.

func (*OriginGroupFailoverCriteria) DeepCopy

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

func (*OriginGroupFailoverCriteria) DeepCopyInto

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

type OriginGroupMember

type OriginGroupMember struct {
	OriginID *string `json:"originID,omitempty"`
}

An origin in an origin group.

func (*OriginGroupMember) DeepCopy

func (in *OriginGroupMember) DeepCopy() *OriginGroupMember

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

func (*OriginGroupMember) DeepCopyInto

func (in *OriginGroupMember) DeepCopyInto(out *OriginGroupMember)

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

type OriginGroupMembers

type OriginGroupMembers struct {
	// List of origins in an origin group.
	Items []*OriginGroupMember `json:"items,omitempty"`
}

A complex data type for the origins included in an origin group.

func (*OriginGroupMembers) DeepCopy

func (in *OriginGroupMembers) DeepCopy() *OriginGroupMembers

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

func (*OriginGroupMembers) DeepCopyInto

func (in *OriginGroupMembers) DeepCopyInto(out *OriginGroupMembers)

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

type OriginGroups

type OriginGroups struct {
	// List of origin groups for a distribution.
	Items []*OriginGroup `json:"items,omitempty"`
}

A complex data type for the origin groups specified for a distribution.

func (*OriginGroups) DeepCopy

func (in *OriginGroups) DeepCopy() *OriginGroups

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

func (*OriginGroups) DeepCopyInto

func (in *OriginGroups) DeepCopyInto(out *OriginGroups)

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

type OriginProtocolPolicy

type OriginProtocolPolicy string
const (
	OriginProtocolPolicy_http_only    OriginProtocolPolicy = "http-only"
	OriginProtocolPolicy_match_viewer OriginProtocolPolicy = "match-viewer"
	OriginProtocolPolicy_https_only   OriginProtocolPolicy = "https-only"
)

type OriginRequestPolicy

type OriginRequestPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OriginRequestPolicySpec   `json:"spec,omitempty"`
	Status            OriginRequestPolicyStatus `json:"status,omitempty"`
}

OriginRequestPolicy is the Schema for the OriginRequestPolicies API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*OriginRequestPolicy) DeepCopy

func (in *OriginRequestPolicy) DeepCopy() *OriginRequestPolicy

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

func (*OriginRequestPolicy) DeepCopyInto

func (in *OriginRequestPolicy) DeepCopyInto(out *OriginRequestPolicy)

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

func (*OriginRequestPolicy) DeepCopyObject added in v0.0.2

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

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

type OriginRequestPolicyConfig

type OriginRequestPolicyConfig struct {
	Comment *string `json:"comment,omitempty"`
	// An object that determines whether any cookies in viewer requests (and if
	// so, which cookies) are included in requests that CloudFront sends to the
	// origin.
	CookiesConfig *OriginRequestPolicyCookiesConfig `json:"cookiesConfig,omitempty"`
	// An object that determines whether any HTTP headers (and if so, which headers)
	// are included in requests that CloudFront sends to the origin.
	HeadersConfig *OriginRequestPolicyHeadersConfig `json:"headersConfig,omitempty"`
	Name          *string                           `json:"name,omitempty"`
	// An object that determines whether any URL query strings in viewer requests
	// (and if so, which query strings) are included in requests that CloudFront
	// sends to the origin.
	QueryStringsConfig *OriginRequestPolicyQueryStringsConfig `json:"queryStringsConfig,omitempty"`
}

An origin request policy configuration.

This configuration determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

  • The request body and the URL path (without the domain name) from the viewer request.

  • The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id.

  • All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.

CloudFront sends a request when it can't find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

func (*OriginRequestPolicyConfig) DeepCopy

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

func (*OriginRequestPolicyConfig) DeepCopyInto

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

type OriginRequestPolicyCookieBehavior

type OriginRequestPolicyCookieBehavior string
const (
	OriginRequestPolicyCookieBehavior_none      OriginRequestPolicyCookieBehavior = "none"
	OriginRequestPolicyCookieBehavior_whitelist OriginRequestPolicyCookieBehavior = "whitelist"
	OriginRequestPolicyCookieBehavior_all       OriginRequestPolicyCookieBehavior = "all"
	OriginRequestPolicyCookieBehavior_allExcept OriginRequestPolicyCookieBehavior = "allExcept"
)

type OriginRequestPolicyCookiesConfig

type OriginRequestPolicyCookiesConfig struct {
	CookieBehavior *string `json:"cookieBehavior,omitempty"`
	// Contains a list of cookie names.
	Cookies *CookieNames `json:"cookies,omitempty"`
}

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in requests that CloudFront sends to the origin.

func (*OriginRequestPolicyCookiesConfig) DeepCopy

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

func (*OriginRequestPolicyCookiesConfig) DeepCopyInto

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

type OriginRequestPolicyHeaderBehavior

type OriginRequestPolicyHeaderBehavior string
const (
	OriginRequestPolicyHeaderBehavior_none                            OriginRequestPolicyHeaderBehavior = "none"
	OriginRequestPolicyHeaderBehavior_whitelist                       OriginRequestPolicyHeaderBehavior = "whitelist"
	OriginRequestPolicyHeaderBehavior_allViewer                       OriginRequestPolicyHeaderBehavior = "allViewer"
	OriginRequestPolicyHeaderBehavior_allViewerAndWhitelistCloudFront OriginRequestPolicyHeaderBehavior = "allViewerAndWhitelistCloudFront"
	OriginRequestPolicyHeaderBehavior_allExcept                       OriginRequestPolicyHeaderBehavior = "allExcept"
)

type OriginRequestPolicyHeadersConfig

type OriginRequestPolicyHeadersConfig struct {
	HeaderBehavior *string `json:"headerBehavior,omitempty"`
	// Contains a list of HTTP header names.
	Headers *Headers `json:"headers,omitempty"`
}

An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.

func (*OriginRequestPolicyHeadersConfig) DeepCopy

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

func (*OriginRequestPolicyHeadersConfig) DeepCopyInto

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

type OriginRequestPolicyList

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

OriginRequestPolicyList contains a list of OriginRequestPolicy +kubebuilder:object:root=true

func (*OriginRequestPolicyList) DeepCopy

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

func (*OriginRequestPolicyList) DeepCopyInto

func (in *OriginRequestPolicyList) DeepCopyInto(out *OriginRequestPolicyList)

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

func (*OriginRequestPolicyList) DeepCopyObject added in v0.0.2

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

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

type OriginRequestPolicyList_SDK added in v0.0.2

type OriginRequestPolicyList_SDK struct {
	Items      []*OriginRequestPolicySummary `json:"items,omitempty"`
	MaxItems   *int64                        `json:"maxItems,omitempty"`
	NextMarker *string                       `json:"nextMarker,omitempty"`
	Quantity   *int64                        `json:"quantity,omitempty"`
}

A list of origin request policies.

func (*OriginRequestPolicyList_SDK) DeepCopy added in v0.0.2

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

func (*OriginRequestPolicyList_SDK) DeepCopyInto added in v0.0.2

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

type OriginRequestPolicyQueryStringBehavior

type OriginRequestPolicyQueryStringBehavior string
const (
	OriginRequestPolicyQueryStringBehavior_none      OriginRequestPolicyQueryStringBehavior = "none"
	OriginRequestPolicyQueryStringBehavior_whitelist OriginRequestPolicyQueryStringBehavior = "whitelist"
	OriginRequestPolicyQueryStringBehavior_all       OriginRequestPolicyQueryStringBehavior = "all"
	OriginRequestPolicyQueryStringBehavior_allExcept OriginRequestPolicyQueryStringBehavior = "allExcept"
)

type OriginRequestPolicyQueryStringsConfig

type OriginRequestPolicyQueryStringsConfig struct {
	QueryStringBehavior *string `json:"queryStringBehavior,omitempty"`
	// Contains a list of query string names.
	QueryStrings *QueryStringNames `json:"queryStrings,omitempty"`
}

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in requests that CloudFront sends to the origin.

func (*OriginRequestPolicyQueryStringsConfig) DeepCopy

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

func (*OriginRequestPolicyQueryStringsConfig) DeepCopyInto

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

type OriginRequestPolicySpec added in v0.0.2

type OriginRequestPolicySpec struct {

	// An origin request policy configuration.
	// +kubebuilder:validation:Required
	OriginRequestPolicyConfig *OriginRequestPolicyConfig `json:"originRequestPolicyConfig"`
}

OriginRequestPolicySpec defines the desired state of OriginRequestPolicy.

An origin request policy.

When it's attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

  • The request body and the URL path (without the domain name) from the viewer request.

  • The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id.

  • All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.

CloudFront sends a request when it can't find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

func (*OriginRequestPolicySpec) DeepCopy added in v0.0.2

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

func (*OriginRequestPolicySpec) DeepCopyInto added in v0.0.2

func (in *OriginRequestPolicySpec) DeepCopyInto(out *OriginRequestPolicySpec)

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

type OriginRequestPolicyStatus added in v0.0.2

type OriginRequestPolicyStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// +kubebuilder:validation:Optional
	ETag *string `json:"eTag,omitempty"`
	// The unique identifier for the origin request policy.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty"`
	// The date and time when the origin request policy was last modified.
	// +kubebuilder:validation:Optional
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty"`
}

OriginRequestPolicyStatus defines the observed state of OriginRequestPolicy

func (*OriginRequestPolicyStatus) DeepCopy added in v0.0.2

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

func (*OriginRequestPolicyStatus) DeepCopyInto added in v0.0.2

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

type OriginRequestPolicySummary added in v0.0.2

type OriginRequestPolicySummary struct {
	// An origin request policy.
	//
	// When it's attached to a cache behavior, the origin request policy determines
	// the values that CloudFront includes in requests that it sends to the origin.
	// Each request that CloudFront sends to the origin includes the following:
	//
	//    * The request body and the URL path (without the domain name) from the
	//    viewer request.
	//
	//    * The headers that CloudFront automatically includes in every origin request,
	//    including Host, User-Agent, and X-Amz-Cf-Id.
	//
	//    * All HTTP headers, cookies, and URL query strings that are specified
	//    in the cache policy or the origin request policy. These can include items
	//    from the viewer request and, in the case of headers, additional ones that
	//    are added by CloudFront.
	//
	// CloudFront sends a request when it can't find an object in its cache that
	// matches the request. If you want to send values to the origin and also include
	// them in the cache key, use CachePolicy.
	OriginRequestPolicy *OriginRequestPolicy_SDK `json:"originRequestPolicy,omitempty"`
	Type                *string                  `json:"type_,omitempty"`
}

Contains an origin request policy.

func (*OriginRequestPolicySummary) DeepCopy added in v0.0.2

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

func (*OriginRequestPolicySummary) DeepCopyInto added in v0.0.2

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

type OriginRequestPolicyType

type OriginRequestPolicyType string
const (
	OriginRequestPolicyType_managed OriginRequestPolicyType = "managed"
	OriginRequestPolicyType_custom  OriginRequestPolicyType = "custom"
)

type OriginRequestPolicy_SDK added in v0.0.2

type OriginRequestPolicy_SDK struct {
	ID               *string      `json:"id,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
	// An origin request policy configuration.
	//
	// This configuration determines the values that CloudFront includes in requests
	// that it sends to the origin. Each request that CloudFront sends to the origin
	// includes the following:
	//
	//    * The request body and the URL path (without the domain name) from the
	//    viewer request.
	//
	//    * The headers that CloudFront automatically includes in every origin request,
	//    including Host, User-Agent, and X-Amz-Cf-Id.
	//
	//    * All HTTP headers, cookies, and URL query strings that are specified
	//    in the cache policy or the origin request policy. These can include items
	//    from the viewer request and, in the case of headers, additional ones that
	//    are added by CloudFront.
	//
	// CloudFront sends a request when it can't find an object in its cache that
	// matches the request. If you want to send values to the origin and also include
	// them in the cache key, use CachePolicy.
	OriginRequestPolicyConfig *OriginRequestPolicyConfig `json:"originRequestPolicyConfig,omitempty"`
}

An origin request policy.

When it's attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

  • The request body and the URL path (without the domain name) from the viewer request.

  • The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id.

  • All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.

CloudFront sends a request when it can't find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

func (*OriginRequestPolicy_SDK) DeepCopy added in v0.0.2

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

func (*OriginRequestPolicy_SDK) DeepCopyInto added in v0.0.2

func (in *OriginRequestPolicy_SDK) DeepCopyInto(out *OriginRequestPolicy_SDK)

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

type OriginSSLProtocols

type OriginSSLProtocols struct {
	Items []*string `json:"items,omitempty"`
}

A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.

func (*OriginSSLProtocols) DeepCopy

func (in *OriginSSLProtocols) DeepCopy() *OriginSSLProtocols

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

func (*OriginSSLProtocols) DeepCopyInto

func (in *OriginSSLProtocols) DeepCopyInto(out *OriginSSLProtocols)

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

type OriginShield

type OriginShield struct {
	Enabled            *bool   `json:"enabled,omitempty"`
	OriginShieldRegion *string `json:"originShieldRegion,omitempty"`
}

CloudFront Origin Shield.

Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) in the Amazon CloudFront Developer Guide.

func (*OriginShield) DeepCopy

func (in *OriginShield) DeepCopy() *OriginShield

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

func (*OriginShield) DeepCopyInto

func (in *OriginShield) DeepCopyInto(out *OriginShield)

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

type Origins

type Origins struct {
	Items []*Origin `json:"items,omitempty"`
}

Contains information about the origins for this distribution.

func (*Origins) DeepCopy

func (in *Origins) DeepCopy() *Origins

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

func (*Origins) DeepCopyInto

func (in *Origins) DeepCopyInto(out *Origins)

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

type ParametersInCacheKeyAndForwardedToOrigin

type ParametersInCacheKeyAndForwardedToOrigin struct {
	// An object that determines whether any cookies in viewer requests (and if
	// so, which cookies) are included in the cache key and in requests that CloudFront
	// sends to the origin.
	CookiesConfig              *CachePolicyCookiesConfig `json:"cookiesConfig,omitempty"`
	EnableAcceptEncodingBrotli *bool                     `json:"enableAcceptEncodingBrotli,omitempty"`
	EnableAcceptEncodingGzip   *bool                     `json:"enableAcceptEncodingGzip,omitempty"`
	// An object that determines whether any HTTP headers (and if so, which headers)
	// are included in the cache key and in requests that CloudFront sends to the
	// origin.
	HeadersConfig *CachePolicyHeadersConfig `json:"headersConfig,omitempty"`
	// An object that determines whether any URL query strings in viewer requests
	// (and if so, which query strings) are included in the cache key and in requests
	// that CloudFront sends to the origin.
	QueryStringsConfig *CachePolicyQueryStringsConfig `json:"queryStringsConfig,omitempty"`
}

This object determines the values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

func (*ParametersInCacheKeyAndForwardedToOrigin) DeepCopy

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

func (*ParametersInCacheKeyAndForwardedToOrigin) DeepCopyInto

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

type Paths

type Paths struct {
	Quantity *int64 `json:"quantity,omitempty"`
}

A complex type that contains information about the objects that you want to invalidate. For more information, see Specifying the Objects to Invalidate (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) in the Amazon CloudFront Developer Guide.

func (*Paths) DeepCopy

func (in *Paths) DeepCopy() *Paths

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

func (*Paths) DeepCopyInto

func (in *Paths) DeepCopyInto(out *Paths)

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

type PriceClass

type PriceClass string
const (
	PriceClass_PriceClass_100 PriceClass = "PriceClass_100"
	PriceClass_PriceClass_200 PriceClass = "PriceClass_200"
	PriceClass_PriceClass_All PriceClass = "PriceClass_All"
)

type PublicKey

type PublicKey struct {
	CreatedTime *metav1.Time `json:"createdTime,omitempty"`
	ID          *string      `json:"id,omitempty"`
}

A public key that you can use with signed URLs and signed cookies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with field-level encryption (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).

func (*PublicKey) DeepCopy

func (in *PublicKey) DeepCopy() *PublicKey

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

func (*PublicKey) DeepCopyInto

func (in *PublicKey) DeepCopyInto(out *PublicKey)

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

type PublicKeyConfig

type PublicKeyConfig struct {
	CallerReference *string `json:"callerReference,omitempty"`
	Comment         *string `json:"comment,omitempty"`
	EncodedKey      *string `json:"encodedKey,omitempty"`
	Name            *string `json:"name,omitempty"`
}

Configuration information about a public key that you can use with signed URLs and signed cookies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with field-level encryption (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).

func (*PublicKeyConfig) DeepCopy

func (in *PublicKeyConfig) DeepCopy() *PublicKeyConfig

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

func (*PublicKeyConfig) DeepCopyInto

func (in *PublicKeyConfig) DeepCopyInto(out *PublicKeyConfig)

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

type PublicKeyList

type PublicKeyList struct {
	MaxItems   *int64  `json:"maxItems,omitempty"`
	NextMarker *string `json:"nextMarker,omitempty"`
	Quantity   *int64  `json:"quantity,omitempty"`
}

A list of public keys that you can use with signed URLs and signed cookies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with field-level encryption (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).

func (*PublicKeyList) DeepCopy

func (in *PublicKeyList) DeepCopy() *PublicKeyList

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

func (*PublicKeyList) DeepCopyInto

func (in *PublicKeyList) DeepCopyInto(out *PublicKeyList)

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

type PublicKeySummary

type PublicKeySummary struct {
	Comment     *string      `json:"comment,omitempty"`
	CreatedTime *metav1.Time `json:"createdTime,omitempty"`
	EncodedKey  *string      `json:"encodedKey,omitempty"`
	ID          *string      `json:"id,omitempty"`
	Name        *string      `json:"name,omitempty"`
}

Contains information about a public key.

func (*PublicKeySummary) DeepCopy

func (in *PublicKeySummary) DeepCopy() *PublicKeySummary

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

func (*PublicKeySummary) DeepCopyInto

func (in *PublicKeySummary) DeepCopyInto(out *PublicKeySummary)

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

type QueryArgProfile

type QueryArgProfile struct {
	ProfileID *string `json:"profileID,omitempty"`
	QueryArg  *string `json:"queryArg,omitempty"`
}

Query argument-profile mapping for field-level encryption.

func (*QueryArgProfile) DeepCopy

func (in *QueryArgProfile) DeepCopy() *QueryArgProfile

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

func (*QueryArgProfile) DeepCopyInto

func (in *QueryArgProfile) DeepCopyInto(out *QueryArgProfile)

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

type QueryArgProfileConfig

type QueryArgProfileConfig struct {
	ForwardWhenQueryArgProfileIsUnknown *bool `json:"forwardWhenQueryArgProfileIsUnknown,omitempty"`
}

Configuration for query argument-profile mapping for field-level encryption.

func (*QueryArgProfileConfig) DeepCopy

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

func (*QueryArgProfileConfig) DeepCopyInto

func (in *QueryArgProfileConfig) DeepCopyInto(out *QueryArgProfileConfig)

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

type QueryArgProfiles

type QueryArgProfiles struct {
	Quantity *int64 `json:"quantity,omitempty"`
}

Query argument-profile mapping for field-level encryption.

func (*QueryArgProfiles) DeepCopy

func (in *QueryArgProfiles) DeepCopy() *QueryArgProfiles

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

func (*QueryArgProfiles) DeepCopyInto

func (in *QueryArgProfiles) DeepCopyInto(out *QueryArgProfiles)

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

type QueryStringCacheKeys

type QueryStringCacheKeys struct {
	Items []*string `json:"items,omitempty"`
}

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use QueryStringsConfig in a cache policy. See CachePolicy.

If you want to send query strings to the origin but not include them in the cache key, use QueryStringsConfig in an origin request policy. See OriginRequestPolicy.

A complex type that contains information about the query string parameters that you want CloudFront to use for caching for a cache behavior.

func (*QueryStringCacheKeys) DeepCopy

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

func (*QueryStringCacheKeys) DeepCopyInto

func (in *QueryStringCacheKeys) DeepCopyInto(out *QueryStringCacheKeys)

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

type QueryStringNames

type QueryStringNames struct {
	Items []*string `json:"items,omitempty"`
}

Contains a list of query string names.

func (*QueryStringNames) DeepCopy

func (in *QueryStringNames) DeepCopy() *QueryStringNames

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

func (*QueryStringNames) DeepCopyInto

func (in *QueryStringNames) DeepCopyInto(out *QueryStringNames)

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

type RealtimeLogConfig

type RealtimeLogConfig struct {
	ARN          *string `json:"arn,omitempty"`
	Name         *string `json:"name,omitempty"`
	SamplingRate *int64  `json:"samplingRate,omitempty"`
}

A real-time log configuration.

func (*RealtimeLogConfig) DeepCopy

func (in *RealtimeLogConfig) DeepCopy() *RealtimeLogConfig

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

func (*RealtimeLogConfig) DeepCopyInto

func (in *RealtimeLogConfig) DeepCopyInto(out *RealtimeLogConfig)

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

type RealtimeLogConfigs

type RealtimeLogConfigs struct {
	IsTruncated *bool   `json:"isTruncated,omitempty"`
	Marker      *string `json:"marker,omitempty"`
	MaxItems    *int64  `json:"maxItems,omitempty"`
	NextMarker  *string `json:"nextMarker,omitempty"`
}

A list of real-time log configurations.

func (*RealtimeLogConfigs) DeepCopy

func (in *RealtimeLogConfigs) DeepCopy() *RealtimeLogConfigs

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

func (*RealtimeLogConfigs) DeepCopyInto

func (in *RealtimeLogConfigs) DeepCopyInto(out *RealtimeLogConfigs)

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

type RealtimeMetricsSubscriptionStatus

type RealtimeMetricsSubscriptionStatus string
const (
	RealtimeMetricsSubscriptionStatus_Enabled  RealtimeMetricsSubscriptionStatus = "Enabled"
	RealtimeMetricsSubscriptionStatus_Disabled RealtimeMetricsSubscriptionStatus = "Disabled"
)

type ReferrerPolicyList

type ReferrerPolicyList string
const (
	ReferrerPolicyList_no_referrer                     ReferrerPolicyList = "no-referrer"
	ReferrerPolicyList_no_referrer_when_downgrade      ReferrerPolicyList = "no-referrer-when-downgrade"
	ReferrerPolicyList_origin                          ReferrerPolicyList = "origin"
	ReferrerPolicyList_origin_when_cross_origin        ReferrerPolicyList = "origin-when-cross-origin"
	ReferrerPolicyList_same_origin                     ReferrerPolicyList = "same-origin"
	ReferrerPolicyList_strict_origin                   ReferrerPolicyList = "strict-origin"
	ReferrerPolicyList_strict_origin_when_cross_origin ReferrerPolicyList = "strict-origin-when-cross-origin"
	ReferrerPolicyList_unsafe_url                      ReferrerPolicyList = "unsafe-url"
)

type ResponseHeadersPolicy

type ResponseHeadersPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResponseHeadersPolicySpec   `json:"spec,omitempty"`
	Status            ResponseHeadersPolicyStatus `json:"status,omitempty"`
}

ResponseHeadersPolicy is the Schema for the ResponseHeadersPolicies API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*ResponseHeadersPolicy) DeepCopy

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

func (*ResponseHeadersPolicy) DeepCopyInto

func (in *ResponseHeadersPolicy) DeepCopyInto(out *ResponseHeadersPolicy)

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

func (*ResponseHeadersPolicy) DeepCopyObject added in v0.0.2

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

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

type ResponseHeadersPolicyAccessControlAllowHeaders

type ResponseHeadersPolicyAccessControlAllowHeaders struct {
	Items []*string `json:"items,omitempty"`
}

A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header.

For more information about the Access-Control-Allow-Headers HTTP response header, see Access-Control-Allow-Headers (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) in the MDN Web Docs.

func (*ResponseHeadersPolicyAccessControlAllowHeaders) DeepCopy

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

func (*ResponseHeadersPolicyAccessControlAllowHeaders) DeepCopyInto

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

type ResponseHeadersPolicyAccessControlAllowMethods

type ResponseHeadersPolicyAccessControlAllowMethods struct {
	Items []*string `json:"items,omitempty"`
}

A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.

For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods) in the MDN Web Docs.

func (*ResponseHeadersPolicyAccessControlAllowMethods) DeepCopy

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

func (*ResponseHeadersPolicyAccessControlAllowMethods) DeepCopyInto

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

type ResponseHeadersPolicyAccessControlAllowMethodsValues

type ResponseHeadersPolicyAccessControlAllowMethodsValues string
const (
	ResponseHeadersPolicyAccessControlAllowMethodsValues_GET     ResponseHeadersPolicyAccessControlAllowMethodsValues = "GET"
	ResponseHeadersPolicyAccessControlAllowMethodsValues_POST    ResponseHeadersPolicyAccessControlAllowMethodsValues = "POST"
	ResponseHeadersPolicyAccessControlAllowMethodsValues_OPTIONS ResponseHeadersPolicyAccessControlAllowMethodsValues = "OPTIONS"
	ResponseHeadersPolicyAccessControlAllowMethodsValues_PUT     ResponseHeadersPolicyAccessControlAllowMethodsValues = "PUT"
	ResponseHeadersPolicyAccessControlAllowMethodsValues_DELETE  ResponseHeadersPolicyAccessControlAllowMethodsValues = "DELETE"
	ResponseHeadersPolicyAccessControlAllowMethodsValues_PATCH   ResponseHeadersPolicyAccessControlAllowMethodsValues = "PATCH"
	ResponseHeadersPolicyAccessControlAllowMethodsValues_HEAD    ResponseHeadersPolicyAccessControlAllowMethodsValues = "HEAD"
	ResponseHeadersPolicyAccessControlAllowMethodsValues_ALL     ResponseHeadersPolicyAccessControlAllowMethodsValues = "ALL"
)

type ResponseHeadersPolicyAccessControlAllowOrigins

type ResponseHeadersPolicyAccessControlAllowOrigins struct {
	Items []*string `json:"items,omitempty"`
}

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) in the MDN Web Docs.

func (*ResponseHeadersPolicyAccessControlAllowOrigins) DeepCopy

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

func (*ResponseHeadersPolicyAccessControlAllowOrigins) DeepCopyInto

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

type ResponseHeadersPolicyAccessControlExposeHeaders

type ResponseHeadersPolicyAccessControlExposeHeaders struct {
	Items []*string `json:"items,omitempty"`
}

A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header.

For more information about the Access-Control-Expose-Headers HTTP response header, see Access-Control-Expose-Headers (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) in the MDN Web Docs.

func (*ResponseHeadersPolicyAccessControlExposeHeaders) DeepCopy

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

func (*ResponseHeadersPolicyAccessControlExposeHeaders) DeepCopyInto

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

type ResponseHeadersPolicyCORSConfig

type ResponseHeadersPolicyCORSConfig struct {
	AccessControlAllowCredentials *bool `json:"accessControlAllowCredentials,omitempty"`
	// A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers
	// HTTP response header.
	//
	// For more information about the Access-Control-Allow-Headers HTTP response
	// header, see Access-Control-Allow-Headers (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers)
	// in the MDN Web Docs.
	AccessControlAllowHeaders *ResponseHeadersPolicyAccessControlAllowHeaders `json:"accessControlAllowHeaders,omitempty"`
	// A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods
	// HTTP response header.
	//
	// For more information about the Access-Control-Allow-Methods HTTP response
	// header, see Access-Control-Allow-Methods (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods)
	// in the MDN Web Docs.
	AccessControlAllowMethods *ResponseHeadersPolicyAccessControlAllowMethods `json:"accessControlAllowMethods,omitempty"`
	// A list of origins (domain names) that CloudFront can use as the value for
	// the Access-Control-Allow-Origin HTTP response header.
	//
	// For more information about the Access-Control-Allow-Origin HTTP response
	// header, see Access-Control-Allow-Origin (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin)
	// in the MDN Web Docs.
	AccessControlAllowOrigins *ResponseHeadersPolicyAccessControlAllowOrigins `json:"accessControlAllowOrigins,omitempty"`
	// A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers
	// HTTP response header.
	//
	// For more information about the Access-Control-Expose-Headers HTTP response
	// header, see Access-Control-Expose-Headers (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers)
	// in the MDN Web Docs.
	AccessControlExposeHeaders *ResponseHeadersPolicyAccessControlExposeHeaders `json:"accessControlExposeHeaders,omitempty"`
	AccessControlMaxAgeSec     *int64                                           `json:"accessControlMaxAgeSec,omitempty"`
	OriginOverride             *bool                                            `json:"originOverride,omitempty"`
}

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS). CloudFront adds these headers to HTTP responses that it sends for CORS requests that match a cache behavior associated with this response headers policy.

For more information about CORS, see Cross-Origin Resource Sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) in the MDN Web Docs.

func (*ResponseHeadersPolicyCORSConfig) DeepCopy

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

func (*ResponseHeadersPolicyCORSConfig) DeepCopyInto

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

type ResponseHeadersPolicyConfig

type ResponseHeadersPolicyConfig struct {
	Comment *string `json:"comment,omitempty"`
	// A configuration for a set of HTTP response headers that are used for cross-origin
	// resource sharing (CORS). CloudFront adds these headers to HTTP responses
	// that it sends for CORS requests that match a cache behavior associated with
	// this response headers policy.
	//
	// For more information about CORS, see Cross-Origin Resource Sharing (CORS)
	// (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) in the MDN Web Docs.
	CORSConfig *ResponseHeadersPolicyCORSConfig `json:"corsConfig,omitempty"`
	// A list of HTTP response header names and their values. CloudFront includes
	// these headers in HTTP responses that it sends for requests that match a cache
	// behavior that's associated with this response headers policy.
	CustomHeadersConfig *ResponseHeadersPolicyCustomHeadersConfig `json:"customHeadersConfig,omitempty"`
	Name                *string                                   `json:"name,omitempty"`
	// A list of HTTP header names that CloudFront removes from HTTP responses to
	// requests that match the cache behavior that this response headers policy
	// is attached to.
	RemoveHeadersConfig *ResponseHeadersPolicyRemoveHeadersConfig `json:"removeHeadersConfig,omitempty"`
	// A configuration for a set of security-related HTTP response headers. CloudFront
	// adds these headers to HTTP responses that it sends for requests that match
	// a cache behavior associated with this response headers policy.
	SecurityHeadersConfig *ResponseHeadersPolicySecurityHeadersConfig `json:"securityHeadersConfig,omitempty"`
	// A configuration for enabling the Server-Timing header in HTTP responses sent
	// from CloudFront. CloudFront adds this header to HTTP responses that it sends
	// in response to requests that match a cache behavior that's associated with
	// this response headers policy.
	//
	// You can use the Server-Timing header to view metrics that can help you gain
	// insights about the behavior and performance of CloudFront. For example, you
	// can see which cache layer served a cache hit, or the first byte latency from
	// the origin when there was a cache miss. You can use the metrics in the Server-Timing
	// header to troubleshoot issues or test the efficiency of your CloudFront configuration.
	// For more information, see Server-Timing header (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#server-timing-header)
	// in the Amazon CloudFront Developer Guide.
	ServerTimingHeadersConfig *ResponseHeadersPolicyServerTimingHeadersConfig `json:"serverTimingHeadersConfig,omitempty"`
}

A response headers policy configuration.

A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.

func (*ResponseHeadersPolicyConfig) DeepCopy

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

func (*ResponseHeadersPolicyConfig) DeepCopyInto

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

type ResponseHeadersPolicyContentSecurityPolicy

type ResponseHeadersPolicyContentSecurityPolicy struct {
	ContentSecurityPolicy *string `json:"contentSecurityPolicy,omitempty"`
	Override              *bool   `json:"override,omitempty"`
}

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) in the MDN Web Docs.

func (*ResponseHeadersPolicyContentSecurityPolicy) DeepCopy

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

func (*ResponseHeadersPolicyContentSecurityPolicy) DeepCopyInto

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

type ResponseHeadersPolicyContentTypeOptions

type ResponseHeadersPolicyContentTypeOptions struct {
	Override *bool `json:"override,omitempty"`
}

Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.

For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options) in the MDN Web Docs.

func (*ResponseHeadersPolicyContentTypeOptions) DeepCopy

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

func (*ResponseHeadersPolicyContentTypeOptions) DeepCopyInto

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

type ResponseHeadersPolicyCustomHeader

type ResponseHeadersPolicyCustomHeader struct {
	Header   *string `json:"header,omitempty"`
	Override *bool   `json:"override,omitempty"`
	Value    *string `json:"value,omitempty"`
}

An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

func (*ResponseHeadersPolicyCustomHeader) DeepCopy

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

func (*ResponseHeadersPolicyCustomHeader) DeepCopyInto

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

type ResponseHeadersPolicyCustomHeadersConfig

type ResponseHeadersPolicyCustomHeadersConfig struct {
	Items []*ResponseHeadersPolicyCustomHeader `json:"items,omitempty"`
}

A list of HTTP response header names and their values. CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

func (*ResponseHeadersPolicyCustomHeadersConfig) DeepCopy

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

func (*ResponseHeadersPolicyCustomHeadersConfig) DeepCopyInto

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

type ResponseHeadersPolicyFrameOptions

type ResponseHeadersPolicyFrameOptions struct {
	FrameOption *string `json:"frameOption,omitempty"`
	Override    *bool   `json:"override,omitempty"`
}

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

For more information about the X-Frame-Options HTTP response header, see X-Frame-Options (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) in the MDN Web Docs.

func (*ResponseHeadersPolicyFrameOptions) DeepCopy

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

func (*ResponseHeadersPolicyFrameOptions) DeepCopyInto

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

type ResponseHeadersPolicyList

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

ResponseHeadersPolicyList contains a list of ResponseHeadersPolicy +kubebuilder:object:root=true

func (*ResponseHeadersPolicyList) DeepCopy

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

func (*ResponseHeadersPolicyList) DeepCopyInto

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

func (*ResponseHeadersPolicyList) DeepCopyObject added in v0.0.2

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

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

type ResponseHeadersPolicyList_SDK added in v0.0.2

type ResponseHeadersPolicyList_SDK struct {
	Items      []*ResponseHeadersPolicySummary `json:"items,omitempty"`
	MaxItems   *int64                          `json:"maxItems,omitempty"`
	NextMarker *string                         `json:"nextMarker,omitempty"`
	Quantity   *int64                          `json:"quantity,omitempty"`
}

A list of response headers policies.

func (*ResponseHeadersPolicyList_SDK) DeepCopy added in v0.0.2

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

func (*ResponseHeadersPolicyList_SDK) DeepCopyInto added in v0.0.2

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

type ResponseHeadersPolicyReferrerPolicy

type ResponseHeadersPolicyReferrerPolicy struct {
	Override       *bool   `json:"override,omitempty"`
	ReferrerPolicy *string `json:"referrerPolicy,omitempty"`
}

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

For more information about the Referrer-Policy HTTP response header, see Referrer-Policy (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) in the MDN Web Docs.

func (*ResponseHeadersPolicyReferrerPolicy) DeepCopy

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

func (*ResponseHeadersPolicyReferrerPolicy) DeepCopyInto

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

type ResponseHeadersPolicyRemoveHeader

type ResponseHeadersPolicyRemoveHeader struct {
	Header *string `json:"header,omitempty"`
}

The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.

func (*ResponseHeadersPolicyRemoveHeader) DeepCopy

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

func (*ResponseHeadersPolicyRemoveHeader) DeepCopyInto

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

type ResponseHeadersPolicyRemoveHeadersConfig

type ResponseHeadersPolicyRemoveHeadersConfig struct {
	Items []*ResponseHeadersPolicyRemoveHeader `json:"items,omitempty"`
}

A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.

func (*ResponseHeadersPolicyRemoveHeadersConfig) DeepCopy

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

func (*ResponseHeadersPolicyRemoveHeadersConfig) DeepCopyInto

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

type ResponseHeadersPolicySecurityHeadersConfig added in v0.0.2

type ResponseHeadersPolicySecurityHeadersConfig struct {
	// The policy directives and their values that CloudFront includes as values
	// for the Content-Security-Policy HTTP response header.
	//
	// For more information about the Content-Security-Policy HTTP response header,
	// see Content-Security-Policy (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy)
	// in the MDN Web Docs.
	ContentSecurityPolicy *ResponseHeadersPolicyContentSecurityPolicy `json:"contentSecurityPolicy,omitempty"`
	// Determines whether CloudFront includes the X-Content-Type-Options HTTP response
	// header with its value set to nosniff.
	//
	// For more information about the X-Content-Type-Options HTTP response header,
	// see X-Content-Type-Options (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options)
	// in the MDN Web Docs.
	ContentTypeOptions *ResponseHeadersPolicyContentTypeOptions `json:"contentTypeOptions,omitempty"`
	// Determines whether CloudFront includes the X-Frame-Options HTTP response
	// header and the header's value.
	//
	// For more information about the X-Frame-Options HTTP response header, see
	// X-Frame-Options (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options)
	// in the MDN Web Docs.
	FrameOptions *ResponseHeadersPolicyFrameOptions `json:"frameOptions,omitempty"`
	// Determines whether CloudFront includes the Referrer-Policy HTTP response
	// header and the header's value.
	//
	// For more information about the Referrer-Policy HTTP response header, see
	// Referrer-Policy (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy)
	// in the MDN Web Docs.
	ReferrerPolicy *ResponseHeadersPolicyReferrerPolicy `json:"referrerPolicy,omitempty"`
	// Determines whether CloudFront includes the Strict-Transport-Security HTTP
	// response header and the header's value.
	//
	// For more information about the Strict-Transport-Security HTTP response header,
	// see Strict-Transport-Security (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security)
	// in the MDN Web Docs.
	StrictTransportSecurity *ResponseHeadersPolicyStrictTransportSecurity `json:"strictTransportSecurity,omitempty"`
	// Determines whether CloudFront includes the X-XSS-Protection HTTP response
	// header and the header's value.
	//
	// For more information about the X-XSS-Protection HTTP response header, see
	// X-XSS-Protection (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection)
	// in the MDN Web Docs.
	XSSProtection *ResponseHeadersPolicyXSSProtection `json:"xSSProtection,omitempty"`
}

A configuration for a set of security-related HTTP response headers. CloudFront adds these headers to HTTP responses that it sends for requests that match a cache behavior associated with this response headers policy.

func (*ResponseHeadersPolicySecurityHeadersConfig) DeepCopy added in v0.0.2

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

func (*ResponseHeadersPolicySecurityHeadersConfig) DeepCopyInto added in v0.0.2

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

type ResponseHeadersPolicyServerTimingHeadersConfig

type ResponseHeadersPolicyServerTimingHeadersConfig struct {
	Enabled      *bool    `json:"enabled,omitempty"`
	SamplingRate *float64 `json:"samplingRate,omitempty"`
}

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. CloudFront adds this header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.

You can use the Server-Timing header to view metrics that can help you gain insights about the behavior and performance of CloudFront. For example, you can see which cache layer served a cache hit, or the first byte latency from the origin when there was a cache miss. You can use the metrics in the Server-Timing header to troubleshoot issues or test the efficiency of your CloudFront configuration. For more information, see Server-Timing header (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#server-timing-header) in the Amazon CloudFront Developer Guide.

func (*ResponseHeadersPolicyServerTimingHeadersConfig) DeepCopy

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

func (*ResponseHeadersPolicyServerTimingHeadersConfig) DeepCopyInto

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

type ResponseHeadersPolicySpec added in v0.0.2

type ResponseHeadersPolicySpec struct {

	// Contains metadata about the response headers policy, and a set of configurations
	// that specify the HTTP headers.
	// +kubebuilder:validation:Required
	ResponseHeadersPolicyConfig *ResponseHeadersPolicyConfig `json:"responseHeadersPolicyConfig"`
}

ResponseHeadersPolicySpec defines the desired state of ResponseHeadersPolicy.

A response headers policy.

A response headers policy contains information about a set of HTTP response headers.

After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.

For more information, see Adding or removing HTTP headers in CloudFront responses (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html) in the Amazon CloudFront Developer Guide.

func (*ResponseHeadersPolicySpec) DeepCopy added in v0.0.2

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

func (*ResponseHeadersPolicySpec) DeepCopyInto added in v0.0.2

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

type ResponseHeadersPolicyStatus added in v0.0.2

type ResponseHeadersPolicyStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// +kubebuilder:validation:Optional
	ETag *string `json:"eTag,omitempty"`
	// The identifier for the response headers policy.
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty"`
	// The date and time when the response headers policy was last modified.
	// +kubebuilder:validation:Optional
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
}

ResponseHeadersPolicyStatus defines the observed state of ResponseHeadersPolicy

func (*ResponseHeadersPolicyStatus) DeepCopy added in v0.0.2

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

func (*ResponseHeadersPolicyStatus) DeepCopyInto added in v0.0.2

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

type ResponseHeadersPolicyStrictTransportSecurity

type ResponseHeadersPolicyStrictTransportSecurity struct {
	AccessControlMaxAgeSec *int64 `json:"accessControlMaxAgeSec,omitempty"`
	IncludeSubdomains      *bool  `json:"includeSubdomains,omitempty"`
	Override               *bool  `json:"override,omitempty"`
	Preload                *bool  `json:"preload,omitempty"`
}

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) in the MDN Web Docs.

func (*ResponseHeadersPolicyStrictTransportSecurity) DeepCopy

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

func (*ResponseHeadersPolicyStrictTransportSecurity) DeepCopyInto

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

type ResponseHeadersPolicySummary added in v0.0.2

type ResponseHeadersPolicySummary struct {
	// A response headers policy.
	//
	// A response headers policy contains information about a set of HTTP response
	// headers.
	//
	// After you create a response headers policy, you can use its ID to attach
	// it to one or more cache behaviors in a CloudFront distribution. When it's
	// attached to a cache behavior, the response headers policy affects the HTTP
	// headers that CloudFront includes in HTTP responses to requests that match
	// the cache behavior. CloudFront adds or removes response headers according
	// to the configuration of the response headers policy.
	//
	// For more information, see Adding or removing HTTP headers in CloudFront responses
	// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html)
	// in the Amazon CloudFront Developer Guide.
	ResponseHeadersPolicy *ResponseHeadersPolicy_SDK `json:"responseHeadersPolicy,omitempty"`
	Type                  *string                    `json:"type_,omitempty"`
}

Contains a response headers policy.

func (*ResponseHeadersPolicySummary) DeepCopy added in v0.0.2

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

func (*ResponseHeadersPolicySummary) DeepCopyInto added in v0.0.2

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

type ResponseHeadersPolicyType

type ResponseHeadersPolicyType string
const (
	ResponseHeadersPolicyType_managed ResponseHeadersPolicyType = "managed"
	ResponseHeadersPolicyType_custom  ResponseHeadersPolicyType = "custom"
)

type ResponseHeadersPolicyXSSProtection

type ResponseHeadersPolicyXSSProtection struct {
	ModeBlock  *bool   `json:"modeBlock,omitempty"`
	Override   *bool   `json:"override,omitempty"`
	Protection *bool   `json:"protection,omitempty"`
	ReportURI  *string `json:"reportURI,omitempty"`
}

Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs.

func (*ResponseHeadersPolicyXSSProtection) DeepCopy

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

func (*ResponseHeadersPolicyXSSProtection) DeepCopyInto

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

type ResponseHeadersPolicy_SDK added in v0.0.2

type ResponseHeadersPolicy_SDK struct {
	ID               *string      `json:"id,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
	// A response headers policy configuration.
	//
	// A response headers policy configuration contains metadata about the response
	// headers policy, and configurations for sets of HTTP response headers.
	ResponseHeadersPolicyConfig *ResponseHeadersPolicyConfig `json:"responseHeadersPolicyConfig,omitempty"`
}

A response headers policy.

A response headers policy contains information about a set of HTTP response headers.

After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.

For more information, see Adding or removing HTTP headers in CloudFront responses (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html) in the Amazon CloudFront Developer Guide.

func (*ResponseHeadersPolicy_SDK) DeepCopy added in v0.0.2

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

func (*ResponseHeadersPolicy_SDK) DeepCopyInto added in v0.0.2

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

type Restrictions

type Restrictions struct {
	// A complex type that controls the countries in which your content is distributed.
	// CloudFront determines the location of your users using MaxMind GeoIP databases.
	GeoRestriction *GeoRestriction `json:"geoRestriction,omitempty"`
}

A complex type that identifies ways in which you want to restrict distribution of your content.

func (*Restrictions) DeepCopy

func (in *Restrictions) DeepCopy() *Restrictions

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

func (*Restrictions) DeepCopyInto

func (in *Restrictions) DeepCopyInto(out *Restrictions)

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

type S3Origin

type S3Origin struct {
	DomainName           *string `json:"domainName,omitempty"`
	OriginAccessIdentity *string `json:"originAccessIdentity,omitempty"`
}

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

func (*S3Origin) DeepCopy

func (in *S3Origin) DeepCopy() *S3Origin

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

func (*S3Origin) DeepCopyInto

func (in *S3Origin) DeepCopyInto(out *S3Origin)

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

type S3OriginConfig

type S3OriginConfig struct {
	OriginAccessIdentity *string `json:"originAccessIdentity,omitempty"`
}

A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin or an S3 bucket that is configured as a website endpoint, use the CustomOriginConfig element instead.

func (*S3OriginConfig) DeepCopy

func (in *S3OriginConfig) DeepCopy() *S3OriginConfig

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

func (*S3OriginConfig) DeepCopyInto

func (in *S3OriginConfig) DeepCopyInto(out *S3OriginConfig)

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

type SSLProtocol

type SSLProtocol string
const (
	SSLProtocol_SSLv3   SSLProtocol = "SSLv3"
	SSLProtocol_TLSv1   SSLProtocol = "TLSv1"
	SSLProtocol_TLSv1_1 SSLProtocol = "TLSv1.1"
	SSLProtocol_TLSv1_2 SSLProtocol = "TLSv1.2"
)

type SSLSupportMethod

type SSLSupportMethod string
const (
	SSLSupportMethod_sni_only  SSLSupportMethod = "sni-only"
	SSLSupportMethod_vip       SSLSupportMethod = "vip"
	SSLSupportMethod_static_ip SSLSupportMethod = "static-ip"
)

type SessionStickinessConfig

type SessionStickinessConfig struct {
	IdleTTL    *int64 `json:"idleTTL,omitempty"`
	MaximumTTL *int64 `json:"maximumTTL,omitempty"`
}

Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.

func (*SessionStickinessConfig) DeepCopy

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

func (*SessionStickinessConfig) DeepCopyInto

func (in *SessionStickinessConfig) DeepCopyInto(out *SessionStickinessConfig)

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

type Signer

type Signer struct {
	AWSAccountNumber *string `json:"awsAccountNumber,omitempty"`
	// A list of CloudFront key pair identifiers.
	KeyPairIDs *KeyPairIDs `json:"keyPairIDs,omitempty"`
}

A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

func (*Signer) DeepCopy

func (in *Signer) DeepCopy() *Signer

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

func (*Signer) DeepCopyInto

func (in *Signer) DeepCopyInto(out *Signer)

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

type StagingDistributionDNSNames

type StagingDistributionDNSNames struct {
	Quantity *int64 `json:"quantity,omitempty"`
}

The CloudFront domain name of the staging distribution.

func (*StagingDistributionDNSNames) DeepCopy

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

func (*StagingDistributionDNSNames) DeepCopyInto

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

type StatusCodes

type StatusCodes struct {
	// List of status codes for origin failover.
	Items []*int64 `json:"items,omitempty"`
}

A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.

func (*StatusCodes) DeepCopy

func (in *StatusCodes) DeepCopy() *StatusCodes

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

func (*StatusCodes) DeepCopyInto

func (in *StatusCodes) DeepCopyInto(out *StatusCodes)

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

type StreamingDistribution

type StreamingDistribution struct {
	ARN *string `json:"arn,omitempty"`
	// A list of Amazon Web Services accounts and the active CloudFront key pairs
	// in each account that CloudFront can use to verify the signatures of signed
	// URLs and signed cookies.
	ActiveTrustedSigners *ActiveTrustedSigners `json:"activeTrustedSigners,omitempty"`
	DomainName           *string               `json:"domainName,omitempty"`
	ID                   *string               `json:"id,omitempty"`
	LastModifiedTime     *metav1.Time          `json:"lastModifiedTime,omitempty"`
	Status               *string               `json:"status,omitempty"`
}

A streaming distribution tells CloudFront where you want RTMP content to be delivered from, and the details about how to track and manage content delivery.

func (*StreamingDistribution) DeepCopy

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

func (*StreamingDistribution) DeepCopyInto

func (in *StreamingDistribution) DeepCopyInto(out *StreamingDistribution)

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

type StreamingDistributionConfig

type StreamingDistributionConfig struct {
	// A complex type that contains information about CNAMEs (alternate domain names),
	// if any, for this distribution.
	Aliases         *Aliases `json:"aliases,omitempty"`
	CallerReference *string  `json:"callerReference,omitempty"`
	Comment         *string  `json:"comment,omitempty"`
	Enabled         *bool    `json:"enabled,omitempty"`
	PriceClass      *string  `json:"priceClass,omitempty"`
	// A list of Amazon Web Services accounts whose public keys CloudFront can use
	// to verify the signatures of signed URLs and signed cookies.
	TrustedSigners *TrustedSigners `json:"trustedSigners,omitempty"`
}

The RTMP distribution's configuration information.

func (*StreamingDistributionConfig) DeepCopy

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

func (*StreamingDistributionConfig) DeepCopyInto

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

type StreamingDistributionList

type StreamingDistributionList struct {
	IsTruncated *bool   `json:"isTruncated,omitempty"`
	Marker      *string `json:"marker,omitempty"`
	MaxItems    *int64  `json:"maxItems,omitempty"`
	NextMarker  *string `json:"nextMarker,omitempty"`
	Quantity    *int64  `json:"quantity,omitempty"`
}

A streaming distribution list.

func (*StreamingDistributionList) DeepCopy

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

func (*StreamingDistributionList) DeepCopyInto

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

type StreamingDistributionSummary

type StreamingDistributionSummary struct {
	ARN *string `json:"arn,omitempty"`
	// A complex type that contains information about CNAMEs (alternate domain names),
	// if any, for this distribution.
	Aliases          *Aliases     `json:"aliases,omitempty"`
	Comment          *string      `json:"comment,omitempty"`
	DomainName       *string      `json:"domainName,omitempty"`
	Enabled          *bool        `json:"enabled,omitempty"`
	ID               *string      `json:"id,omitempty"`
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`
	PriceClass       *string      `json:"priceClass,omitempty"`
	Status           *string      `json:"status,omitempty"`
	// A list of Amazon Web Services accounts whose public keys CloudFront can use
	// to verify the signatures of signed URLs and signed cookies.
	TrustedSigners *TrustedSigners `json:"trustedSigners,omitempty"`
}

A summary of the information for a CloudFront streaming distribution.

func (*StreamingDistributionSummary) DeepCopy

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

func (*StreamingDistributionSummary) DeepCopyInto

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

type StreamingLoggingConfig

type StreamingLoggingConfig struct {
	Bucket  *string `json:"bucket,omitempty"`
	Enabled *bool   `json:"enabled,omitempty"`
	Prefix  *string `json:"prefix,omitempty"`
}

A complex type that controls whether access logs are written for this streaming distribution.

func (*StreamingLoggingConfig) DeepCopy

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

func (*StreamingLoggingConfig) DeepCopyInto

func (in *StreamingLoggingConfig) DeepCopyInto(out *StreamingLoggingConfig)

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

type TestResult

type TestResult struct {
	ComputeUtilization   *string `json:"computeUtilization,omitempty"`
	FunctionErrorMessage *string `json:"functionErrorMessage,omitempty"`
	FunctionOutput       *string `json:"functionOutput,omitempty"`
	// Contains configuration information and metadata about a CloudFront function.
	FunctionSummary *FunctionSummary `json:"functionSummary,omitempty"`
}

Contains the result of testing a CloudFront function with TestFunction.

func (*TestResult) DeepCopy

func (in *TestResult) DeepCopy() *TestResult

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

func (*TestResult) DeepCopyInto

func (in *TestResult) DeepCopyInto(out *TestResult)

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

type TrustedKeyGroups

type TrustedKeyGroups struct {
	Enabled *bool     `json:"enabled,omitempty"`
	Items   []*string `json:"items,omitempty"`
}

A list of key groups whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.

func (*TrustedKeyGroups) DeepCopy

func (in *TrustedKeyGroups) DeepCopy() *TrustedKeyGroups

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

func (*TrustedKeyGroups) DeepCopyInto

func (in *TrustedKeyGroups) DeepCopyInto(out *TrustedKeyGroups)

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

type TrustedSigners

type TrustedSigners struct {
	Enabled *bool     `json:"enabled,omitempty"`
	Items   []*string `json:"items,omitempty"`
}

A list of Amazon Web Services accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.

func (*TrustedSigners) DeepCopy

func (in *TrustedSigners) DeepCopy() *TrustedSigners

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

func (*TrustedSigners) DeepCopyInto

func (in *TrustedSigners) DeepCopyInto(out *TrustedSigners)

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

type ViewerCertificate

type ViewerCertificate struct {
	ACMCertificateARN            *string `json:"aCMCertificateARN,omitempty"`
	Certificate                  *string `json:"certificate,omitempty"`
	CertificateSource            *string `json:"certificateSource,omitempty"`
	CloudFrontDefaultCertificate *bool   `json:"cloudFrontDefaultCertificate,omitempty"`
	IAMCertificateID             *string `json:"iamCertificateID,omitempty"`
	MinimumProtocolVersion       *string `json:"minimumProtocolVersion,omitempty"`
	SSLSupportMethod             *string `json:"sslSupportMethod,omitempty"`
}

A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.

If the distribution doesn't use Aliases (also known as alternate domain names or CNAMEs)—that is, if the distribution uses the CloudFront domain name such as d111111abcdef8.cloudfront.net—set CloudFrontDefaultCertificate to true and leave all other fields empty.

If the distribution uses Aliases (alternate domain names or CNAMEs), use the fields in this type to specify the following settings:

All distributions support HTTPS connections from viewers. To require viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use ViewerProtocolPolicy in the CacheBehavior or DefaultCacheBehavior. To specify how CloudFront should use SSL/TLS to communicate with your custom origin, use CustomOriginConfig.

For more information, see Using HTTPS with CloudFront (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https.html) and Using Alternate Domain Names and HTTPS (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html) in the Amazon CloudFront Developer Guide.

func (*ViewerCertificate) DeepCopy

func (in *ViewerCertificate) DeepCopy() *ViewerCertificate

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

func (*ViewerCertificate) DeepCopyInto

func (in *ViewerCertificate) DeepCopyInto(out *ViewerCertificate)

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

type ViewerProtocolPolicy

type ViewerProtocolPolicy string
const (
	ViewerProtocolPolicy_allow_all         ViewerProtocolPolicy = "allow-all"
	ViewerProtocolPolicy_https_only        ViewerProtocolPolicy = "https-only"
	ViewerProtocolPolicy_redirect_to_https ViewerProtocolPolicy = "redirect-to-https"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL