Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-aws.Go to Latest
upbound/provider-aws@v0.20.0
Distribution
cloudfront.aws.upbound.io
Distribution
upbound/provider-aws@v0.20.0cloudfront.aws.upbound.io

Distribution is the Schema for the Distributions API. Provides a CloudFront web distribution resource.

Type

CRD

Group

cloudfront.aws.upbound.io

Version

v1beta1

apiVersion: cloudfront.aws.upbound.io/v1beta1

kind: Distribution

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

DistributionSpec defines the desired state of Distribution

forProvider
requiredobject
requiredobject

No description provided.

aliases
array
array

Extra CNAMEs (alternate domain names), if any, for this distribution.

comment
string
array

One or more custom error response elements (multiples allowed).

requiredarray

The default cache behavior for this distribution (maximum one).

allowedMethods
requiredarray
requiredarray

Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.

cachedMethods
requiredarray
requiredarray

Controls whether CloudFront caches the response to requests using the specified HTTP methods.

compress
boolean
array

The forwarded values configuration that specifies how CloudFront handles query strings, cookies and headers (maximum one).

cookies
requiredarray
requiredarray

The forwarded values cookies that specifies how CloudFront handles cookies (maximum one).

forward
requiredstring
array

If you have specified whitelist to forward, the whitelisted cookies that you want CloudFront to forward to your origin.

headers
array
array

Specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior. Specify * to include all headers.

queryString
requiredboolean
array

When specified, along with a value of true for query_string, all query strings are forwarded, however only the query string keys listed in this argument are cached. When omitted with a value of true for query_string, all query string keys are cached.

array

A config block that triggers a cloudfront function with specific actions (maximum 2).

eventType
requiredstring
functionArn
requiredstring
array

A config block that triggers a lambda function with specific actions (maximum 4).

eventType
requiredstring
lambdaArn
requiredstring
maxTtl
number
minTtl
number
targetOriginId
requiredstring
array

A list of key group IDs that CloudFront can use to validate signed URLs or signed cookies. See the CloudFront User Guide for more information about this feature.

array

List of AWS account IDs (or self) that you want to allow to create signed URLs for private content. See the CloudFront User Guide for more information about this feature.

viewerProtocolPolicy
requiredstring
enabled
requiredboolean
array

The logging configuration that controls how logs are written to your distribution (maximum one).

bucket
requiredstring
prefix
string
array

An ordered list of cache behaviors resource for this distribution. List from top to bottom in order of precedence. The topmost cache behavior will have precedence 0.

allowedMethods
requiredarray
requiredarray

Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.

cachedMethods
requiredarray
requiredarray

Controls whether CloudFront caches the response to requests using the specified HTTP methods.

compress
boolean
array

The forwarded values configuration that specifies how CloudFront handles query strings, cookies and headers (maximum one).

cookies
requiredarray
requiredarray

The forwarded values cookies that specifies how CloudFront handles cookies (maximum one).

forward
requiredstring
array

If you have specified whitelist to forward, the whitelisted cookies that you want CloudFront to forward to your origin.

headers
array
array

Specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior. Specify * to include all headers.

queryString
requiredboolean
array

When specified, along with a value of true for query_string, all query strings are forwarded, however only the query string keys listed in this argument are cached. When omitted with a value of true for query_string, all query string keys are cached.

array

A config block that triggers a cloudfront function with specific actions (maximum 2).

eventType
requiredstring
object

Reference to a Function in cloudfront to populate functionArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Function in cloudfront to populate functionArn.

policy
object
object

Policies for selection.

resolve
string
array

A config block that triggers a lambda function with specific actions (maximum 4).

eventType
requiredstring
lambdaArn
string
object

Reference to a Function in lambda to populate lambdaArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Function in lambda to populate lambdaArn.

policy
object
object

Policies for selection.

resolve
string
maxTtl
number
minTtl
number
pathPattern
requiredstring
targetOriginId
requiredstring
array

A list of key group IDs that CloudFront can use to validate signed URLs or signed cookies. See the CloudFront User Guide for more information about this feature.

array

List of AWS account IDs (or self) that you want to allow to create signed URLs for private content. See the CloudFront User Guide for more information about this feature.

viewerProtocolPolicy
requiredstring
origin
requiredarray
requiredarray

One or more origins for this distribution (multiples allowed).

array

One or more sub-resources with name and value parameters that specify header data that will be sent to the origin (multiples allowed).

name
requiredstring
value
requiredstring
array

The CloudFront custom origin configuration information. If an S3 origin is required, use s3_origin_config instead.

httpPort
requirednumber
httpsPort
requirednumber
originProtocolPolicy
requiredstring
originSslProtocols
requiredarray
requiredarray

The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS. A list of one or more of SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

domainName
requiredstring
originId
requiredstring
array

The CloudFront Origin Shield configuration information. Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

enabled
requiredboolean
originShieldRegion
requiredstring
array

The CloudFront S3 origin configuration information. If a custom origin is required, use custom_origin_config instead.

object

Reference to a OriginAccessIdentity in cloudfront to populate originAccessIdentity.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a OriginAccessIdentity in cloudfront to populate originAccessIdentity.

policy
object
object

Policies for selection.

resolve
string
array

One or more origin_group for this distribution (multiples allowed).

failoverCriteria
requiredarray
requiredarray

The failover criteria for when to failover to the secondary origin

statusCodes
requiredarray
requiredarray

A list of HTTP status codes for the origin group

member
requiredarray
requiredarray

Ordered member configuration blocks assigned to the origin group, where the first member is the primary origin. You must specify two members.

originId
requiredstring
originId
requiredstring
region
requiredstring
restrictions
requiredarray
requiredarray

The restriction configuration for this distribution (maximum one).

geoRestriction
requiredarray
requiredarray

No description provided.

array

The ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist).

restrictionType
requiredstring
tags
object
viewerCertificate
requiredarray
requiredarray

The SSL configuration for this distribution (maximum one).

webAclId
string
object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

DistributionStatus defines the observed state of Distribution.

object

No description provided.

arn
string
etag
string
id
string
status
string
tagsAll
object
array

A list of key group IDs that CloudFront can use to validate signed URLs or signed cookies. See the CloudFront User Guide for more information about this feature.

enabled
boolean
items
array
array

List of nested attributes for each key group

array

Set of CloudFront key pair IDs

array

List of AWS account IDs (or self) that you want to allow to create signed URLs for private content. See the CloudFront User Guide for more information about this feature.

enabled
boolean
items
array
array

List of nested attributes for each key group

array

Set of CloudFront key pair IDs

array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.