cloudfront

package
v3.19.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Distribution

type Distribution struct {
	pulumi.CustomResourceState

	// Extra CNAMEs (alternate domain names), if any, for
	// this distribution.
	Aliases pulumi.StringArrayOutput `pulumi:"aliases"`
	// The ARN (Amazon Resource Name) for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Internal value used by CloudFront to allow future
	// updates to the distribution configuration.
	CallerReference pulumi.StringOutput `pulumi:"callerReference"`
	// Any comments you want to include about the
	// distribution.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// One or more custom error response elements (multiples allowed).
	CustomErrorResponses DistributionCustomErrorResponseArrayOutput `pulumi:"customErrorResponses"`
	// The default cache behavior for this distribution (maximum
	// one).
	DefaultCacheBehavior DistributionDefaultCacheBehaviorOutput `pulumi:"defaultCacheBehavior"`
	// The object that you want CloudFront to
	// return (for example, index.html) when an end user requests the root URL.
	DefaultRootObject pulumi.StringPtrOutput `pulumi:"defaultRootObject"`
	// The DNS domain name of either the S3 bucket, or
	// web site of your custom origin.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// Whether the distribution is enabled to accept end
	// user requests for content.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The current version of the distribution's information. For example:
	// `E2QWRUHAPOMQZL`.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The CloudFront Route 53 zone ID that can be used to
	// route an [Alias Resource Record Set](http://docs.aws.amazon.com/Route53/latest/APIReference/CreateAliasRRSAPI.html) to. This attribute is simply an
	// alias for the zone ID `Z2FDTNDATAQYW2`.
	HostedZoneId pulumi.StringOutput `pulumi:"hostedZoneId"`
	// The maximum HTTP version to support on the
	// distribution. Allowed values are `http1.1` and `http2`. The default is
	// `http2`.
	HttpVersion pulumi.StringPtrOutput `pulumi:"httpVersion"`
	// The number of invalidation batches
	// currently in progress.
	InProgressValidationBatches pulumi.IntOutput `pulumi:"inProgressValidationBatches"`
	// Whether the IPv6 is enabled for the distribution.
	IsIpv6Enabled pulumi.BoolPtrOutput `pulumi:"isIpv6Enabled"`
	// The date and time the distribution was last modified.
	LastModifiedTime pulumi.StringOutput `pulumi:"lastModifiedTime"`
	// The logging
	// configuration that controls how logs are written
	// to your distribution (maximum one).
	LoggingConfig DistributionLoggingConfigPtrOutput `pulumi:"loggingConfig"`
	// 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.
	OrderedCacheBehaviors DistributionOrderedCacheBehaviorArrayOutput `pulumi:"orderedCacheBehaviors"`
	// One or more originGroup for this
	// distribution (multiples allowed).
	OriginGroups DistributionOriginGroupArrayOutput `pulumi:"originGroups"`
	// One or more origins for this
	// distribution (multiples allowed).
	Origins DistributionOriginArrayOutput `pulumi:"origins"`
	// The price class for this distribution. One of
	// `PriceClass_All`, `PriceClass_200`, `PriceClass_100`
	PriceClass pulumi.StringPtrOutput `pulumi:"priceClass"`
	// The restriction
	// configuration for this distribution (maximum one).
	Restrictions DistributionRestrictionsOutput `pulumi:"restrictions"`
	// Disables the distribution instead of
	// deleting it when destroying the resource. If this is set,
	// the distribution needs to be deleted manually afterwards. Default: `false`.
	RetainOnDelete pulumi.BoolPtrOutput `pulumi:"retainOnDelete"`
	// The current status of the distribution. `Deployed` if the
	// distribution's information is fully propagated throughout the Amazon
	// CloudFront system.
	Status pulumi.StringOutput `pulumi:"status"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content.
	// See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.
	TrustedSigners DistributionTrustedSignerArrayOutput `pulumi:"trustedSigners"`
	// The SSL
	// configuration for this distribution (maximum
	// one).
	ViewerCertificate DistributionViewerCertificateOutput `pulumi:"viewerCertificate"`
	// If enabled, the resource will wait for
	// the distribution status to change from `InProgress` to `Deployed`. Setting
	// this to`false` will skip the process. Default: `true`.
	WaitForDeployment pulumi.BoolPtrOutput `pulumi:"waitForDeployment"`
	// A unique identifier that specifies the AWS WAF web ACL,
	// if any, to associate with this distribution.
	// To specify a web ACL created using the latest version of AWS WAF (WAFv2), use the ACL ARN,
	// for example `aws_wafv2_web_acl.example.arn`. To specify a web
	// ACL created using AWS WAF Classic, use the ACL ID, for example `aws_waf_web_acl.example.id`.
	// The WAF Web ACL must exist in the WAF Global (CloudFront) region and the
	// credentials configuring this argument must have `waf:GetWebACL` permissions assigned.
	WebAclId pulumi.StringPtrOutput `pulumi:"webAclId"`
}

Creates an Amazon CloudFront web distribution.

For information about CloudFront distributions, see the [Amazon CloudFront Developer Guide](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html). For specific information about creating CloudFront web distributions, see the [POST Distribution](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html) page in the Amazon CloudFront API Reference.

> **NOTE:** CloudFront distributions take about 15 minutes to a deployed state after creation or modification. During this time, deletes to resources will be blocked. If you need to delete a distribution that is enabled and you do not want to wait, you need to use the `retainOnDelete` flag.

## Import

Cloudfront Distributions can be imported using the `id`, e.g.

```sh

$ pulumi import aws:cloudfront/distribution:Distribution distribution E74FTE3EXAMPLE

```

func GetDistribution

func GetDistribution(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DistributionState, opts ...pulumi.ResourceOption) (*Distribution, error)

GetDistribution gets an existing Distribution resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDistribution

func NewDistribution(ctx *pulumi.Context,
	name string, args *DistributionArgs, opts ...pulumi.ResourceOption) (*Distribution, error)

NewDistribution registers a new resource with the given unique name, arguments, and options.

func (Distribution) ElementType added in v3.13.0

func (Distribution) ElementType() reflect.Type

func (Distribution) ToDistributionOutput added in v3.13.0

func (i Distribution) ToDistributionOutput() DistributionOutput

func (Distribution) ToDistributionOutputWithContext added in v3.13.0

func (i Distribution) ToDistributionOutputWithContext(ctx context.Context) DistributionOutput

type DistributionArgs

type DistributionArgs struct {
	// Extra CNAMEs (alternate domain names), if any, for
	// this distribution.
	Aliases pulumi.StringArrayInput
	// Any comments you want to include about the
	// distribution.
	Comment pulumi.StringPtrInput
	// One or more custom error response elements (multiples allowed).
	CustomErrorResponses DistributionCustomErrorResponseArrayInput
	// The default cache behavior for this distribution (maximum
	// one).
	DefaultCacheBehavior DistributionDefaultCacheBehaviorInput
	// The object that you want CloudFront to
	// return (for example, index.html) when an end user requests the root URL.
	DefaultRootObject pulumi.StringPtrInput
	// Whether the distribution is enabled to accept end
	// user requests for content.
	Enabled pulumi.BoolInput
	// The maximum HTTP version to support on the
	// distribution. Allowed values are `http1.1` and `http2`. The default is
	// `http2`.
	HttpVersion pulumi.StringPtrInput
	// Whether the IPv6 is enabled for the distribution.
	IsIpv6Enabled pulumi.BoolPtrInput
	// The logging
	// configuration that controls how logs are written
	// to your distribution (maximum one).
	LoggingConfig DistributionLoggingConfigPtrInput
	// 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.
	OrderedCacheBehaviors DistributionOrderedCacheBehaviorArrayInput
	// One or more originGroup for this
	// distribution (multiples allowed).
	OriginGroups DistributionOriginGroupArrayInput
	// One or more origins for this
	// distribution (multiples allowed).
	Origins DistributionOriginArrayInput
	// The price class for this distribution. One of
	// `PriceClass_All`, `PriceClass_200`, `PriceClass_100`
	PriceClass pulumi.StringPtrInput
	// The restriction
	// configuration for this distribution (maximum one).
	Restrictions DistributionRestrictionsInput
	// Disables the distribution instead of
	// deleting it when destroying the resource. If this is set,
	// the distribution needs to be deleted manually afterwards. Default: `false`.
	RetainOnDelete pulumi.BoolPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The SSL
	// configuration for this distribution (maximum
	// one).
	ViewerCertificate DistributionViewerCertificateInput
	// If enabled, the resource will wait for
	// the distribution status to change from `InProgress` to `Deployed`. Setting
	// this to`false` will skip the process. Default: `true`.
	WaitForDeployment pulumi.BoolPtrInput
	// A unique identifier that specifies the AWS WAF web ACL,
	// if any, to associate with this distribution.
	// To specify a web ACL created using the latest version of AWS WAF (WAFv2), use the ACL ARN,
	// for example `aws_wafv2_web_acl.example.arn`. To specify a web
	// ACL created using AWS WAF Classic, use the ACL ID, for example `aws_waf_web_acl.example.id`.
	// The WAF Web ACL must exist in the WAF Global (CloudFront) region and the
	// credentials configuring this argument must have `waf:GetWebACL` permissions assigned.
	WebAclId pulumi.StringPtrInput
}

The set of arguments for constructing a Distribution resource.

func (DistributionArgs) ElementType

func (DistributionArgs) ElementType() reflect.Type

type DistributionCustomErrorResponse

type DistributionCustomErrorResponse struct {
	// The minimum amount of time you want
	// HTTP error codes to stay in CloudFront caches before CloudFront queries your
	// origin to see whether the object has been updated.
	ErrorCachingMinTtl *int `pulumi:"errorCachingMinTtl"`
	// The 4xx or 5xx HTTP status code that you want to
	// customize.
	ErrorCode int `pulumi:"errorCode"`
	// The HTTP status code that you want CloudFront
	// to return with the custom error page to the viewer.
	ResponseCode *int `pulumi:"responseCode"`
	// The path of the custom error page (for
	// example, `/custom_404.html`).
	ResponsePagePath *string `pulumi:"responsePagePath"`
}

type DistributionCustomErrorResponseArgs

type DistributionCustomErrorResponseArgs struct {
	// The minimum amount of time you want
	// HTTP error codes to stay in CloudFront caches before CloudFront queries your
	// origin to see whether the object has been updated.
	ErrorCachingMinTtl pulumi.IntPtrInput `pulumi:"errorCachingMinTtl"`
	// The 4xx or 5xx HTTP status code that you want to
	// customize.
	ErrorCode pulumi.IntInput `pulumi:"errorCode"`
	// The HTTP status code that you want CloudFront
	// to return with the custom error page to the viewer.
	ResponseCode pulumi.IntPtrInput `pulumi:"responseCode"`
	// The path of the custom error page (for
	// example, `/custom_404.html`).
	ResponsePagePath pulumi.StringPtrInput `pulumi:"responsePagePath"`
}

func (DistributionCustomErrorResponseArgs) ElementType

func (DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutput

func (i DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutput() DistributionCustomErrorResponseOutput

func (DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutputWithContext

func (i DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutputWithContext(ctx context.Context) DistributionCustomErrorResponseOutput

type DistributionCustomErrorResponseArray

type DistributionCustomErrorResponseArray []DistributionCustomErrorResponseInput

func (DistributionCustomErrorResponseArray) ElementType

func (DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutput

func (i DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutput() DistributionCustomErrorResponseArrayOutput

func (DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutputWithContext

func (i DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutputWithContext(ctx context.Context) DistributionCustomErrorResponseArrayOutput

type DistributionCustomErrorResponseArrayInput

type DistributionCustomErrorResponseArrayInput interface {
	pulumi.Input

	ToDistributionCustomErrorResponseArrayOutput() DistributionCustomErrorResponseArrayOutput
	ToDistributionCustomErrorResponseArrayOutputWithContext(context.Context) DistributionCustomErrorResponseArrayOutput
}

DistributionCustomErrorResponseArrayInput is an input type that accepts DistributionCustomErrorResponseArray and DistributionCustomErrorResponseArrayOutput values. You can construct a concrete instance of `DistributionCustomErrorResponseArrayInput` via:

DistributionCustomErrorResponseArray{ DistributionCustomErrorResponseArgs{...} }

type DistributionCustomErrorResponseArrayOutput

type DistributionCustomErrorResponseArrayOutput struct{ *pulumi.OutputState }

func (DistributionCustomErrorResponseArrayOutput) ElementType

func (DistributionCustomErrorResponseArrayOutput) Index

func (DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutput

func (o DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutput() DistributionCustomErrorResponseArrayOutput

func (DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutputWithContext

func (o DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutputWithContext(ctx context.Context) DistributionCustomErrorResponseArrayOutput

type DistributionCustomErrorResponseInput

type DistributionCustomErrorResponseInput interface {
	pulumi.Input

	ToDistributionCustomErrorResponseOutput() DistributionCustomErrorResponseOutput
	ToDistributionCustomErrorResponseOutputWithContext(context.Context) DistributionCustomErrorResponseOutput
}

DistributionCustomErrorResponseInput is an input type that accepts DistributionCustomErrorResponseArgs and DistributionCustomErrorResponseOutput values. You can construct a concrete instance of `DistributionCustomErrorResponseInput` via:

DistributionCustomErrorResponseArgs{...}

type DistributionCustomErrorResponseOutput

type DistributionCustomErrorResponseOutput struct{ *pulumi.OutputState }

func (DistributionCustomErrorResponseOutput) ElementType

func (DistributionCustomErrorResponseOutput) ErrorCachingMinTtl

The minimum amount of time you want HTTP error codes to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.

func (DistributionCustomErrorResponseOutput) ErrorCode

The 4xx or 5xx HTTP status code that you want to customize.

func (DistributionCustomErrorResponseOutput) ResponseCode

The HTTP status code that you want CloudFront to return with the custom error page to the viewer.

func (DistributionCustomErrorResponseOutput) ResponsePagePath

The path of the custom error page (for example, `/custom_404.html`).

func (DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutput

func (o DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutput() DistributionCustomErrorResponseOutput

func (DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutputWithContext

func (o DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutputWithContext(ctx context.Context) DistributionCustomErrorResponseOutput

type DistributionDefaultCacheBehavior

type DistributionDefaultCacheBehavior struct {
	// Controls which HTTP methods CloudFront
	// processes and forwards to your Amazon S3 bucket or your custom origin.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// Controls whether CloudFront caches the
	// response to requests using the specified HTTP methods.
	CachedMethods []string `pulumi:"cachedMethods"`
	// Whether you want CloudFront to automatically
	// compress content for web requests that include `Accept-Encoding: gzip` in
	// the request header (default: `false`).
	Compress *bool `pulumi:"compress"`
	// The default amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
	// 1 day.
	DefaultTtl *int `pulumi:"defaultTtl"`
	// Field level encryption configuration ID
	FieldLevelEncryptionId *string `pulumi:"fieldLevelEncryptionId"`
	// The forwarded values configuration that specifies how CloudFront
	// handles query strings, cookies and headers (maximum one).
	ForwardedValues DistributionDefaultCacheBehaviorForwardedValues `pulumi:"forwardedValues"`
	// A config block that triggers a lambda function with
	// specific actions. Defined below, maximum 4.
	LambdaFunctionAssociations []DistributionDefaultCacheBehaviorLambdaFunctionAssociation `pulumi:"lambdaFunctionAssociations"`
	// The maximum amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// to your origin to determine whether the object has been updated. Only
	// effective in the presence of `Cache-Control max-age`, `Cache-Control
	// s-maxage`, and `Expires` headers. Defaults to 365 days.
	MaxTtl *int `pulumi:"maxTtl"`
	// The minimum amount of time that you want objects to
	// stay in CloudFront caches before CloudFront queries your origin to see
	// whether the object has been updated. Defaults to 0 seconds.
	MinTtl *int `pulumi:"minTtl"`
	// Indicates whether you want to distribute
	// media files in Microsoft Smooth Streaming format using the origin that is
	// associated with this cache behavior.
	SmoothStreaming *bool `pulumi:"smoothStreaming"`
	// The value of ID for the origin that you want
	// CloudFront to route requests to when a request matches the path pattern
	// either for a cache behavior or for the default cache behavior.
	TargetOriginId string `pulumi:"targetOriginId"`
	// List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content.
	// See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.
	TrustedSigners []string `pulumi:"trustedSigners"`
	// Use this element to specify the
	// protocol that users can use to access the files in the origin specified by
	// TargetOriginId when a request matches the path pattern in PathPattern. One
	// of `allow-all`, `https-only`, or `redirect-to-https`.
	ViewerProtocolPolicy string `pulumi:"viewerProtocolPolicy"`
}

type DistributionDefaultCacheBehaviorArgs

type DistributionDefaultCacheBehaviorArgs struct {
	// Controls which HTTP methods CloudFront
	// processes and forwards to your Amazon S3 bucket or your custom origin.
	AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"`
	// Controls whether CloudFront caches the
	// response to requests using the specified HTTP methods.
	CachedMethods pulumi.StringArrayInput `pulumi:"cachedMethods"`
	// Whether you want CloudFront to automatically
	// compress content for web requests that include `Accept-Encoding: gzip` in
	// the request header (default: `false`).
	Compress pulumi.BoolPtrInput `pulumi:"compress"`
	// The default amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
	// 1 day.
	DefaultTtl pulumi.IntPtrInput `pulumi:"defaultTtl"`
	// Field level encryption configuration ID
	FieldLevelEncryptionId pulumi.StringPtrInput `pulumi:"fieldLevelEncryptionId"`
	// The forwarded values configuration that specifies how CloudFront
	// handles query strings, cookies and headers (maximum one).
	ForwardedValues DistributionDefaultCacheBehaviorForwardedValuesInput `pulumi:"forwardedValues"`
	// A config block that triggers a lambda function with
	// specific actions. Defined below, maximum 4.
	LambdaFunctionAssociations DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayInput `pulumi:"lambdaFunctionAssociations"`
	// The maximum amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// to your origin to determine whether the object has been updated. Only
	// effective in the presence of `Cache-Control max-age`, `Cache-Control
	// s-maxage`, and `Expires` headers. Defaults to 365 days.
	MaxTtl pulumi.IntPtrInput `pulumi:"maxTtl"`
	// The minimum amount of time that you want objects to
	// stay in CloudFront caches before CloudFront queries your origin to see
	// whether the object has been updated. Defaults to 0 seconds.
	MinTtl pulumi.IntPtrInput `pulumi:"minTtl"`
	// Indicates whether you want to distribute
	// media files in Microsoft Smooth Streaming format using the origin that is
	// associated with this cache behavior.
	SmoothStreaming pulumi.BoolPtrInput `pulumi:"smoothStreaming"`
	// The value of ID for the origin that you want
	// CloudFront to route requests to when a request matches the path pattern
	// either for a cache behavior or for the default cache behavior.
	TargetOriginId pulumi.StringInput `pulumi:"targetOriginId"`
	// List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content.
	// See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.
	TrustedSigners pulumi.StringArrayInput `pulumi:"trustedSigners"`
	// Use this element to specify the
	// protocol that users can use to access the files in the origin specified by
	// TargetOriginId when a request matches the path pattern in PathPattern. One
	// of `allow-all`, `https-only`, or `redirect-to-https`.
	ViewerProtocolPolicy pulumi.StringInput `pulumi:"viewerProtocolPolicy"`
}

func (DistributionDefaultCacheBehaviorArgs) ElementType

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutput

func (i DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutput() DistributionDefaultCacheBehaviorOutput

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutputWithContext

func (i DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorOutput

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutput

func (i DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutputWithContext

func (i DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorPtrOutput

type DistributionDefaultCacheBehaviorForwardedValues

type DistributionDefaultCacheBehaviorForwardedValues struct {
	// The forwarded values cookies
	// that specifies how CloudFront handles cookies (maximum one).
	Cookies DistributionDefaultCacheBehaviorForwardedValuesCookies `pulumi:"cookies"`
	// Specifies the Headers, if any, that you want
	// CloudFront to vary upon for this cache behavior. Specify `*` to include all
	// headers.
	Headers []string `pulumi:"headers"`
	// Indicates whether you want CloudFront to forward
	// query strings to the origin that is associated with this cache behavior.
	QueryString bool `pulumi:"queryString"`
	// When specified, along with a value of
	// `true` for `queryString`, 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 `queryString`, all query string keys are cached.
	QueryStringCacheKeys []string `pulumi:"queryStringCacheKeys"`
}

type DistributionDefaultCacheBehaviorForwardedValuesArgs

type DistributionDefaultCacheBehaviorForwardedValuesArgs struct {
	// The forwarded values cookies
	// that specifies how CloudFront handles cookies (maximum one).
	Cookies DistributionDefaultCacheBehaviorForwardedValuesCookiesInput `pulumi:"cookies"`
	// Specifies the Headers, if any, that you want
	// CloudFront to vary upon for this cache behavior. Specify `*` to include all
	// headers.
	Headers pulumi.StringArrayInput `pulumi:"headers"`
	// Indicates whether you want CloudFront to forward
	// query strings to the origin that is associated with this cache behavior.
	QueryString pulumi.BoolInput `pulumi:"queryString"`
	// When specified, along with a value of
	// `true` for `queryString`, 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 `queryString`, all query string keys are cached.
	QueryStringCacheKeys pulumi.StringArrayInput `pulumi:"queryStringCacheKeys"`
}

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutput

func (i DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutput() DistributionDefaultCacheBehaviorForwardedValuesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutputWithContext

func (i DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutput

func (i DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutput() DistributionDefaultCacheBehaviorForwardedValuesPtrOutput

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutputWithContext

func (i DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesPtrOutput

type DistributionDefaultCacheBehaviorForwardedValuesCookies

type DistributionDefaultCacheBehaviorForwardedValuesCookies struct {
	// Specifies whether you want CloudFront to forward
	// cookies to the origin that is associated with this cache behavior. You can
	// specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
	// subsequent `whitelistedNames`
	Forward string `pulumi:"forward"`
	// If you have specified `whitelist` to
	// `forward`, the whitelisted cookies that you want CloudFront to forward to
	// your origin.
	WhitelistedNames []string `pulumi:"whitelistedNames"`
}

type DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs

type DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs struct {
	// Specifies whether you want CloudFront to forward
	// cookies to the origin that is associated with this cache behavior. You can
	// specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
	// subsequent `whitelistedNames`
	Forward pulumi.StringInput `pulumi:"forward"`
	// If you have specified `whitelist` to
	// `forward`, the whitelisted cookies that you want CloudFront to forward to
	// your origin.
	WhitelistedNames pulumi.StringArrayInput `pulumi:"whitelistedNames"`
}

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputWithContext

func (i DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutputWithContext

func (i DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput

type DistributionDefaultCacheBehaviorForwardedValuesCookiesInput

type DistributionDefaultCacheBehaviorForwardedValuesCookiesInput interface {
	pulumi.Input

	ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutput() DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput
	ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputWithContext(context.Context) DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput
}

DistributionDefaultCacheBehaviorForwardedValuesCookiesInput is an input type that accepts DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs and DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput values. You can construct a concrete instance of `DistributionDefaultCacheBehaviorForwardedValuesCookiesInput` via:

DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs{...}

type DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput

type DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) Forward

Specifies whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify `all`, `none` or `whitelist`. If `whitelist`, you must include the subsequent `whitelistedNames`

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputWithContext

func (o DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutputWithContext

func (o DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) WhitelistedNames

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

type DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrInput

type DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrInput interface {
	pulumi.Input

	ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput() DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput
	ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutputWithContext(context.Context) DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput
}

DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrInput is an input type that accepts DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs, DistributionDefaultCacheBehaviorForwardedValuesCookiesPtr and DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput values. You can construct a concrete instance of `DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrInput` via:

        DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs{...}

or:

        nil

type DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput

type DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput) Elem

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput) Forward

Specifies whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify `all`, `none` or `whitelist`. If `whitelist`, you must include the subsequent `whitelistedNames`

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutputWithContext

func (o DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesPtrOutput) WhitelistedNames

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

type DistributionDefaultCacheBehaviorForwardedValuesInput

type DistributionDefaultCacheBehaviorForwardedValuesInput interface {
	pulumi.Input

	ToDistributionDefaultCacheBehaviorForwardedValuesOutput() DistributionDefaultCacheBehaviorForwardedValuesOutput
	ToDistributionDefaultCacheBehaviorForwardedValuesOutputWithContext(context.Context) DistributionDefaultCacheBehaviorForwardedValuesOutput
}

DistributionDefaultCacheBehaviorForwardedValuesInput is an input type that accepts DistributionDefaultCacheBehaviorForwardedValuesArgs and DistributionDefaultCacheBehaviorForwardedValuesOutput values. You can construct a concrete instance of `DistributionDefaultCacheBehaviorForwardedValuesInput` via:

DistributionDefaultCacheBehaviorForwardedValuesArgs{...}

type DistributionDefaultCacheBehaviorForwardedValuesOutput

type DistributionDefaultCacheBehaviorForwardedValuesOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) Cookies

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

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) Headers

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

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) QueryString

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) QueryStringCacheKeys

When specified, along with a value of `true` for `queryString`, 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 `queryString`, all query string keys are cached.

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesOutputWithContext

func (o DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutput

func (o DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutput() DistributionDefaultCacheBehaviorForwardedValuesPtrOutput

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutputWithContext

func (o DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesPtrOutput

type DistributionDefaultCacheBehaviorForwardedValuesPtrInput

type DistributionDefaultCacheBehaviorForwardedValuesPtrInput interface {
	pulumi.Input

	ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutput() DistributionDefaultCacheBehaviorForwardedValuesPtrOutput
	ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutputWithContext(context.Context) DistributionDefaultCacheBehaviorForwardedValuesPtrOutput
}

DistributionDefaultCacheBehaviorForwardedValuesPtrInput is an input type that accepts DistributionDefaultCacheBehaviorForwardedValuesArgs, DistributionDefaultCacheBehaviorForwardedValuesPtr and DistributionDefaultCacheBehaviorForwardedValuesPtrOutput values. You can construct a concrete instance of `DistributionDefaultCacheBehaviorForwardedValuesPtrInput` via:

        DistributionDefaultCacheBehaviorForwardedValuesArgs{...}

or:

        nil

type DistributionDefaultCacheBehaviorForwardedValuesPtrOutput

type DistributionDefaultCacheBehaviorForwardedValuesPtrOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorForwardedValuesPtrOutput) Cookies

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

func (DistributionDefaultCacheBehaviorForwardedValuesPtrOutput) Elem

func (DistributionDefaultCacheBehaviorForwardedValuesPtrOutput) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesPtrOutput) Headers

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

func (DistributionDefaultCacheBehaviorForwardedValuesPtrOutput) QueryString

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.

func (DistributionDefaultCacheBehaviorForwardedValuesPtrOutput) QueryStringCacheKeys

When specified, along with a value of `true` for `queryString`, 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 `queryString`, all query string keys are cached.

func (DistributionDefaultCacheBehaviorForwardedValuesPtrOutput) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutput

func (DistributionDefaultCacheBehaviorForwardedValuesPtrOutput) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutputWithContext

func (o DistributionDefaultCacheBehaviorForwardedValuesPtrOutput) ToDistributionDefaultCacheBehaviorForwardedValuesPtrOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorForwardedValuesPtrOutput

type DistributionDefaultCacheBehaviorInput

type DistributionDefaultCacheBehaviorInput interface {
	pulumi.Input

	ToDistributionDefaultCacheBehaviorOutput() DistributionDefaultCacheBehaviorOutput
	ToDistributionDefaultCacheBehaviorOutputWithContext(context.Context) DistributionDefaultCacheBehaviorOutput
}

DistributionDefaultCacheBehaviorInput is an input type that accepts DistributionDefaultCacheBehaviorArgs and DistributionDefaultCacheBehaviorOutput values. You can construct a concrete instance of `DistributionDefaultCacheBehaviorInput` via:

DistributionDefaultCacheBehaviorArgs{...}

type DistributionDefaultCacheBehaviorLambdaFunctionAssociation

type DistributionDefaultCacheBehaviorLambdaFunctionAssociation struct {
	// The specific event to trigger this function.
	// Valid values: `viewer-request`, `origin-request`, `viewer-response`,
	// `origin-response`
	EventType string `pulumi:"eventType"`
	// When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
	IncludeBody *bool `pulumi:"includeBody"`
	// ARN of the Lambda function.
	LambdaArn string `pulumi:"lambdaArn"`
}

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs struct {
	// The specific event to trigger this function.
	// Valid values: `viewer-request`, `origin-request`, `viewer-response`,
	// `origin-response`
	EventType pulumi.StringInput `pulumi:"eventType"`
	// When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
	IncludeBody pulumi.BoolPtrInput `pulumi:"includeBody"`
	// ARN of the Lambda function.
	LambdaArn pulumi.StringInput `pulumi:"lambdaArn"`
}

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs) ElementType

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutputWithContext

func (i DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray []DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ElementType

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext

func (i DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayInput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayInput interface {
	pulumi.Input

	ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput() DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput
	ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext(context.Context) DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput
}

DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayInput is an input type that accepts DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray and DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput values. You can construct a concrete instance of `DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayInput` via:

DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray{ DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs{...} }

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ElementType

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext

func (o DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput interface {
	pulumi.Input

	ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput() DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput
	ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutputWithContext(context.Context) DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput
}

DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput is an input type that accepts DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs and DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput values. You can construct a concrete instance of `DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput` via:

DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs{...}

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ElementType

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) EventType

The specific event to trigger this function. Valid values: `viewer-request`, `origin-request`, `viewer-response`, `origin-response`

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) IncludeBody

When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) LambdaArn

ARN of the Lambda function.

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutputWithContext

func (o DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput

type DistributionDefaultCacheBehaviorOutput

type DistributionDefaultCacheBehaviorOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorOutput) AllowedMethods

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

func (DistributionDefaultCacheBehaviorOutput) CachedMethods

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

func (DistributionDefaultCacheBehaviorOutput) Compress

Whether you want CloudFront to automatically compress content for web requests that include `Accept-Encoding: gzip` in the request header (default: `false`).

func (DistributionDefaultCacheBehaviorOutput) DefaultTtl

The default amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to 1 day.

func (DistributionDefaultCacheBehaviorOutput) ElementType

func (DistributionDefaultCacheBehaviorOutput) FieldLevelEncryptionId

Field level encryption configuration ID

func (DistributionDefaultCacheBehaviorOutput) ForwardedValues

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

func (DistributionDefaultCacheBehaviorOutput) LambdaFunctionAssociations

A config block that triggers a lambda function with specific actions. Defined below, maximum 4.

func (DistributionDefaultCacheBehaviorOutput) MaxTtl

The maximum amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request to your origin to determine whether the object has been updated. Only effective in the presence of `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` headers. Defaults to 365 days.

func (DistributionDefaultCacheBehaviorOutput) MinTtl

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated. Defaults to 0 seconds.

func (DistributionDefaultCacheBehaviorOutput) SmoothStreaming

Indicates whether you want to distribute media files in Microsoft Smooth Streaming format using the origin that is associated with this cache behavior.

func (DistributionDefaultCacheBehaviorOutput) TargetOriginId

The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorOutput

func (o DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorOutput() DistributionDefaultCacheBehaviorOutput

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorOutputWithContext

func (o DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorOutput

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutput

func (o DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutputWithContext

func (o DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorOutput) TrustedSigners

List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content. See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.

func (DistributionDefaultCacheBehaviorOutput) ViewerProtocolPolicy

Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of `allow-all`, `https-only`, or `redirect-to-https`.

type DistributionDefaultCacheBehaviorPtrInput

type DistributionDefaultCacheBehaviorPtrInput interface {
	pulumi.Input

	ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput
	ToDistributionDefaultCacheBehaviorPtrOutputWithContext(context.Context) DistributionDefaultCacheBehaviorPtrOutput
}

DistributionDefaultCacheBehaviorPtrInput is an input type that accepts DistributionDefaultCacheBehaviorArgs, DistributionDefaultCacheBehaviorPtr and DistributionDefaultCacheBehaviorPtrOutput values. You can construct a concrete instance of `DistributionDefaultCacheBehaviorPtrInput` via:

        DistributionDefaultCacheBehaviorArgs{...}

or:

        nil

type DistributionDefaultCacheBehaviorPtrOutput

type DistributionDefaultCacheBehaviorPtrOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorPtrOutput) AllowedMethods

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

func (DistributionDefaultCacheBehaviorPtrOutput) CachedMethods

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

func (DistributionDefaultCacheBehaviorPtrOutput) Compress

Whether you want CloudFront to automatically compress content for web requests that include `Accept-Encoding: gzip` in the request header (default: `false`).

func (DistributionDefaultCacheBehaviorPtrOutput) DefaultTtl

The default amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to 1 day.

func (DistributionDefaultCacheBehaviorPtrOutput) Elem

func (DistributionDefaultCacheBehaviorPtrOutput) ElementType

func (DistributionDefaultCacheBehaviorPtrOutput) FieldLevelEncryptionId

Field level encryption configuration ID

func (DistributionDefaultCacheBehaviorPtrOutput) ForwardedValues

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

func (DistributionDefaultCacheBehaviorPtrOutput) LambdaFunctionAssociations

A config block that triggers a lambda function with specific actions. Defined below, maximum 4.

func (DistributionDefaultCacheBehaviorPtrOutput) MaxTtl

The maximum amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request to your origin to determine whether the object has been updated. Only effective in the presence of `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` headers. Defaults to 365 days.

func (DistributionDefaultCacheBehaviorPtrOutput) MinTtl

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated. Defaults to 0 seconds.

func (DistributionDefaultCacheBehaviorPtrOutput) SmoothStreaming

Indicates whether you want to distribute media files in Microsoft Smooth Streaming format using the origin that is associated with this cache behavior.

func (DistributionDefaultCacheBehaviorPtrOutput) TargetOriginId

The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.

func (DistributionDefaultCacheBehaviorPtrOutput) ToDistributionDefaultCacheBehaviorPtrOutput

func (o DistributionDefaultCacheBehaviorPtrOutput) ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorPtrOutput) ToDistributionDefaultCacheBehaviorPtrOutputWithContext

func (o DistributionDefaultCacheBehaviorPtrOutput) ToDistributionDefaultCacheBehaviorPtrOutputWithContext(ctx context.Context) DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorPtrOutput) TrustedSigners

List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content. See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.

func (DistributionDefaultCacheBehaviorPtrOutput) ViewerProtocolPolicy

Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of `allow-all`, `https-only`, or `redirect-to-https`.

type DistributionInput added in v3.13.0

type DistributionInput interface {
	pulumi.Input

	ToDistributionOutput() DistributionOutput
	ToDistributionOutputWithContext(ctx context.Context) DistributionOutput
}

type DistributionLoggingConfig

type DistributionLoggingConfig struct {
	// The Amazon S3 bucket to store the access logs in, for
	// example, `myawslogbucket.s3.amazonaws.com`.
	Bucket string `pulumi:"bucket"`
	// Specifies whether you want CloudFront to
	// include cookies in access logs (default: `false`).
	IncludeCookies *bool `pulumi:"includeCookies"`
	// An optional string that you want CloudFront to prefix
	// to the access log filenames for this distribution, for example, `myprefix/`.
	Prefix *string `pulumi:"prefix"`
}

type DistributionLoggingConfigArgs

type DistributionLoggingConfigArgs struct {
	// The Amazon S3 bucket to store the access logs in, for
	// example, `myawslogbucket.s3.amazonaws.com`.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// Specifies whether you want CloudFront to
	// include cookies in access logs (default: `false`).
	IncludeCookies pulumi.BoolPtrInput `pulumi:"includeCookies"`
	// An optional string that you want CloudFront to prefix
	// to the access log filenames for this distribution, for example, `myprefix/`.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
}

func (DistributionLoggingConfigArgs) ElementType

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutput

func (i DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutput() DistributionLoggingConfigOutput

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutputWithContext

func (i DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutputWithContext(ctx context.Context) DistributionLoggingConfigOutput

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutput

func (i DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutputWithContext

func (i DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutputWithContext(ctx context.Context) DistributionLoggingConfigPtrOutput

type DistributionLoggingConfigInput

type DistributionLoggingConfigInput interface {
	pulumi.Input

	ToDistributionLoggingConfigOutput() DistributionLoggingConfigOutput
	ToDistributionLoggingConfigOutputWithContext(context.Context) DistributionLoggingConfigOutput
}

DistributionLoggingConfigInput is an input type that accepts DistributionLoggingConfigArgs and DistributionLoggingConfigOutput values. You can construct a concrete instance of `DistributionLoggingConfigInput` via:

DistributionLoggingConfigArgs{...}

type DistributionLoggingConfigOutput

type DistributionLoggingConfigOutput struct{ *pulumi.OutputState }

func (DistributionLoggingConfigOutput) Bucket

The Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com`.

func (DistributionLoggingConfigOutput) ElementType

func (DistributionLoggingConfigOutput) IncludeCookies

Specifies whether you want CloudFront to include cookies in access logs (default: `false`).

func (DistributionLoggingConfigOutput) Prefix

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, `myprefix/`.

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutput

func (o DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutput() DistributionLoggingConfigOutput

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutputWithContext

func (o DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutputWithContext(ctx context.Context) DistributionLoggingConfigOutput

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutput

func (o DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutputWithContext

func (o DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutputWithContext(ctx context.Context) DistributionLoggingConfigPtrOutput

type DistributionLoggingConfigPtrInput

type DistributionLoggingConfigPtrInput interface {
	pulumi.Input

	ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput
	ToDistributionLoggingConfigPtrOutputWithContext(context.Context) DistributionLoggingConfigPtrOutput
}

DistributionLoggingConfigPtrInput is an input type that accepts DistributionLoggingConfigArgs, DistributionLoggingConfigPtr and DistributionLoggingConfigPtrOutput values. You can construct a concrete instance of `DistributionLoggingConfigPtrInput` via:

        DistributionLoggingConfigArgs{...}

or:

        nil

type DistributionLoggingConfigPtrOutput

type DistributionLoggingConfigPtrOutput struct{ *pulumi.OutputState }

func (DistributionLoggingConfigPtrOutput) Bucket

The Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com`.

func (DistributionLoggingConfigPtrOutput) Elem

func (DistributionLoggingConfigPtrOutput) ElementType

func (DistributionLoggingConfigPtrOutput) IncludeCookies

Specifies whether you want CloudFront to include cookies in access logs (default: `false`).

func (DistributionLoggingConfigPtrOutput) Prefix

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, `myprefix/`.

func (DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutput

func (o DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput

func (DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutputWithContext

func (o DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutputWithContext(ctx context.Context) DistributionLoggingConfigPtrOutput

type DistributionOrderedCacheBehavior

type DistributionOrderedCacheBehavior struct {
	// Controls which HTTP methods CloudFront
	// processes and forwards to your Amazon S3 bucket or your custom origin.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// Controls whether CloudFront caches the
	// response to requests using the specified HTTP methods.
	CachedMethods []string `pulumi:"cachedMethods"`
	// Whether you want CloudFront to automatically
	// compress content for web requests that include `Accept-Encoding: gzip` in
	// the request header (default: `false`).
	Compress *bool `pulumi:"compress"`
	// The default amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
	// 1 day.
	DefaultTtl *int `pulumi:"defaultTtl"`
	// Field level encryption configuration ID
	FieldLevelEncryptionId *string `pulumi:"fieldLevelEncryptionId"`
	// The forwarded values configuration that specifies how CloudFront
	// handles query strings, cookies and headers (maximum one).
	ForwardedValues DistributionOrderedCacheBehaviorForwardedValues `pulumi:"forwardedValues"`
	// A config block that triggers a lambda function with
	// specific actions. Defined below, maximum 4.
	LambdaFunctionAssociations []DistributionOrderedCacheBehaviorLambdaFunctionAssociation `pulumi:"lambdaFunctionAssociations"`
	// The maximum amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// to your origin to determine whether the object has been updated. Only
	// effective in the presence of `Cache-Control max-age`, `Cache-Control
	// s-maxage`, and `Expires` headers. Defaults to 365 days.
	MaxTtl *int `pulumi:"maxTtl"`
	// The minimum amount of time that you want objects to
	// stay in CloudFront caches before CloudFront queries your origin to see
	// whether the object has been updated. Defaults to 0 seconds.
	MinTtl *int `pulumi:"minTtl"`
	// The pattern (for example, `images/*.jpg)` that
	// specifies which requests you want this cache behavior to apply to.
	PathPattern string `pulumi:"pathPattern"`
	// Indicates whether you want to distribute
	// media files in Microsoft Smooth Streaming format using the origin that is
	// associated with this cache behavior.
	SmoothStreaming *bool `pulumi:"smoothStreaming"`
	// The value of ID for the origin that you want
	// CloudFront to route requests to when a request matches the path pattern
	// either for a cache behavior or for the default cache behavior.
	TargetOriginId string `pulumi:"targetOriginId"`
	// List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content.
	// See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.
	TrustedSigners []string `pulumi:"trustedSigners"`
	// Use this element to specify the
	// protocol that users can use to access the files in the origin specified by
	// TargetOriginId when a request matches the path pattern in PathPattern. One
	// of `allow-all`, `https-only`, or `redirect-to-https`.
	ViewerProtocolPolicy string `pulumi:"viewerProtocolPolicy"`
}

type DistributionOrderedCacheBehaviorArgs

type DistributionOrderedCacheBehaviorArgs struct {
	// Controls which HTTP methods CloudFront
	// processes and forwards to your Amazon S3 bucket or your custom origin.
	AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"`
	// Controls whether CloudFront caches the
	// response to requests using the specified HTTP methods.
	CachedMethods pulumi.StringArrayInput `pulumi:"cachedMethods"`
	// Whether you want CloudFront to automatically
	// compress content for web requests that include `Accept-Encoding: gzip` in
	// the request header (default: `false`).
	Compress pulumi.BoolPtrInput `pulumi:"compress"`
	// The default amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
	// 1 day.
	DefaultTtl pulumi.IntPtrInput `pulumi:"defaultTtl"`
	// Field level encryption configuration ID
	FieldLevelEncryptionId pulumi.StringPtrInput `pulumi:"fieldLevelEncryptionId"`
	// The forwarded values configuration that specifies how CloudFront
	// handles query strings, cookies and headers (maximum one).
	ForwardedValues DistributionOrderedCacheBehaviorForwardedValuesInput `pulumi:"forwardedValues"`
	// A config block that triggers a lambda function with
	// specific actions. Defined below, maximum 4.
	LambdaFunctionAssociations DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput `pulumi:"lambdaFunctionAssociations"`
	// The maximum amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// to your origin to determine whether the object has been updated. Only
	// effective in the presence of `Cache-Control max-age`, `Cache-Control
	// s-maxage`, and `Expires` headers. Defaults to 365 days.
	MaxTtl pulumi.IntPtrInput `pulumi:"maxTtl"`
	// The minimum amount of time that you want objects to
	// stay in CloudFront caches before CloudFront queries your origin to see
	// whether the object has been updated. Defaults to 0 seconds.
	MinTtl pulumi.IntPtrInput `pulumi:"minTtl"`
	// The pattern (for example, `images/*.jpg)` that
	// specifies which requests you want this cache behavior to apply to.
	PathPattern pulumi.StringInput `pulumi:"pathPattern"`
	// Indicates whether you want to distribute
	// media files in Microsoft Smooth Streaming format using the origin that is
	// associated with this cache behavior.
	SmoothStreaming pulumi.BoolPtrInput `pulumi:"smoothStreaming"`
	// The value of ID for the origin that you want
	// CloudFront to route requests to when a request matches the path pattern
	// either for a cache behavior or for the default cache behavior.
	TargetOriginId pulumi.StringInput `pulumi:"targetOriginId"`
	// List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content.
	// See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.
	TrustedSigners pulumi.StringArrayInput `pulumi:"trustedSigners"`
	// Use this element to specify the
	// protocol that users can use to access the files in the origin specified by
	// TargetOriginId when a request matches the path pattern in PathPattern. One
	// of `allow-all`, `https-only`, or `redirect-to-https`.
	ViewerProtocolPolicy pulumi.StringInput `pulumi:"viewerProtocolPolicy"`
}

func (DistributionOrderedCacheBehaviorArgs) ElementType

func (DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutput

func (i DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutput() DistributionOrderedCacheBehaviorOutput

func (DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutputWithContext

func (i DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorOutput

type DistributionOrderedCacheBehaviorArray

type DistributionOrderedCacheBehaviorArray []DistributionOrderedCacheBehaviorInput

func (DistributionOrderedCacheBehaviorArray) ElementType

func (DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutput

func (i DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutput() DistributionOrderedCacheBehaviorArrayOutput

func (DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutputWithContext

func (i DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorArrayOutput

type DistributionOrderedCacheBehaviorArrayInput

type DistributionOrderedCacheBehaviorArrayInput interface {
	pulumi.Input

	ToDistributionOrderedCacheBehaviorArrayOutput() DistributionOrderedCacheBehaviorArrayOutput
	ToDistributionOrderedCacheBehaviorArrayOutputWithContext(context.Context) DistributionOrderedCacheBehaviorArrayOutput
}

DistributionOrderedCacheBehaviorArrayInput is an input type that accepts DistributionOrderedCacheBehaviorArray and DistributionOrderedCacheBehaviorArrayOutput values. You can construct a concrete instance of `DistributionOrderedCacheBehaviorArrayInput` via:

DistributionOrderedCacheBehaviorArray{ DistributionOrderedCacheBehaviorArgs{...} }

type DistributionOrderedCacheBehaviorArrayOutput

type DistributionOrderedCacheBehaviorArrayOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorArrayOutput) ElementType

func (DistributionOrderedCacheBehaviorArrayOutput) Index

func (DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutput

func (o DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutput() DistributionOrderedCacheBehaviorArrayOutput

func (DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutputWithContext

func (o DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorArrayOutput

type DistributionOrderedCacheBehaviorForwardedValues

type DistributionOrderedCacheBehaviorForwardedValues struct {
	// The forwarded values cookies
	// that specifies how CloudFront handles cookies (maximum one).
	Cookies DistributionOrderedCacheBehaviorForwardedValuesCookies `pulumi:"cookies"`
	// Specifies the Headers, if any, that you want
	// CloudFront to vary upon for this cache behavior. Specify `*` to include all
	// headers.
	Headers []string `pulumi:"headers"`
	// Indicates whether you want CloudFront to forward
	// query strings to the origin that is associated with this cache behavior.
	QueryString bool `pulumi:"queryString"`
	// When specified, along with a value of
	// `true` for `queryString`, 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 `queryString`, all query string keys are cached.
	QueryStringCacheKeys []string `pulumi:"queryStringCacheKeys"`
}

type DistributionOrderedCacheBehaviorForwardedValuesArgs

type DistributionOrderedCacheBehaviorForwardedValuesArgs struct {
	// The forwarded values cookies
	// that specifies how CloudFront handles cookies (maximum one).
	Cookies DistributionOrderedCacheBehaviorForwardedValuesCookiesInput `pulumi:"cookies"`
	// Specifies the Headers, if any, that you want
	// CloudFront to vary upon for this cache behavior. Specify `*` to include all
	// headers.
	Headers pulumi.StringArrayInput `pulumi:"headers"`
	// Indicates whether you want CloudFront to forward
	// query strings to the origin that is associated with this cache behavior.
	QueryString pulumi.BoolInput `pulumi:"queryString"`
	// When specified, along with a value of
	// `true` for `queryString`, 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 `queryString`, all query string keys are cached.
	QueryStringCacheKeys pulumi.StringArrayInput `pulumi:"queryStringCacheKeys"`
}

func (DistributionOrderedCacheBehaviorForwardedValuesArgs) ElementType

func (DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutput

func (i DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutput() DistributionOrderedCacheBehaviorForwardedValuesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutputWithContext

func (i DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorForwardedValuesOutput

type DistributionOrderedCacheBehaviorForwardedValuesCookies

type DistributionOrderedCacheBehaviorForwardedValuesCookies struct {
	// Specifies whether you want CloudFront to forward
	// cookies to the origin that is associated with this cache behavior. You can
	// specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
	// subsequent `whitelistedNames`
	Forward string `pulumi:"forward"`
	// If you have specified `whitelist` to
	// `forward`, the whitelisted cookies that you want CloudFront to forward to
	// your origin.
	WhitelistedNames []string `pulumi:"whitelistedNames"`
}

type DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs

type DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs struct {
	// Specifies whether you want CloudFront to forward
	// cookies to the origin that is associated with this cache behavior. You can
	// specify `all`, `none` or `whitelist`. If `whitelist`, you must include the
	// subsequent `whitelistedNames`
	Forward pulumi.StringInput `pulumi:"forward"`
	// If you have specified `whitelist` to
	// `forward`, the whitelisted cookies that you want CloudFront to forward to
	// your origin.
	WhitelistedNames pulumi.StringArrayInput `pulumi:"whitelistedNames"`
}

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs) ElementType

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputWithContext

func (i DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput

type DistributionOrderedCacheBehaviorForwardedValuesCookiesInput

type DistributionOrderedCacheBehaviorForwardedValuesCookiesInput interface {
	pulumi.Input

	ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutput() DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput
	ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputWithContext(context.Context) DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput
}

DistributionOrderedCacheBehaviorForwardedValuesCookiesInput is an input type that accepts DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs and DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput values. You can construct a concrete instance of `DistributionOrderedCacheBehaviorForwardedValuesCookiesInput` via:

DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs{...}

type DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput

type DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) ElementType

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) Forward

Specifies whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify `all`, `none` or `whitelist`. If `whitelist`, you must include the subsequent `whitelistedNames`

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputWithContext

func (o DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) WhitelistedNames

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

type DistributionOrderedCacheBehaviorForwardedValuesInput

type DistributionOrderedCacheBehaviorForwardedValuesInput interface {
	pulumi.Input

	ToDistributionOrderedCacheBehaviorForwardedValuesOutput() DistributionOrderedCacheBehaviorForwardedValuesOutput
	ToDistributionOrderedCacheBehaviorForwardedValuesOutputWithContext(context.Context) DistributionOrderedCacheBehaviorForwardedValuesOutput
}

DistributionOrderedCacheBehaviorForwardedValuesInput is an input type that accepts DistributionOrderedCacheBehaviorForwardedValuesArgs and DistributionOrderedCacheBehaviorForwardedValuesOutput values. You can construct a concrete instance of `DistributionOrderedCacheBehaviorForwardedValuesInput` via:

DistributionOrderedCacheBehaviorForwardedValuesArgs{...}

type DistributionOrderedCacheBehaviorForwardedValuesOutput

type DistributionOrderedCacheBehaviorForwardedValuesOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) Cookies

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

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) ElementType

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) Headers

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

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) QueryString

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) QueryStringCacheKeys

When specified, along with a value of `true` for `queryString`, 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 `queryString`, all query string keys are cached.

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesOutputWithContext

func (o DistributionOrderedCacheBehaviorForwardedValuesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorForwardedValuesOutput

type DistributionOrderedCacheBehaviorInput

type DistributionOrderedCacheBehaviorInput interface {
	pulumi.Input

	ToDistributionOrderedCacheBehaviorOutput() DistributionOrderedCacheBehaviorOutput
	ToDistributionOrderedCacheBehaviorOutputWithContext(context.Context) DistributionOrderedCacheBehaviorOutput
}

DistributionOrderedCacheBehaviorInput is an input type that accepts DistributionOrderedCacheBehaviorArgs and DistributionOrderedCacheBehaviorOutput values. You can construct a concrete instance of `DistributionOrderedCacheBehaviorInput` via:

DistributionOrderedCacheBehaviorArgs{...}

type DistributionOrderedCacheBehaviorLambdaFunctionAssociation

type DistributionOrderedCacheBehaviorLambdaFunctionAssociation struct {
	// The specific event to trigger this function.
	// Valid values: `viewer-request`, `origin-request`, `viewer-response`,
	// `origin-response`
	EventType string `pulumi:"eventType"`
	// When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
	IncludeBody *bool `pulumi:"includeBody"`
	// ARN of the Lambda function.
	LambdaArn string `pulumi:"lambdaArn"`
}

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs struct {
	// The specific event to trigger this function.
	// Valid values: `viewer-request`, `origin-request`, `viewer-response`,
	// `origin-response`
	EventType pulumi.StringInput `pulumi:"eventType"`
	// When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
	IncludeBody pulumi.BoolPtrInput `pulumi:"includeBody"`
	// ARN of the Lambda function.
	LambdaArn pulumi.StringInput `pulumi:"lambdaArn"`
}

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs) ElementType

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutputWithContext

func (i DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray []DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ElementType

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext

func (i DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput interface {
	pulumi.Input

	ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput() DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput
	ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext(context.Context) DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput
}

DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput is an input type that accepts DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray and DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput values. You can construct a concrete instance of `DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput` via:

DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray{ DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs{...} }

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ElementType

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext

func (o DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput interface {
	pulumi.Input

	ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput() DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput
	ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutputWithContext(context.Context) DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput
}

DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput is an input type that accepts DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs and DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput values. You can construct a concrete instance of `DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput` via:

DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs{...}

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ElementType

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) EventType

The specific event to trigger this function. Valid values: `viewer-request`, `origin-request`, `viewer-response`, `origin-response`

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) IncludeBody

When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) LambdaArn

ARN of the Lambda function.

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutputWithContext

func (o DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput

type DistributionOrderedCacheBehaviorOutput

type DistributionOrderedCacheBehaviorOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorOutput) AllowedMethods

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

func (DistributionOrderedCacheBehaviorOutput) CachedMethods

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

func (DistributionOrderedCacheBehaviorOutput) Compress

Whether you want CloudFront to automatically compress content for web requests that include `Accept-Encoding: gzip` in the request header (default: `false`).

func (DistributionOrderedCacheBehaviorOutput) DefaultTtl

The default amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to 1 day.

func (DistributionOrderedCacheBehaviorOutput) ElementType

func (DistributionOrderedCacheBehaviorOutput) FieldLevelEncryptionId

Field level encryption configuration ID

func (DistributionOrderedCacheBehaviorOutput) ForwardedValues

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

func (DistributionOrderedCacheBehaviorOutput) LambdaFunctionAssociations

A config block that triggers a lambda function with specific actions. Defined below, maximum 4.

func (DistributionOrderedCacheBehaviorOutput) MaxTtl

The maximum amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request to your origin to determine whether the object has been updated. Only effective in the presence of `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` headers. Defaults to 365 days.

func (DistributionOrderedCacheBehaviorOutput) MinTtl

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated. Defaults to 0 seconds.

func (DistributionOrderedCacheBehaviorOutput) PathPattern

The pattern (for example, `images/*.jpg)` that specifies which requests you want this cache behavior to apply to.

func (DistributionOrderedCacheBehaviorOutput) SmoothStreaming

Indicates whether you want to distribute media files in Microsoft Smooth Streaming format using the origin that is associated with this cache behavior.

func (DistributionOrderedCacheBehaviorOutput) TargetOriginId

The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.

func (DistributionOrderedCacheBehaviorOutput) ToDistributionOrderedCacheBehaviorOutput

func (o DistributionOrderedCacheBehaviorOutput) ToDistributionOrderedCacheBehaviorOutput() DistributionOrderedCacheBehaviorOutput

func (DistributionOrderedCacheBehaviorOutput) ToDistributionOrderedCacheBehaviorOutputWithContext

func (o DistributionOrderedCacheBehaviorOutput) ToDistributionOrderedCacheBehaviorOutputWithContext(ctx context.Context) DistributionOrderedCacheBehaviorOutput

func (DistributionOrderedCacheBehaviorOutput) TrustedSigners

List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content. See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.

func (DistributionOrderedCacheBehaviorOutput) ViewerProtocolPolicy

Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of `allow-all`, `https-only`, or `redirect-to-https`.

type DistributionOrigin

type DistributionOrigin struct {
	// One or more sub-resources with `name` and
	// `value` parameters that specify header data that will be sent to the origin
	// (multiples allowed).
	CustomHeaders []DistributionOriginCustomHeader `pulumi:"customHeaders"`
	// The CloudFront custom
	// origin configuration information. If an S3
	// origin is required, use `s3OriginConfig` instead.
	CustomOriginConfig *DistributionOriginCustomOriginConfig `pulumi:"customOriginConfig"`
	// The DNS domain name of either the S3 bucket, or
	// web site of your custom origin.
	DomainName string `pulumi:"domainName"`
	// The unique identifier of the member origin
	OriginId string `pulumi:"originId"`
	// An optional element that causes CloudFront to
	// request your content from a directory in your Amazon S3 bucket or your
	// custom origin.
	OriginPath *string `pulumi:"originPath"`
	// The CloudFront S3 origin
	// configuration information. If a custom origin is required, use
	// `customOriginConfig` instead.
	S3OriginConfig *DistributionOriginS3OriginConfig `pulumi:"s3OriginConfig"`
}

type DistributionOriginArgs

type DistributionOriginArgs struct {
	// One or more sub-resources with `name` and
	// `value` parameters that specify header data that will be sent to the origin
	// (multiples allowed).
	CustomHeaders DistributionOriginCustomHeaderArrayInput `pulumi:"customHeaders"`
	// The CloudFront custom
	// origin configuration information. If an S3
	// origin is required, use `s3OriginConfig` instead.
	CustomOriginConfig DistributionOriginCustomOriginConfigPtrInput `pulumi:"customOriginConfig"`
	// The DNS domain name of either the S3 bucket, or
	// web site of your custom origin.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// The unique identifier of the member origin
	OriginId pulumi.StringInput `pulumi:"originId"`
	// An optional element that causes CloudFront to
	// request your content from a directory in your Amazon S3 bucket or your
	// custom origin.
	OriginPath pulumi.StringPtrInput `pulumi:"originPath"`
	// The CloudFront S3 origin
	// configuration information. If a custom origin is required, use
	// `customOriginConfig` instead.
	S3OriginConfig DistributionOriginS3OriginConfigPtrInput `pulumi:"s3OriginConfig"`
}

func (DistributionOriginArgs) ElementType

func (DistributionOriginArgs) ElementType() reflect.Type

func (DistributionOriginArgs) ToDistributionOriginOutput

func (i DistributionOriginArgs) ToDistributionOriginOutput() DistributionOriginOutput

func (DistributionOriginArgs) ToDistributionOriginOutputWithContext

func (i DistributionOriginArgs) ToDistributionOriginOutputWithContext(ctx context.Context) DistributionOriginOutput

type DistributionOriginArray

type DistributionOriginArray []DistributionOriginInput

func (DistributionOriginArray) ElementType

func (DistributionOriginArray) ElementType() reflect.Type

func (DistributionOriginArray) ToDistributionOriginArrayOutput

func (i DistributionOriginArray) ToDistributionOriginArrayOutput() DistributionOriginArrayOutput

func (DistributionOriginArray) ToDistributionOriginArrayOutputWithContext

func (i DistributionOriginArray) ToDistributionOriginArrayOutputWithContext(ctx context.Context) DistributionOriginArrayOutput

type DistributionOriginArrayInput

type DistributionOriginArrayInput interface {
	pulumi.Input

	ToDistributionOriginArrayOutput() DistributionOriginArrayOutput
	ToDistributionOriginArrayOutputWithContext(context.Context) DistributionOriginArrayOutput
}

DistributionOriginArrayInput is an input type that accepts DistributionOriginArray and DistributionOriginArrayOutput values. You can construct a concrete instance of `DistributionOriginArrayInput` via:

DistributionOriginArray{ DistributionOriginArgs{...} }

type DistributionOriginArrayOutput

type DistributionOriginArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginArrayOutput) ElementType

func (DistributionOriginArrayOutput) Index

func (DistributionOriginArrayOutput) ToDistributionOriginArrayOutput

func (o DistributionOriginArrayOutput) ToDistributionOriginArrayOutput() DistributionOriginArrayOutput

func (DistributionOriginArrayOutput) ToDistributionOriginArrayOutputWithContext

func (o DistributionOriginArrayOutput) ToDistributionOriginArrayOutputWithContext(ctx context.Context) DistributionOriginArrayOutput

type DistributionOriginCustomHeader

type DistributionOriginCustomHeader struct {
	Name  string `pulumi:"name"`
	Value string `pulumi:"value"`
}

type DistributionOriginCustomHeaderArgs

type DistributionOriginCustomHeaderArgs struct {
	Name  pulumi.StringInput `pulumi:"name"`
	Value pulumi.StringInput `pulumi:"value"`
}

func (DistributionOriginCustomHeaderArgs) ElementType

func (DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutput

func (i DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutput() DistributionOriginCustomHeaderOutput

func (DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutputWithContext

func (i DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutputWithContext(ctx context.Context) DistributionOriginCustomHeaderOutput

type DistributionOriginCustomHeaderArray

type DistributionOriginCustomHeaderArray []DistributionOriginCustomHeaderInput

func (DistributionOriginCustomHeaderArray) ElementType

func (DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutput

func (i DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutput() DistributionOriginCustomHeaderArrayOutput

func (DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutputWithContext

func (i DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutputWithContext(ctx context.Context) DistributionOriginCustomHeaderArrayOutput

type DistributionOriginCustomHeaderArrayInput

type DistributionOriginCustomHeaderArrayInput interface {
	pulumi.Input

	ToDistributionOriginCustomHeaderArrayOutput() DistributionOriginCustomHeaderArrayOutput
	ToDistributionOriginCustomHeaderArrayOutputWithContext(context.Context) DistributionOriginCustomHeaderArrayOutput
}

DistributionOriginCustomHeaderArrayInput is an input type that accepts DistributionOriginCustomHeaderArray and DistributionOriginCustomHeaderArrayOutput values. You can construct a concrete instance of `DistributionOriginCustomHeaderArrayInput` via:

DistributionOriginCustomHeaderArray{ DistributionOriginCustomHeaderArgs{...} }

type DistributionOriginCustomHeaderArrayOutput

type DistributionOriginCustomHeaderArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomHeaderArrayOutput) ElementType

func (DistributionOriginCustomHeaderArrayOutput) Index

func (DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutput

func (o DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutput() DistributionOriginCustomHeaderArrayOutput

func (DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutputWithContext

func (o DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutputWithContext(ctx context.Context) DistributionOriginCustomHeaderArrayOutput

type DistributionOriginCustomHeaderInput

type DistributionOriginCustomHeaderInput interface {
	pulumi.Input

	ToDistributionOriginCustomHeaderOutput() DistributionOriginCustomHeaderOutput
	ToDistributionOriginCustomHeaderOutputWithContext(context.Context) DistributionOriginCustomHeaderOutput
}

DistributionOriginCustomHeaderInput is an input type that accepts DistributionOriginCustomHeaderArgs and DistributionOriginCustomHeaderOutput values. You can construct a concrete instance of `DistributionOriginCustomHeaderInput` via:

DistributionOriginCustomHeaderArgs{...}

type DistributionOriginCustomHeaderOutput

type DistributionOriginCustomHeaderOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomHeaderOutput) ElementType

func (DistributionOriginCustomHeaderOutput) Name

func (DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutput

func (o DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutput() DistributionOriginCustomHeaderOutput

func (DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutputWithContext

func (o DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutputWithContext(ctx context.Context) DistributionOriginCustomHeaderOutput

func (DistributionOriginCustomHeaderOutput) Value

type DistributionOriginCustomOriginConfig

type DistributionOriginCustomOriginConfig struct {
	// The HTTP port the custom origin listens on.
	HttpPort int `pulumi:"httpPort"`
	// The HTTPS port the custom origin listens on.
	HttpsPort int `pulumi:"httpsPort"`
	// The Custom KeepAlive timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
	OriginKeepaliveTimeout *int `pulumi:"originKeepaliveTimeout"`
	// The origin protocol policy to apply to
	// your origin. One of `http-only`, `https-only`, or `match-viewer`.
	OriginProtocolPolicy string `pulumi:"originProtocolPolicy"`
	// The Custom Read timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
	OriginReadTimeout *int `pulumi:"originReadTimeout"`
	// 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`.
	OriginSslProtocols []string `pulumi:"originSslProtocols"`
}

type DistributionOriginCustomOriginConfigArgs

type DistributionOriginCustomOriginConfigArgs struct {
	// The HTTP port the custom origin listens on.
	HttpPort pulumi.IntInput `pulumi:"httpPort"`
	// The HTTPS port the custom origin listens on.
	HttpsPort pulumi.IntInput `pulumi:"httpsPort"`
	// The Custom KeepAlive timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
	OriginKeepaliveTimeout pulumi.IntPtrInput `pulumi:"originKeepaliveTimeout"`
	// The origin protocol policy to apply to
	// your origin. One of `http-only`, `https-only`, or `match-viewer`.
	OriginProtocolPolicy pulumi.StringInput `pulumi:"originProtocolPolicy"`
	// The Custom Read timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
	OriginReadTimeout pulumi.IntPtrInput `pulumi:"originReadTimeout"`
	// 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`.
	OriginSslProtocols pulumi.StringArrayInput `pulumi:"originSslProtocols"`
}

func (DistributionOriginCustomOriginConfigArgs) ElementType

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutput

func (i DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutput() DistributionOriginCustomOriginConfigOutput

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutputWithContext

func (i DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutputWithContext(ctx context.Context) DistributionOriginCustomOriginConfigOutput

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutput

func (i DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutputWithContext

func (i DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutputWithContext(ctx context.Context) DistributionOriginCustomOriginConfigPtrOutput

type DistributionOriginCustomOriginConfigInput

type DistributionOriginCustomOriginConfigInput interface {
	pulumi.Input

	ToDistributionOriginCustomOriginConfigOutput() DistributionOriginCustomOriginConfigOutput
	ToDistributionOriginCustomOriginConfigOutputWithContext(context.Context) DistributionOriginCustomOriginConfigOutput
}

DistributionOriginCustomOriginConfigInput is an input type that accepts DistributionOriginCustomOriginConfigArgs and DistributionOriginCustomOriginConfigOutput values. You can construct a concrete instance of `DistributionOriginCustomOriginConfigInput` via:

DistributionOriginCustomOriginConfigArgs{...}

type DistributionOriginCustomOriginConfigOutput

type DistributionOriginCustomOriginConfigOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomOriginConfigOutput) ElementType

func (DistributionOriginCustomOriginConfigOutput) HttpPort

The HTTP port the custom origin listens on.

func (DistributionOriginCustomOriginConfigOutput) HttpsPort

The HTTPS port the custom origin listens on.

func (DistributionOriginCustomOriginConfigOutput) OriginKeepaliveTimeout

The Custom KeepAlive timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).

func (DistributionOriginCustomOriginConfigOutput) OriginProtocolPolicy

The origin protocol policy to apply to your origin. One of `http-only`, `https-only`, or `match-viewer`.

func (DistributionOriginCustomOriginConfigOutput) OriginReadTimeout

The Custom Read timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).

func (DistributionOriginCustomOriginConfigOutput) OriginSslProtocols

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

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigOutput

func (o DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigOutput() DistributionOriginCustomOriginConfigOutput

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigOutputWithContext

func (o DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigOutputWithContext(ctx context.Context) DistributionOriginCustomOriginConfigOutput

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutput

func (o DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutputWithContext

func (o DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutputWithContext(ctx context.Context) DistributionOriginCustomOriginConfigPtrOutput

type DistributionOriginCustomOriginConfigPtrInput

type DistributionOriginCustomOriginConfigPtrInput interface {
	pulumi.Input

	ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput
	ToDistributionOriginCustomOriginConfigPtrOutputWithContext(context.Context) DistributionOriginCustomOriginConfigPtrOutput
}

DistributionOriginCustomOriginConfigPtrInput is an input type that accepts DistributionOriginCustomOriginConfigArgs, DistributionOriginCustomOriginConfigPtr and DistributionOriginCustomOriginConfigPtrOutput values. You can construct a concrete instance of `DistributionOriginCustomOriginConfigPtrInput` via:

        DistributionOriginCustomOriginConfigArgs{...}

or:

        nil

type DistributionOriginCustomOriginConfigPtrOutput

type DistributionOriginCustomOriginConfigPtrOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomOriginConfigPtrOutput) Elem

func (DistributionOriginCustomOriginConfigPtrOutput) ElementType

func (DistributionOriginCustomOriginConfigPtrOutput) HttpPort

The HTTP port the custom origin listens on.

func (DistributionOriginCustomOriginConfigPtrOutput) HttpsPort

The HTTPS port the custom origin listens on.

func (DistributionOriginCustomOriginConfigPtrOutput) OriginKeepaliveTimeout

The Custom KeepAlive timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).

func (DistributionOriginCustomOriginConfigPtrOutput) OriginProtocolPolicy

The origin protocol policy to apply to your origin. One of `http-only`, `https-only`, or `match-viewer`.

func (DistributionOriginCustomOriginConfigPtrOutput) OriginReadTimeout

The Custom Read timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).

func (DistributionOriginCustomOriginConfigPtrOutput) OriginSslProtocols

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

func (DistributionOriginCustomOriginConfigPtrOutput) ToDistributionOriginCustomOriginConfigPtrOutput

func (o DistributionOriginCustomOriginConfigPtrOutput) ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput

func (DistributionOriginCustomOriginConfigPtrOutput) ToDistributionOriginCustomOriginConfigPtrOutputWithContext

func (o DistributionOriginCustomOriginConfigPtrOutput) ToDistributionOriginCustomOriginConfigPtrOutputWithContext(ctx context.Context) DistributionOriginCustomOriginConfigPtrOutput

type DistributionOriginGroup

type DistributionOriginGroup struct {
	// The failover criteria for when to failover to the secondary origin
	FailoverCriteria DistributionOriginGroupFailoverCriteria `pulumi:"failoverCriteria"`
	// Ordered member configuration blocks assigned to the origin group, where the first member is the primary origin. You must specify two members.
	Members []DistributionOriginGroupMember `pulumi:"members"`
	// The unique identifier of the member origin
	OriginId string `pulumi:"originId"`
}

type DistributionOriginGroupArgs

type DistributionOriginGroupArgs struct {
	// The failover criteria for when to failover to the secondary origin
	FailoverCriteria DistributionOriginGroupFailoverCriteriaInput `pulumi:"failoverCriteria"`
	// Ordered member configuration blocks assigned to the origin group, where the first member is the primary origin. You must specify two members.
	Members DistributionOriginGroupMemberArrayInput `pulumi:"members"`
	// The unique identifier of the member origin
	OriginId pulumi.StringInput `pulumi:"originId"`
}

func (DistributionOriginGroupArgs) ElementType

func (DistributionOriginGroupArgs) ToDistributionOriginGroupOutput

func (i DistributionOriginGroupArgs) ToDistributionOriginGroupOutput() DistributionOriginGroupOutput

func (DistributionOriginGroupArgs) ToDistributionOriginGroupOutputWithContext

func (i DistributionOriginGroupArgs) ToDistributionOriginGroupOutputWithContext(ctx context.Context) DistributionOriginGroupOutput

type DistributionOriginGroupArray

type DistributionOriginGroupArray []DistributionOriginGroupInput

func (DistributionOriginGroupArray) ElementType

func (DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutput

func (i DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutput() DistributionOriginGroupArrayOutput

func (DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutputWithContext

func (i DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutputWithContext(ctx context.Context) DistributionOriginGroupArrayOutput

type DistributionOriginGroupArrayInput

type DistributionOriginGroupArrayInput interface {
	pulumi.Input

	ToDistributionOriginGroupArrayOutput() DistributionOriginGroupArrayOutput
	ToDistributionOriginGroupArrayOutputWithContext(context.Context) DistributionOriginGroupArrayOutput
}

DistributionOriginGroupArrayInput is an input type that accepts DistributionOriginGroupArray and DistributionOriginGroupArrayOutput values. You can construct a concrete instance of `DistributionOriginGroupArrayInput` via:

DistributionOriginGroupArray{ DistributionOriginGroupArgs{...} }

type DistributionOriginGroupArrayOutput

type DistributionOriginGroupArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupArrayOutput) ElementType

func (DistributionOriginGroupArrayOutput) Index

func (DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutput

func (o DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutput() DistributionOriginGroupArrayOutput

func (DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutputWithContext

func (o DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutputWithContext(ctx context.Context) DistributionOriginGroupArrayOutput

type DistributionOriginGroupFailoverCriteria

type DistributionOriginGroupFailoverCriteria struct {
	// A list of HTTP status codes for the origin group
	StatusCodes []int `pulumi:"statusCodes"`
}

type DistributionOriginGroupFailoverCriteriaArgs

type DistributionOriginGroupFailoverCriteriaArgs struct {
	// A list of HTTP status codes for the origin group
	StatusCodes pulumi.IntArrayInput `pulumi:"statusCodes"`
}

func (DistributionOriginGroupFailoverCriteriaArgs) ElementType

func (DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutput

func (i DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutput() DistributionOriginGroupFailoverCriteriaOutput

func (DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutputWithContext

func (i DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutputWithContext(ctx context.Context) DistributionOriginGroupFailoverCriteriaOutput

type DistributionOriginGroupFailoverCriteriaInput

type DistributionOriginGroupFailoverCriteriaInput interface {
	pulumi.Input

	ToDistributionOriginGroupFailoverCriteriaOutput() DistributionOriginGroupFailoverCriteriaOutput
	ToDistributionOriginGroupFailoverCriteriaOutputWithContext(context.Context) DistributionOriginGroupFailoverCriteriaOutput
}

DistributionOriginGroupFailoverCriteriaInput is an input type that accepts DistributionOriginGroupFailoverCriteriaArgs and DistributionOriginGroupFailoverCriteriaOutput values. You can construct a concrete instance of `DistributionOriginGroupFailoverCriteriaInput` via:

DistributionOriginGroupFailoverCriteriaArgs{...}

type DistributionOriginGroupFailoverCriteriaOutput

type DistributionOriginGroupFailoverCriteriaOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupFailoverCriteriaOutput) ElementType

func (DistributionOriginGroupFailoverCriteriaOutput) StatusCodes

A list of HTTP status codes for the origin group

func (DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutput

func (o DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutput() DistributionOriginGroupFailoverCriteriaOutput

func (DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutputWithContext

func (o DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutputWithContext(ctx context.Context) DistributionOriginGroupFailoverCriteriaOutput

type DistributionOriginGroupInput

type DistributionOriginGroupInput interface {
	pulumi.Input

	ToDistributionOriginGroupOutput() DistributionOriginGroupOutput
	ToDistributionOriginGroupOutputWithContext(context.Context) DistributionOriginGroupOutput
}

DistributionOriginGroupInput is an input type that accepts DistributionOriginGroupArgs and DistributionOriginGroupOutput values. You can construct a concrete instance of `DistributionOriginGroupInput` via:

DistributionOriginGroupArgs{...}

type DistributionOriginGroupMember

type DistributionOriginGroupMember struct {
	// The unique identifier of the member origin
	OriginId string `pulumi:"originId"`
}

type DistributionOriginGroupMemberArgs

type DistributionOriginGroupMemberArgs struct {
	// The unique identifier of the member origin
	OriginId pulumi.StringInput `pulumi:"originId"`
}

func (DistributionOriginGroupMemberArgs) ElementType

func (DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutput

func (i DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutput() DistributionOriginGroupMemberOutput

func (DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutputWithContext

func (i DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutputWithContext(ctx context.Context) DistributionOriginGroupMemberOutput

type DistributionOriginGroupMemberArray

type DistributionOriginGroupMemberArray []DistributionOriginGroupMemberInput

func (DistributionOriginGroupMemberArray) ElementType

func (DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutput

func (i DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutput() DistributionOriginGroupMemberArrayOutput

func (DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutputWithContext

func (i DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutputWithContext(ctx context.Context) DistributionOriginGroupMemberArrayOutput

type DistributionOriginGroupMemberArrayInput

type DistributionOriginGroupMemberArrayInput interface {
	pulumi.Input

	ToDistributionOriginGroupMemberArrayOutput() DistributionOriginGroupMemberArrayOutput
	ToDistributionOriginGroupMemberArrayOutputWithContext(context.Context) DistributionOriginGroupMemberArrayOutput
}

DistributionOriginGroupMemberArrayInput is an input type that accepts DistributionOriginGroupMemberArray and DistributionOriginGroupMemberArrayOutput values. You can construct a concrete instance of `DistributionOriginGroupMemberArrayInput` via:

DistributionOriginGroupMemberArray{ DistributionOriginGroupMemberArgs{...} }

type DistributionOriginGroupMemberArrayOutput

type DistributionOriginGroupMemberArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupMemberArrayOutput) ElementType

func (DistributionOriginGroupMemberArrayOutput) Index

func (DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutput

func (o DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutput() DistributionOriginGroupMemberArrayOutput

func (DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutputWithContext

func (o DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutputWithContext(ctx context.Context) DistributionOriginGroupMemberArrayOutput

type DistributionOriginGroupMemberInput

type DistributionOriginGroupMemberInput interface {
	pulumi.Input

	ToDistributionOriginGroupMemberOutput() DistributionOriginGroupMemberOutput
	ToDistributionOriginGroupMemberOutputWithContext(context.Context) DistributionOriginGroupMemberOutput
}

DistributionOriginGroupMemberInput is an input type that accepts DistributionOriginGroupMemberArgs and DistributionOriginGroupMemberOutput values. You can construct a concrete instance of `DistributionOriginGroupMemberInput` via:

DistributionOriginGroupMemberArgs{...}

type DistributionOriginGroupMemberOutput

type DistributionOriginGroupMemberOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupMemberOutput) ElementType

func (DistributionOriginGroupMemberOutput) OriginId

The unique identifier of the member origin

func (DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutput

func (o DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutput() DistributionOriginGroupMemberOutput

func (DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutputWithContext

func (o DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutputWithContext(ctx context.Context) DistributionOriginGroupMemberOutput

type DistributionOriginGroupOutput

type DistributionOriginGroupOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupOutput) ElementType

func (DistributionOriginGroupOutput) FailoverCriteria

The failover criteria for when to failover to the secondary origin

func (DistributionOriginGroupOutput) Members

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

func (DistributionOriginGroupOutput) OriginId

The unique identifier of the member origin

func (DistributionOriginGroupOutput) ToDistributionOriginGroupOutput

func (o DistributionOriginGroupOutput) ToDistributionOriginGroupOutput() DistributionOriginGroupOutput

func (DistributionOriginGroupOutput) ToDistributionOriginGroupOutputWithContext

func (o DistributionOriginGroupOutput) ToDistributionOriginGroupOutputWithContext(ctx context.Context) DistributionOriginGroupOutput

type DistributionOriginInput

type DistributionOriginInput interface {
	pulumi.Input

	ToDistributionOriginOutput() DistributionOriginOutput
	ToDistributionOriginOutputWithContext(context.Context) DistributionOriginOutput
}

DistributionOriginInput is an input type that accepts DistributionOriginArgs and DistributionOriginOutput values. You can construct a concrete instance of `DistributionOriginInput` via:

DistributionOriginArgs{...}

type DistributionOriginOutput

type DistributionOriginOutput struct{ *pulumi.OutputState }

func (DistributionOriginOutput) CustomHeaders

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

func (DistributionOriginOutput) CustomOriginConfig

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

func (DistributionOriginOutput) DomainName

The DNS domain name of either the S3 bucket, or web site of your custom origin.

func (DistributionOriginOutput) ElementType

func (DistributionOriginOutput) ElementType() reflect.Type

func (DistributionOriginOutput) OriginId

The unique identifier of the member origin

func (DistributionOriginOutput) OriginPath

An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.

func (DistributionOriginOutput) S3OriginConfig

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

func (DistributionOriginOutput) ToDistributionOriginOutput

func (o DistributionOriginOutput) ToDistributionOriginOutput() DistributionOriginOutput

func (DistributionOriginOutput) ToDistributionOriginOutputWithContext

func (o DistributionOriginOutput) ToDistributionOriginOutputWithContext(ctx context.Context) DistributionOriginOutput

type DistributionOriginS3OriginConfig

type DistributionOriginS3OriginConfig struct {
	// The [CloudFront origin access
	// identity][5] to associate with the origin.
	OriginAccessIdentity string `pulumi:"originAccessIdentity"`
}

type DistributionOriginS3OriginConfigArgs

type DistributionOriginS3OriginConfigArgs struct {
	// The [CloudFront origin access
	// identity][5] to associate with the origin.
	OriginAccessIdentity pulumi.StringInput `pulumi:"originAccessIdentity"`
}

func (DistributionOriginS3OriginConfigArgs) ElementType

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutput

func (i DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutput() DistributionOriginS3OriginConfigOutput

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutputWithContext

func (i DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutputWithContext(ctx context.Context) DistributionOriginS3OriginConfigOutput

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutput

func (i DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutputWithContext

func (i DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutputWithContext(ctx context.Context) DistributionOriginS3OriginConfigPtrOutput

type DistributionOriginS3OriginConfigInput

type DistributionOriginS3OriginConfigInput interface {
	pulumi.Input

	ToDistributionOriginS3OriginConfigOutput() DistributionOriginS3OriginConfigOutput
	ToDistributionOriginS3OriginConfigOutputWithContext(context.Context) DistributionOriginS3OriginConfigOutput
}

DistributionOriginS3OriginConfigInput is an input type that accepts DistributionOriginS3OriginConfigArgs and DistributionOriginS3OriginConfigOutput values. You can construct a concrete instance of `DistributionOriginS3OriginConfigInput` via:

DistributionOriginS3OriginConfigArgs{...}

type DistributionOriginS3OriginConfigOutput

type DistributionOriginS3OriginConfigOutput struct{ *pulumi.OutputState }

func (DistributionOriginS3OriginConfigOutput) ElementType

func (DistributionOriginS3OriginConfigOutput) OriginAccessIdentity

The [CloudFront origin access identity][5] to associate with the origin.

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutput

func (o DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutput() DistributionOriginS3OriginConfigOutput

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutputWithContext

func (o DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutputWithContext(ctx context.Context) DistributionOriginS3OriginConfigOutput

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutput

func (o DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutputWithContext

func (o DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutputWithContext(ctx context.Context) DistributionOriginS3OriginConfigPtrOutput

type DistributionOriginS3OriginConfigPtrInput

type DistributionOriginS3OriginConfigPtrInput interface {
	pulumi.Input

	ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput
	ToDistributionOriginS3OriginConfigPtrOutputWithContext(context.Context) DistributionOriginS3OriginConfigPtrOutput
}

DistributionOriginS3OriginConfigPtrInput is an input type that accepts DistributionOriginS3OriginConfigArgs, DistributionOriginS3OriginConfigPtr and DistributionOriginS3OriginConfigPtrOutput values. You can construct a concrete instance of `DistributionOriginS3OriginConfigPtrInput` via:

        DistributionOriginS3OriginConfigArgs{...}

or:

        nil

type DistributionOriginS3OriginConfigPtrOutput

type DistributionOriginS3OriginConfigPtrOutput struct{ *pulumi.OutputState }

func (DistributionOriginS3OriginConfigPtrOutput) Elem

func (DistributionOriginS3OriginConfigPtrOutput) ElementType

func (DistributionOriginS3OriginConfigPtrOutput) OriginAccessIdentity

The [CloudFront origin access identity][5] to associate with the origin.

func (DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutput

func (o DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput

func (DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutputWithContext

func (o DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutputWithContext(ctx context.Context) DistributionOriginS3OriginConfigPtrOutput

type DistributionOutput added in v3.13.0

type DistributionOutput struct {
	*pulumi.OutputState
}

func (DistributionOutput) ElementType added in v3.13.0

func (DistributionOutput) ElementType() reflect.Type

func (DistributionOutput) ToDistributionOutput added in v3.13.0

func (o DistributionOutput) ToDistributionOutput() DistributionOutput

func (DistributionOutput) ToDistributionOutputWithContext added in v3.13.0

func (o DistributionOutput) ToDistributionOutputWithContext(ctx context.Context) DistributionOutput

type DistributionRestrictions

type DistributionRestrictions struct {
	GeoRestriction DistributionRestrictionsGeoRestriction `pulumi:"geoRestriction"`
}

type DistributionRestrictionsArgs

type DistributionRestrictionsArgs struct {
	GeoRestriction DistributionRestrictionsGeoRestrictionInput `pulumi:"geoRestriction"`
}

func (DistributionRestrictionsArgs) ElementType

func (DistributionRestrictionsArgs) ToDistributionRestrictionsOutput

func (i DistributionRestrictionsArgs) ToDistributionRestrictionsOutput() DistributionRestrictionsOutput

func (DistributionRestrictionsArgs) ToDistributionRestrictionsOutputWithContext

func (i DistributionRestrictionsArgs) ToDistributionRestrictionsOutputWithContext(ctx context.Context) DistributionRestrictionsOutput

func (DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutput

func (i DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput

func (DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutputWithContext

func (i DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutputWithContext(ctx context.Context) DistributionRestrictionsPtrOutput

type DistributionRestrictionsGeoRestriction

type DistributionRestrictionsGeoRestriction struct {
	// The [ISO 3166-1-alpha-2 codes][4] for which you
	// want CloudFront either to distribute your content (`whitelist`) or not
	// distribute your content (`blacklist`).
	Locations []string `pulumi:"locations"`
	// The method that you want to use to restrict
	// distribution of your content by country: `none`, `whitelist`, or
	// `blacklist`.
	RestrictionType string `pulumi:"restrictionType"`
}

type DistributionRestrictionsGeoRestrictionArgs

type DistributionRestrictionsGeoRestrictionArgs struct {
	// The [ISO 3166-1-alpha-2 codes][4] for which you
	// want CloudFront either to distribute your content (`whitelist`) or not
	// distribute your content (`blacklist`).
	Locations pulumi.StringArrayInput `pulumi:"locations"`
	// The method that you want to use to restrict
	// distribution of your content by country: `none`, `whitelist`, or
	// `blacklist`.
	RestrictionType pulumi.StringInput `pulumi:"restrictionType"`
}

func (DistributionRestrictionsGeoRestrictionArgs) ElementType

func (DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutput

func (i DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutput() DistributionRestrictionsGeoRestrictionOutput

func (DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutputWithContext

func (i DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutputWithContext(ctx context.Context) DistributionRestrictionsGeoRestrictionOutput

func (DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionPtrOutput

func (i DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionPtrOutput() DistributionRestrictionsGeoRestrictionPtrOutput

func (DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionPtrOutputWithContext

func (i DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionPtrOutputWithContext(ctx context.Context) DistributionRestrictionsGeoRestrictionPtrOutput

type DistributionRestrictionsGeoRestrictionInput

type DistributionRestrictionsGeoRestrictionInput interface {
	pulumi.Input

	ToDistributionRestrictionsGeoRestrictionOutput() DistributionRestrictionsGeoRestrictionOutput
	ToDistributionRestrictionsGeoRestrictionOutputWithContext(context.Context) DistributionRestrictionsGeoRestrictionOutput
}

DistributionRestrictionsGeoRestrictionInput is an input type that accepts DistributionRestrictionsGeoRestrictionArgs and DistributionRestrictionsGeoRestrictionOutput values. You can construct a concrete instance of `DistributionRestrictionsGeoRestrictionInput` via:

DistributionRestrictionsGeoRestrictionArgs{...}

type DistributionRestrictionsGeoRestrictionOutput

type DistributionRestrictionsGeoRestrictionOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsGeoRestrictionOutput) ElementType

func (DistributionRestrictionsGeoRestrictionOutput) Locations

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

func (DistributionRestrictionsGeoRestrictionOutput) RestrictionType

The method that you want to use to restrict distribution of your content by country: `none`, `whitelist`, or `blacklist`.

func (DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutput

func (o DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutput() DistributionRestrictionsGeoRestrictionOutput

func (DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutputWithContext

func (o DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutputWithContext(ctx context.Context) DistributionRestrictionsGeoRestrictionOutput

func (DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionPtrOutput

func (o DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionPtrOutput() DistributionRestrictionsGeoRestrictionPtrOutput

func (DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionPtrOutputWithContext

func (o DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionPtrOutputWithContext(ctx context.Context) DistributionRestrictionsGeoRestrictionPtrOutput

type DistributionRestrictionsGeoRestrictionPtrInput

type DistributionRestrictionsGeoRestrictionPtrInput interface {
	pulumi.Input

	ToDistributionRestrictionsGeoRestrictionPtrOutput() DistributionRestrictionsGeoRestrictionPtrOutput
	ToDistributionRestrictionsGeoRestrictionPtrOutputWithContext(context.Context) DistributionRestrictionsGeoRestrictionPtrOutput
}

DistributionRestrictionsGeoRestrictionPtrInput is an input type that accepts DistributionRestrictionsGeoRestrictionArgs, DistributionRestrictionsGeoRestrictionPtr and DistributionRestrictionsGeoRestrictionPtrOutput values. You can construct a concrete instance of `DistributionRestrictionsGeoRestrictionPtrInput` via:

        DistributionRestrictionsGeoRestrictionArgs{...}

or:

        nil

type DistributionRestrictionsGeoRestrictionPtrOutput

type DistributionRestrictionsGeoRestrictionPtrOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsGeoRestrictionPtrOutput) Elem

func (DistributionRestrictionsGeoRestrictionPtrOutput) ElementType

func (DistributionRestrictionsGeoRestrictionPtrOutput) Locations

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

func (DistributionRestrictionsGeoRestrictionPtrOutput) RestrictionType

The method that you want to use to restrict distribution of your content by country: `none`, `whitelist`, or `blacklist`.

func (DistributionRestrictionsGeoRestrictionPtrOutput) ToDistributionRestrictionsGeoRestrictionPtrOutput

func (o DistributionRestrictionsGeoRestrictionPtrOutput) ToDistributionRestrictionsGeoRestrictionPtrOutput() DistributionRestrictionsGeoRestrictionPtrOutput

func (DistributionRestrictionsGeoRestrictionPtrOutput) ToDistributionRestrictionsGeoRestrictionPtrOutputWithContext

func (o DistributionRestrictionsGeoRestrictionPtrOutput) ToDistributionRestrictionsGeoRestrictionPtrOutputWithContext(ctx context.Context) DistributionRestrictionsGeoRestrictionPtrOutput

type DistributionRestrictionsInput

type DistributionRestrictionsInput interface {
	pulumi.Input

	ToDistributionRestrictionsOutput() DistributionRestrictionsOutput
	ToDistributionRestrictionsOutputWithContext(context.Context) DistributionRestrictionsOutput
}

DistributionRestrictionsInput is an input type that accepts DistributionRestrictionsArgs and DistributionRestrictionsOutput values. You can construct a concrete instance of `DistributionRestrictionsInput` via:

DistributionRestrictionsArgs{...}

type DistributionRestrictionsOutput

type DistributionRestrictionsOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsOutput) ElementType

func (DistributionRestrictionsOutput) GeoRestriction

func (DistributionRestrictionsOutput) ToDistributionRestrictionsOutput

func (o DistributionRestrictionsOutput) ToDistributionRestrictionsOutput() DistributionRestrictionsOutput

func (DistributionRestrictionsOutput) ToDistributionRestrictionsOutputWithContext

func (o DistributionRestrictionsOutput) ToDistributionRestrictionsOutputWithContext(ctx context.Context) DistributionRestrictionsOutput

func (DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutput

func (o DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput

func (DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutputWithContext

func (o DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutputWithContext(ctx context.Context) DistributionRestrictionsPtrOutput

type DistributionRestrictionsPtrInput

type DistributionRestrictionsPtrInput interface {
	pulumi.Input

	ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput
	ToDistributionRestrictionsPtrOutputWithContext(context.Context) DistributionRestrictionsPtrOutput
}

DistributionRestrictionsPtrInput is an input type that accepts DistributionRestrictionsArgs, DistributionRestrictionsPtr and DistributionRestrictionsPtrOutput values. You can construct a concrete instance of `DistributionRestrictionsPtrInput` via:

        DistributionRestrictionsArgs{...}

or:

        nil

type DistributionRestrictionsPtrOutput

type DistributionRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsPtrOutput) Elem

func (DistributionRestrictionsPtrOutput) ElementType

func (DistributionRestrictionsPtrOutput) GeoRestriction

func (DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutput

func (o DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput

func (DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutputWithContext

func (o DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutputWithContext(ctx context.Context) DistributionRestrictionsPtrOutput

type DistributionState

type DistributionState struct {
	// Extra CNAMEs (alternate domain names), if any, for
	// this distribution.
	Aliases pulumi.StringArrayInput
	// The ARN (Amazon Resource Name) for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.
	Arn pulumi.StringPtrInput
	// Internal value used by CloudFront to allow future
	// updates to the distribution configuration.
	CallerReference pulumi.StringPtrInput
	// Any comments you want to include about the
	// distribution.
	Comment pulumi.StringPtrInput
	// One or more custom error response elements (multiples allowed).
	CustomErrorResponses DistributionCustomErrorResponseArrayInput
	// The default cache behavior for this distribution (maximum
	// one).
	DefaultCacheBehavior DistributionDefaultCacheBehaviorPtrInput
	// The object that you want CloudFront to
	// return (for example, index.html) when an end user requests the root URL.
	DefaultRootObject pulumi.StringPtrInput
	// The DNS domain name of either the S3 bucket, or
	// web site of your custom origin.
	DomainName pulumi.StringPtrInput
	// Whether the distribution is enabled to accept end
	// user requests for content.
	Enabled pulumi.BoolPtrInput
	// The current version of the distribution's information. For example:
	// `E2QWRUHAPOMQZL`.
	Etag pulumi.StringPtrInput
	// The CloudFront Route 53 zone ID that can be used to
	// route an [Alias Resource Record Set](http://docs.aws.amazon.com/Route53/latest/APIReference/CreateAliasRRSAPI.html) to. This attribute is simply an
	// alias for the zone ID `Z2FDTNDATAQYW2`.
	HostedZoneId pulumi.StringPtrInput
	// The maximum HTTP version to support on the
	// distribution. Allowed values are `http1.1` and `http2`. The default is
	// `http2`.
	HttpVersion pulumi.StringPtrInput
	// The number of invalidation batches
	// currently in progress.
	InProgressValidationBatches pulumi.IntPtrInput
	// Whether the IPv6 is enabled for the distribution.
	IsIpv6Enabled pulumi.BoolPtrInput
	// The date and time the distribution was last modified.
	LastModifiedTime pulumi.StringPtrInput
	// The logging
	// configuration that controls how logs are written
	// to your distribution (maximum one).
	LoggingConfig DistributionLoggingConfigPtrInput
	// 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.
	OrderedCacheBehaviors DistributionOrderedCacheBehaviorArrayInput
	// One or more originGroup for this
	// distribution (multiples allowed).
	OriginGroups DistributionOriginGroupArrayInput
	// One or more origins for this
	// distribution (multiples allowed).
	Origins DistributionOriginArrayInput
	// The price class for this distribution. One of
	// `PriceClass_All`, `PriceClass_200`, `PriceClass_100`
	PriceClass pulumi.StringPtrInput
	// The restriction
	// configuration for this distribution (maximum one).
	Restrictions DistributionRestrictionsPtrInput
	// Disables the distribution instead of
	// deleting it when destroying the resource. If this is set,
	// the distribution needs to be deleted manually afterwards. Default: `false`.
	RetainOnDelete pulumi.BoolPtrInput
	// The current status of the distribution. `Deployed` if the
	// distribution's information is fully propagated throughout the Amazon
	// CloudFront system.
	Status pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content.
	// See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.
	TrustedSigners DistributionTrustedSignerArrayInput
	// The SSL
	// configuration for this distribution (maximum
	// one).
	ViewerCertificate DistributionViewerCertificatePtrInput
	// If enabled, the resource will wait for
	// the distribution status to change from `InProgress` to `Deployed`. Setting
	// this to`false` will skip the process. Default: `true`.
	WaitForDeployment pulumi.BoolPtrInput
	// A unique identifier that specifies the AWS WAF web ACL,
	// if any, to associate with this distribution.
	// To specify a web ACL created using the latest version of AWS WAF (WAFv2), use the ACL ARN,
	// for example `aws_wafv2_web_acl.example.arn`. To specify a web
	// ACL created using AWS WAF Classic, use the ACL ID, for example `aws_waf_web_acl.example.id`.
	// The WAF Web ACL must exist in the WAF Global (CloudFront) region and the
	// credentials configuring this argument must have `waf:GetWebACL` permissions assigned.
	WebAclId pulumi.StringPtrInput
}

func (DistributionState) ElementType

func (DistributionState) ElementType() reflect.Type

type DistributionTrustedSigner

type DistributionTrustedSigner struct {
	// Whether the distribution is enabled to accept end
	// user requests for content.
	Enabled *bool `pulumi:"enabled"`
	// List of nested attributes for each trusted signer
	Items []DistributionTrustedSignerItem `pulumi:"items"`
}

type DistributionTrustedSignerArgs

type DistributionTrustedSignerArgs struct {
	// Whether the distribution is enabled to accept end
	// user requests for content.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// List of nested attributes for each trusted signer
	Items DistributionTrustedSignerItemArrayInput `pulumi:"items"`
}

func (DistributionTrustedSignerArgs) ElementType

func (DistributionTrustedSignerArgs) ToDistributionTrustedSignerOutput

func (i DistributionTrustedSignerArgs) ToDistributionTrustedSignerOutput() DistributionTrustedSignerOutput

func (DistributionTrustedSignerArgs) ToDistributionTrustedSignerOutputWithContext

func (i DistributionTrustedSignerArgs) ToDistributionTrustedSignerOutputWithContext(ctx context.Context) DistributionTrustedSignerOutput

type DistributionTrustedSignerArray

type DistributionTrustedSignerArray []DistributionTrustedSignerInput

func (DistributionTrustedSignerArray) ElementType

func (DistributionTrustedSignerArray) ToDistributionTrustedSignerArrayOutput

func (i DistributionTrustedSignerArray) ToDistributionTrustedSignerArrayOutput() DistributionTrustedSignerArrayOutput

func (DistributionTrustedSignerArray) ToDistributionTrustedSignerArrayOutputWithContext

func (i DistributionTrustedSignerArray) ToDistributionTrustedSignerArrayOutputWithContext(ctx context.Context) DistributionTrustedSignerArrayOutput

type DistributionTrustedSignerArrayInput

type DistributionTrustedSignerArrayInput interface {
	pulumi.Input

	ToDistributionTrustedSignerArrayOutput() DistributionTrustedSignerArrayOutput
	ToDistributionTrustedSignerArrayOutputWithContext(context.Context) DistributionTrustedSignerArrayOutput
}

DistributionTrustedSignerArrayInput is an input type that accepts DistributionTrustedSignerArray and DistributionTrustedSignerArrayOutput values. You can construct a concrete instance of `DistributionTrustedSignerArrayInput` via:

DistributionTrustedSignerArray{ DistributionTrustedSignerArgs{...} }

type DistributionTrustedSignerArrayOutput

type DistributionTrustedSignerArrayOutput struct{ *pulumi.OutputState }

func (DistributionTrustedSignerArrayOutput) ElementType

func (DistributionTrustedSignerArrayOutput) Index

func (DistributionTrustedSignerArrayOutput) ToDistributionTrustedSignerArrayOutput

func (o DistributionTrustedSignerArrayOutput) ToDistributionTrustedSignerArrayOutput() DistributionTrustedSignerArrayOutput

func (DistributionTrustedSignerArrayOutput) ToDistributionTrustedSignerArrayOutputWithContext

func (o DistributionTrustedSignerArrayOutput) ToDistributionTrustedSignerArrayOutputWithContext(ctx context.Context) DistributionTrustedSignerArrayOutput

type DistributionTrustedSignerInput

type DistributionTrustedSignerInput interface {
	pulumi.Input

	ToDistributionTrustedSignerOutput() DistributionTrustedSignerOutput
	ToDistributionTrustedSignerOutputWithContext(context.Context) DistributionTrustedSignerOutput
}

DistributionTrustedSignerInput is an input type that accepts DistributionTrustedSignerArgs and DistributionTrustedSignerOutput values. You can construct a concrete instance of `DistributionTrustedSignerInput` via:

DistributionTrustedSignerArgs{...}

type DistributionTrustedSignerItem

type DistributionTrustedSignerItem struct {
	// AWS account ID or `self`
	AwsAccountNumber *string `pulumi:"awsAccountNumber"`
	// Set of active CloudFront key pairs associated with the signer account
	KeyPairIds []string `pulumi:"keyPairIds"`
}

type DistributionTrustedSignerItemArgs

type DistributionTrustedSignerItemArgs struct {
	// AWS account ID or `self`
	AwsAccountNumber pulumi.StringPtrInput `pulumi:"awsAccountNumber"`
	// Set of active CloudFront key pairs associated with the signer account
	KeyPairIds pulumi.StringArrayInput `pulumi:"keyPairIds"`
}

func (DistributionTrustedSignerItemArgs) ElementType

func (DistributionTrustedSignerItemArgs) ToDistributionTrustedSignerItemOutput

func (i DistributionTrustedSignerItemArgs) ToDistributionTrustedSignerItemOutput() DistributionTrustedSignerItemOutput

func (DistributionTrustedSignerItemArgs) ToDistributionTrustedSignerItemOutputWithContext

func (i DistributionTrustedSignerItemArgs) ToDistributionTrustedSignerItemOutputWithContext(ctx context.Context) DistributionTrustedSignerItemOutput

type DistributionTrustedSignerItemArray

type DistributionTrustedSignerItemArray []DistributionTrustedSignerItemInput

func (DistributionTrustedSignerItemArray) ElementType

func (DistributionTrustedSignerItemArray) ToDistributionTrustedSignerItemArrayOutput

func (i DistributionTrustedSignerItemArray) ToDistributionTrustedSignerItemArrayOutput() DistributionTrustedSignerItemArrayOutput

func (DistributionTrustedSignerItemArray) ToDistributionTrustedSignerItemArrayOutputWithContext

func (i DistributionTrustedSignerItemArray) ToDistributionTrustedSignerItemArrayOutputWithContext(ctx context.Context) DistributionTrustedSignerItemArrayOutput

type DistributionTrustedSignerItemArrayInput

type DistributionTrustedSignerItemArrayInput interface {
	pulumi.Input

	ToDistributionTrustedSignerItemArrayOutput() DistributionTrustedSignerItemArrayOutput
	ToDistributionTrustedSignerItemArrayOutputWithContext(context.Context) DistributionTrustedSignerItemArrayOutput
}

DistributionTrustedSignerItemArrayInput is an input type that accepts DistributionTrustedSignerItemArray and DistributionTrustedSignerItemArrayOutput values. You can construct a concrete instance of `DistributionTrustedSignerItemArrayInput` via:

DistributionTrustedSignerItemArray{ DistributionTrustedSignerItemArgs{...} }

type DistributionTrustedSignerItemArrayOutput

type DistributionTrustedSignerItemArrayOutput struct{ *pulumi.OutputState }

func (DistributionTrustedSignerItemArrayOutput) ElementType

func (DistributionTrustedSignerItemArrayOutput) Index

func (DistributionTrustedSignerItemArrayOutput) ToDistributionTrustedSignerItemArrayOutput

func (o DistributionTrustedSignerItemArrayOutput) ToDistributionTrustedSignerItemArrayOutput() DistributionTrustedSignerItemArrayOutput

func (DistributionTrustedSignerItemArrayOutput) ToDistributionTrustedSignerItemArrayOutputWithContext

func (o DistributionTrustedSignerItemArrayOutput) ToDistributionTrustedSignerItemArrayOutputWithContext(ctx context.Context) DistributionTrustedSignerItemArrayOutput

type DistributionTrustedSignerItemInput

type DistributionTrustedSignerItemInput interface {
	pulumi.Input

	ToDistributionTrustedSignerItemOutput() DistributionTrustedSignerItemOutput
	ToDistributionTrustedSignerItemOutputWithContext(context.Context) DistributionTrustedSignerItemOutput
}

DistributionTrustedSignerItemInput is an input type that accepts DistributionTrustedSignerItemArgs and DistributionTrustedSignerItemOutput values. You can construct a concrete instance of `DistributionTrustedSignerItemInput` via:

DistributionTrustedSignerItemArgs{...}

type DistributionTrustedSignerItemOutput

type DistributionTrustedSignerItemOutput struct{ *pulumi.OutputState }

func (DistributionTrustedSignerItemOutput) AwsAccountNumber

AWS account ID or `self`

func (DistributionTrustedSignerItemOutput) ElementType

func (DistributionTrustedSignerItemOutput) KeyPairIds

Set of active CloudFront key pairs associated with the signer account

func (DistributionTrustedSignerItemOutput) ToDistributionTrustedSignerItemOutput

func (o DistributionTrustedSignerItemOutput) ToDistributionTrustedSignerItemOutput() DistributionTrustedSignerItemOutput

func (DistributionTrustedSignerItemOutput) ToDistributionTrustedSignerItemOutputWithContext

func (o DistributionTrustedSignerItemOutput) ToDistributionTrustedSignerItemOutputWithContext(ctx context.Context) DistributionTrustedSignerItemOutput

type DistributionTrustedSignerOutput

type DistributionTrustedSignerOutput struct{ *pulumi.OutputState }

func (DistributionTrustedSignerOutput) ElementType

func (DistributionTrustedSignerOutput) Enabled

Whether the distribution is enabled to accept end user requests for content.

func (DistributionTrustedSignerOutput) Items

List of nested attributes for each trusted signer

func (DistributionTrustedSignerOutput) ToDistributionTrustedSignerOutput

func (o DistributionTrustedSignerOutput) ToDistributionTrustedSignerOutput() DistributionTrustedSignerOutput

func (DistributionTrustedSignerOutput) ToDistributionTrustedSignerOutputWithContext

func (o DistributionTrustedSignerOutput) ToDistributionTrustedSignerOutputWithContext(ctx context.Context) DistributionTrustedSignerOutput

type DistributionViewerCertificate

type DistributionViewerCertificate struct {
	// The ARN of the [AWS Certificate Manager](https://aws.amazon.com/certificate-manager/)
	// certificate that you wish to use with this distribution. Specify this,
	// `cloudfrontDefaultCertificate`, or `iamCertificateId`.  The ACM
	// certificate must be in  US-EAST-1.
	AcmCertificateArn *string `pulumi:"acmCertificateArn"`
	// `true` if you want viewers to use HTTPS
	// to request your objects and you're using the CloudFront domain name for your
	// distribution. Specify this, `acmCertificateArn`, or `iamCertificateId`.
	CloudfrontDefaultCertificate *bool `pulumi:"cloudfrontDefaultCertificate"`
	// The IAM certificate identifier of the custom viewer
	// certificate for this distribution if you are using a custom domain. Specify
	// this, `acmCertificateArn`, or `cloudfrontDefaultCertificate`.
	IamCertificateId *string `pulumi:"iamCertificateId"`
	// The minimum version of the SSL protocol that
	// you want CloudFront to use for HTTPS connections. Can only be set if
	// `cloudfrontDefaultCertificate = false`. One of `SSLv3`, `TLSv1`,
	// `TLSv1_2016`, `TLSv1.1_2016`, `TLSv1.2_2018` or `TLSv1.2_2019`. Default: `TLSv1`. **NOTE**:
	// If you are using a custom certificate (specified with `acmCertificateArn`
	// or `iamCertificateId`), and have specified `sni-only` in
	// `sslSupportMethod`, `TLSv1` or later must be specified. If you have
	// specified `vip` in `sslSupportMethod`, only `SSLv3` or `TLSv1` can be
	// specified. If you have specified `cloudfrontDefaultCertificate`, `TLSv1`
	// must be specified.
	MinimumProtocolVersion *string `pulumi:"minimumProtocolVersion"`
	SslSupportMethod       *string `pulumi:"sslSupportMethod"`
}

type DistributionViewerCertificateArgs

type DistributionViewerCertificateArgs struct {
	// The ARN of the [AWS Certificate Manager](https://aws.amazon.com/certificate-manager/)
	// certificate that you wish to use with this distribution. Specify this,
	// `cloudfrontDefaultCertificate`, or `iamCertificateId`.  The ACM
	// certificate must be in  US-EAST-1.
	AcmCertificateArn pulumi.StringPtrInput `pulumi:"acmCertificateArn"`
	// `true` if you want viewers to use HTTPS
	// to request your objects and you're using the CloudFront domain name for your
	// distribution. Specify this, `acmCertificateArn`, or `iamCertificateId`.
	CloudfrontDefaultCertificate pulumi.BoolPtrInput `pulumi:"cloudfrontDefaultCertificate"`
	// The IAM certificate identifier of the custom viewer
	// certificate for this distribution if you are using a custom domain. Specify
	// this, `acmCertificateArn`, or `cloudfrontDefaultCertificate`.
	IamCertificateId pulumi.StringPtrInput `pulumi:"iamCertificateId"`
	// The minimum version of the SSL protocol that
	// you want CloudFront to use for HTTPS connections. Can only be set if
	// `cloudfrontDefaultCertificate = false`. One of `SSLv3`, `TLSv1`,
	// `TLSv1_2016`, `TLSv1.1_2016`, `TLSv1.2_2018` or `TLSv1.2_2019`. Default: `TLSv1`. **NOTE**:
	// If you are using a custom certificate (specified with `acmCertificateArn`
	// or `iamCertificateId`), and have specified `sni-only` in
	// `sslSupportMethod`, `TLSv1` or later must be specified. If you have
	// specified `vip` in `sslSupportMethod`, only `SSLv3` or `TLSv1` can be
	// specified. If you have specified `cloudfrontDefaultCertificate`, `TLSv1`
	// must be specified.
	MinimumProtocolVersion pulumi.StringPtrInput `pulumi:"minimumProtocolVersion"`
	SslSupportMethod       pulumi.StringPtrInput `pulumi:"sslSupportMethod"`
}

func (DistributionViewerCertificateArgs) ElementType

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutput

func (i DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutput() DistributionViewerCertificateOutput

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutputWithContext

func (i DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutputWithContext(ctx context.Context) DistributionViewerCertificateOutput

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutput

func (i DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutputWithContext

func (i DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutputWithContext(ctx context.Context) DistributionViewerCertificatePtrOutput

type DistributionViewerCertificateInput

type DistributionViewerCertificateInput interface {
	pulumi.Input

	ToDistributionViewerCertificateOutput() DistributionViewerCertificateOutput
	ToDistributionViewerCertificateOutputWithContext(context.Context) DistributionViewerCertificateOutput
}

DistributionViewerCertificateInput is an input type that accepts DistributionViewerCertificateArgs and DistributionViewerCertificateOutput values. You can construct a concrete instance of `DistributionViewerCertificateInput` via:

DistributionViewerCertificateArgs{...}

type DistributionViewerCertificateOutput

type DistributionViewerCertificateOutput struct{ *pulumi.OutputState }

func (DistributionViewerCertificateOutput) AcmCertificateArn

The ARN of the [AWS Certificate Manager](https://aws.amazon.com/certificate-manager/) certificate that you wish to use with this distribution. Specify this, `cloudfrontDefaultCertificate`, or `iamCertificateId`. The ACM certificate must be in US-EAST-1.

func (DistributionViewerCertificateOutput) CloudfrontDefaultCertificate

func (o DistributionViewerCertificateOutput) CloudfrontDefaultCertificate() pulumi.BoolPtrOutput

`true` if you want viewers to use HTTPS to request your objects and you're using the CloudFront domain name for your distribution. Specify this, `acmCertificateArn`, or `iamCertificateId`.

func (DistributionViewerCertificateOutput) ElementType

func (DistributionViewerCertificateOutput) IamCertificateId

The IAM certificate identifier of the custom viewer certificate for this distribution if you are using a custom domain. Specify this, `acmCertificateArn`, or `cloudfrontDefaultCertificate`.

func (DistributionViewerCertificateOutput) MinimumProtocolVersion

func (o DistributionViewerCertificateOutput) MinimumProtocolVersion() pulumi.StringPtrOutput

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Can only be set if `cloudfrontDefaultCertificate = false`. One of `SSLv3`, `TLSv1`, `TLSv1_2016`, `TLSv1.1_2016`, `TLSv1.2_2018` or `TLSv1.2_2019`. Default: `TLSv1`. **NOTE**: If you are using a custom certificate (specified with `acmCertificateArn` or `iamCertificateId`), and have specified `sni-only` in `sslSupportMethod`, `TLSv1` or later must be specified. If you have specified `vip` in `sslSupportMethod`, only `SSLv3` or `TLSv1` can be specified. If you have specified `cloudfrontDefaultCertificate`, `TLSv1` must be specified.

func (DistributionViewerCertificateOutput) SslSupportMethod

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutput

func (o DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutput() DistributionViewerCertificateOutput

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutputWithContext

func (o DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutputWithContext(ctx context.Context) DistributionViewerCertificateOutput

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutput

func (o DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutputWithContext

func (o DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutputWithContext(ctx context.Context) DistributionViewerCertificatePtrOutput

type DistributionViewerCertificatePtrInput

type DistributionViewerCertificatePtrInput interface {
	pulumi.Input

	ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput
	ToDistributionViewerCertificatePtrOutputWithContext(context.Context) DistributionViewerCertificatePtrOutput
}

DistributionViewerCertificatePtrInput is an input type that accepts DistributionViewerCertificateArgs, DistributionViewerCertificatePtr and DistributionViewerCertificatePtrOutput values. You can construct a concrete instance of `DistributionViewerCertificatePtrInput` via:

        DistributionViewerCertificateArgs{...}

or:

        nil

type DistributionViewerCertificatePtrOutput

type DistributionViewerCertificatePtrOutput struct{ *pulumi.OutputState }

func (DistributionViewerCertificatePtrOutput) AcmCertificateArn

The ARN of the [AWS Certificate Manager](https://aws.amazon.com/certificate-manager/) certificate that you wish to use with this distribution. Specify this, `cloudfrontDefaultCertificate`, or `iamCertificateId`. The ACM certificate must be in US-EAST-1.

func (DistributionViewerCertificatePtrOutput) CloudfrontDefaultCertificate

func (o DistributionViewerCertificatePtrOutput) CloudfrontDefaultCertificate() pulumi.BoolPtrOutput

`true` if you want viewers to use HTTPS to request your objects and you're using the CloudFront domain name for your distribution. Specify this, `acmCertificateArn`, or `iamCertificateId`.

func (DistributionViewerCertificatePtrOutput) Elem

func (DistributionViewerCertificatePtrOutput) ElementType

func (DistributionViewerCertificatePtrOutput) IamCertificateId

The IAM certificate identifier of the custom viewer certificate for this distribution if you are using a custom domain. Specify this, `acmCertificateArn`, or `cloudfrontDefaultCertificate`.

func (DistributionViewerCertificatePtrOutput) MinimumProtocolVersion

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Can only be set if `cloudfrontDefaultCertificate = false`. One of `SSLv3`, `TLSv1`, `TLSv1_2016`, `TLSv1.1_2016`, `TLSv1.2_2018` or `TLSv1.2_2019`. Default: `TLSv1`. **NOTE**: If you are using a custom certificate (specified with `acmCertificateArn` or `iamCertificateId`), and have specified `sni-only` in `sslSupportMethod`, `TLSv1` or later must be specified. If you have specified `vip` in `sslSupportMethod`, only `SSLv3` or `TLSv1` can be specified. If you have specified `cloudfrontDefaultCertificate`, `TLSv1` must be specified.

func (DistributionViewerCertificatePtrOutput) SslSupportMethod

func (DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutput

func (o DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput

func (DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutputWithContext

func (o DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutputWithContext(ctx context.Context) DistributionViewerCertificatePtrOutput

type LookupDistributionArgs

type LookupDistributionArgs struct {
	// The identifier for the distribution. For example: `EDFDVBD632BHDS5`.
	Id   string            `pulumi:"id"`
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getDistribution.

type LookupDistributionResult

type LookupDistributionResult struct {
	// The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.
	Arn string `pulumi:"arn"`
	// The domain name corresponding to the distribution. For
	// example: `d604721fxaaqy9.cloudfront.net`.
	DomainName string `pulumi:"domainName"`
	Enabled    bool   `pulumi:"enabled"`
	// The current version of the distribution's information. For example:
	// `E2QWRUHAPOMQZL`.
	Etag string `pulumi:"etag"`
	// The CloudFront Route 53 zone ID that can be used to
	// route an [Alias Resource Record Set][7] to. This attribute is simply an
	// alias for the zone ID `Z2FDTNDATAQYW2`.
	HostedZoneId string `pulumi:"hostedZoneId"`
	// The identifier for the distribution. For example: `EDFDVBD632BHDS5`.
	Id string `pulumi:"id"`
	// The number of invalidation batches
	// currently in progress.
	InProgressValidationBatches int `pulumi:"inProgressValidationBatches"`
	// The date and time the distribution was last modified.
	LastModifiedTime string `pulumi:"lastModifiedTime"`
	// The current status of the distribution. `Deployed` if the
	// distribution's information is fully propagated throughout the Amazon
	// CloudFront system.
	Status string            `pulumi:"status"`
	Tags   map[string]string `pulumi:"tags"`
}

A collection of values returned by getDistribution.

func LookupDistribution

func LookupDistribution(ctx *pulumi.Context, args *LookupDistributionArgs, opts ...pulumi.InvokeOption) (*LookupDistributionResult, error)

Use this data source to retrieve information about a CloudFront distribution.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/cloudfront"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfront.LookupDistribution(ctx, &cloudfront.LookupDistributionArgs{
			Id: "EDFDVBD632BHDS5",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type OriginAccessIdentity

type OriginAccessIdentity struct {
	pulumi.CustomResourceState

	// Internal value used by CloudFront to allow future
	// updates to the origin access identity.
	CallerReference pulumi.StringOutput `pulumi:"callerReference"`
	// A shortcut to the full path for the
	// origin access identity to use in CloudFront, see below.
	CloudfrontAccessIdentityPath pulumi.StringOutput `pulumi:"cloudfrontAccessIdentityPath"`
	// An optional comment for the origin access identity.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// The current version of the origin access identity's information.
	// For example: `E2QWRUHAPOMQZL`.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// A pre-generated ARN for use in S3 bucket policies (see below).
	// Example: `arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity
	// E2QWRUHAPOMQZL`.
	IamArn pulumi.StringOutput `pulumi:"iamArn"`
	// The Amazon S3 canonical user ID for the origin
	// access identity, which you use when giving the origin access identity read
	// permission to an object in Amazon S3.
	S3CanonicalUserId pulumi.StringOutput `pulumi:"s3CanonicalUserId"`
}

Creates an Amazon CloudFront origin access identity.

For information about CloudFront distributions, see the [Amazon CloudFront Developer Guide](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html). For more information on generating origin access identities, see [Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content][2].

## Example Usage

The following example below creates a CloudFront origin access identity.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/cloudfront"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfront.NewOriginAccessIdentity(ctx, "originAccessIdentity", &cloudfront.OriginAccessIdentityArgs{
			Comment: pulumi.String("Some comment"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Using With CloudFront

Normally, when referencing an origin access identity in CloudFront, you need to prefix the ID with the `origin-access-identity/cloudfront/` special path. The `cloudfrontAccessIdentityPath` allows this to be circumvented. The below snippet demonstrates use with the `s3OriginConfig` structure for the [`cloudfront.Distribution`][3] resource:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/cloudfront"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudfront.NewDistribution(ctx, "example", &cloudfront.DistributionArgs{
			Origins: cloudfront.DistributionOriginArray{
				&cloudfront.DistributionOriginArgs{
					S3OriginConfig: &cloudfront.DistributionOriginS3OriginConfigArgs{
						OriginAccessIdentity: pulumi.Any(aws_cloudfront_origin_access_identity.Example.Cloudfront_access_identity_path),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloudfront Origin Access Identities can be imported using the `id`, e.g.

```sh

$ pulumi import aws:cloudfront/originAccessIdentity:OriginAccessIdentity origin_access E74FTE3AEXAMPLE

```

func GetOriginAccessIdentity

func GetOriginAccessIdentity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OriginAccessIdentityState, opts ...pulumi.ResourceOption) (*OriginAccessIdentity, error)

GetOriginAccessIdentity gets an existing OriginAccessIdentity resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewOriginAccessIdentity

func NewOriginAccessIdentity(ctx *pulumi.Context,
	name string, args *OriginAccessIdentityArgs, opts ...pulumi.ResourceOption) (*OriginAccessIdentity, error)

NewOriginAccessIdentity registers a new resource with the given unique name, arguments, and options.

func (OriginAccessIdentity) ElementType added in v3.13.0

func (OriginAccessIdentity) ElementType() reflect.Type

func (OriginAccessIdentity) ToOriginAccessIdentityOutput added in v3.13.0

func (i OriginAccessIdentity) ToOriginAccessIdentityOutput() OriginAccessIdentityOutput

func (OriginAccessIdentity) ToOriginAccessIdentityOutputWithContext added in v3.13.0

func (i OriginAccessIdentity) ToOriginAccessIdentityOutputWithContext(ctx context.Context) OriginAccessIdentityOutput

type OriginAccessIdentityArgs

type OriginAccessIdentityArgs struct {
	// An optional comment for the origin access identity.
	Comment pulumi.StringPtrInput
}

The set of arguments for constructing a OriginAccessIdentity resource.

func (OriginAccessIdentityArgs) ElementType

func (OriginAccessIdentityArgs) ElementType() reflect.Type

type OriginAccessIdentityInput added in v3.13.0

type OriginAccessIdentityInput interface {
	pulumi.Input

	ToOriginAccessIdentityOutput() OriginAccessIdentityOutput
	ToOriginAccessIdentityOutputWithContext(ctx context.Context) OriginAccessIdentityOutput
}

type OriginAccessIdentityOutput added in v3.13.0

type OriginAccessIdentityOutput struct {
	*pulumi.OutputState
}

func (OriginAccessIdentityOutput) ElementType added in v3.13.0

func (OriginAccessIdentityOutput) ElementType() reflect.Type

func (OriginAccessIdentityOutput) ToOriginAccessIdentityOutput added in v3.13.0

func (o OriginAccessIdentityOutput) ToOriginAccessIdentityOutput() OriginAccessIdentityOutput

func (OriginAccessIdentityOutput) ToOriginAccessIdentityOutputWithContext added in v3.13.0

func (o OriginAccessIdentityOutput) ToOriginAccessIdentityOutputWithContext(ctx context.Context) OriginAccessIdentityOutput

type OriginAccessIdentityState

type OriginAccessIdentityState struct {
	// Internal value used by CloudFront to allow future
	// updates to the origin access identity.
	CallerReference pulumi.StringPtrInput
	// A shortcut to the full path for the
	// origin access identity to use in CloudFront, see below.
	CloudfrontAccessIdentityPath pulumi.StringPtrInput
	// An optional comment for the origin access identity.
	Comment pulumi.StringPtrInput
	// The current version of the origin access identity's information.
	// For example: `E2QWRUHAPOMQZL`.
	Etag pulumi.StringPtrInput
	// A pre-generated ARN for use in S3 bucket policies (see below).
	// Example: `arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity
	// E2QWRUHAPOMQZL`.
	IamArn pulumi.StringPtrInput
	// The Amazon S3 canonical user ID for the origin
	// access identity, which you use when giving the origin access identity read
	// permission to an object in Amazon S3.
	S3CanonicalUserId pulumi.StringPtrInput
}

func (OriginAccessIdentityState) ElementType

func (OriginAccessIdentityState) ElementType() reflect.Type

type PublicKey

type PublicKey struct {
	pulumi.CustomResourceState

	// Internal value used by CloudFront to allow future updates to the public key configuration.
	CallerReference pulumi.StringOutput `pulumi:"callerReference"`
	// An optional comment about the public key.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
	EncodedKey pulumi.StringOutput `pulumi:"encodedKey"`
	// The current version of the public key. For example: `E2QWRUHAPOMQZL`.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The name for the public key. By default generated by this provider.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name for the public key. Conflicts with `name`.
	NamePrefix pulumi.StringOutput `pulumi:"namePrefix"`
}

func GetPublicKey

func GetPublicKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PublicKeyState, opts ...pulumi.ResourceOption) (*PublicKey, error)

GetPublicKey gets an existing PublicKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPublicKey

func NewPublicKey(ctx *pulumi.Context,
	name string, args *PublicKeyArgs, opts ...pulumi.ResourceOption) (*PublicKey, error)

NewPublicKey registers a new resource with the given unique name, arguments, and options.

func (PublicKey) ElementType added in v3.13.0

func (PublicKey) ElementType() reflect.Type

func (PublicKey) ToPublicKeyOutput added in v3.13.0

func (i PublicKey) ToPublicKeyOutput() PublicKeyOutput

func (PublicKey) ToPublicKeyOutputWithContext added in v3.13.0

func (i PublicKey) ToPublicKeyOutputWithContext(ctx context.Context) PublicKeyOutput

type PublicKeyArgs

type PublicKeyArgs struct {
	// An optional comment about the public key.
	Comment pulumi.StringPtrInput
	// The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
	EncodedKey pulumi.StringInput
	// The name for the public key. By default generated by this provider.
	Name pulumi.StringPtrInput
	// The name for the public key. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
}

The set of arguments for constructing a PublicKey resource.

func (PublicKeyArgs) ElementType

func (PublicKeyArgs) ElementType() reflect.Type

type PublicKeyInput added in v3.13.0

type PublicKeyInput interface {
	pulumi.Input

	ToPublicKeyOutput() PublicKeyOutput
	ToPublicKeyOutputWithContext(ctx context.Context) PublicKeyOutput
}

type PublicKeyOutput added in v3.13.0

type PublicKeyOutput struct {
	*pulumi.OutputState
}

func (PublicKeyOutput) ElementType added in v3.13.0

func (PublicKeyOutput) ElementType() reflect.Type

func (PublicKeyOutput) ToPublicKeyOutput added in v3.13.0

func (o PublicKeyOutput) ToPublicKeyOutput() PublicKeyOutput

func (PublicKeyOutput) ToPublicKeyOutputWithContext added in v3.13.0

func (o PublicKeyOutput) ToPublicKeyOutputWithContext(ctx context.Context) PublicKeyOutput

type PublicKeyState

type PublicKeyState struct {
	// Internal value used by CloudFront to allow future updates to the public key configuration.
	CallerReference pulumi.StringPtrInput
	// An optional comment about the public key.
	Comment pulumi.StringPtrInput
	// The encoded public key that you want to add to CloudFront to use with features like field-level encryption.
	EncodedKey pulumi.StringPtrInput
	// The current version of the public key. For example: `E2QWRUHAPOMQZL`.
	Etag pulumi.StringPtrInput
	// The name for the public key. By default generated by this provider.
	Name pulumi.StringPtrInput
	// The name for the public key. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
}

func (PublicKeyState) ElementType

func (PublicKeyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL