Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-aws.Go to Latest
upbound/provider-aws@v1.1.0
Distribution
cloudfront.aws.upbound.io
Distribution
upbound/provider-aws@v1.1.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).

array

Default cache behavior for this distribution (maximum one). Requires either cache_policy_id (preferred) or forwarded_values (deprecated) be set.

array

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

array

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
array
array

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

forward
string
array

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

headers
array
array

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

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).

array

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

maxTtl
number
minTtl
number
array

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.

enabled
boolean
array

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

bucket
string
prefix
string
array

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.

array

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

array

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
array
array

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

forward
string
array

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

headers
array
array

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

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
string
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
string
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
array

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.

origin
array
array

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
string
value
string
array

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

httpPort
number
httpsPort
number
array

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.

object

Reference to a OriginAccessControl in cloudfront to populate originAccessControlId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a OriginAccessControl in cloudfront to populate originAccessControlId.

policy
object
object

Policies for selection.

resolve
string
originId
string
array

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.

array

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).

array

The failover criteria for when to failover to the secondary origin.

array

List of HTTP status codes for the origin group.

member
array
array

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

originId
string
originId
string
region
requiredstring
array

The restriction configuration for this distribution (maximum one).

array

No description provided.

array

ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist). If the type is specified as none an empty array can be used.

staging
boolean
tags
object
array

The SSL configuration for this distribution (maximum one).

webAclId
string
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

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).

array

Default cache behavior for this distribution (maximum one). Requires either cache_policy_id (preferred) or forwarded_values (deprecated) be set.

array

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

array

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
array
array

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

forward
string
array

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

headers
array
array

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

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).

array

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

maxTtl
number
minTtl
number
array

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.

enabled
boolean
array

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

bucket
string
prefix
string
array

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.

array

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

array

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
array
array

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

forward
string
array

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

headers
array
array

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

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
string
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
string
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
array

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.

origin
array
array

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
string
value
string
array

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

httpPort
number
httpsPort
number
array

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.

object

Reference to a OriginAccessControl in cloudfront to populate originAccessControlId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a OriginAccessControl in cloudfront to populate originAccessControlId.

policy
object
object

Policies for selection.

resolve
string
originId
string
array

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.

array

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).

array

The failover criteria for when to failover to the secondary origin.

array

List of HTTP status codes for the origin group.

member
array
array

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

originId
string
originId
string
array

The restriction configuration for this distribution (maximum one).

array

No description provided.

array

ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist). If the type is specified as none an empty array can be used.

staging
boolean
tags
object
array

The SSL configuration for this distribution (maximum one).

webAclId
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

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

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.

aliases
array
array

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

arn
string
comment
string
array

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

array

Default cache behavior for this distribution (maximum one). Requires either cache_policy_id (preferred) or forwarded_values (deprecated) be set.

array

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

array

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
array
array

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

forward
string
array

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

headers
array
array

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

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).

array

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

maxTtl
number
minTtl
number
array

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.

enabled
boolean
etag
string
id
string
array

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

bucket
string
prefix
string
array

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.

array

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

array

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
array
array

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

forward
string
array

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

headers
array
array

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

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).

array

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

maxTtl
number
minTtl
number
array

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.

origin
array
array

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
string
value
string
array

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

httpPort
number
httpsPort
number
array

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.

originId
string
array

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.

array

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

array

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

array

The failover criteria for when to failover to the secondary origin.

array

List of HTTP status codes for the origin group.

member
array
array

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

originId
string
originId
string
array

The restriction configuration for this distribution (maximum one).

array

No description provided.

array

ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist). If the type is specified as none an empty array can be used.

staging
boolean
status
string
tags
object
tagsAll
object
array

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

The SSL configuration for this distribution (maximum one).

webAclId
string
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.