cloudfront

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Distribution

type Distribution struct {
	pulumi.CustomResourceState

	// The key pair IDs that CloudFront is aware of for
	// each trusted signer, if the distribution is set up to serve private content
	// with signed URLs.
	ActiveTrustedSigners pulumi.MapOutput `pulumi:"activeTrustedSigners"`
	// 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][7] 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 mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// 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"`
	// If you're using AWS WAF to filter CloudFront
	// requests, the Id of the AWS WAF web ACL that is associated with the
	// distribution. 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][1]. For specific information about creating CloudFront web distributions, see the [POST Distribution][2] 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/cloudfront_distribution.html.markdown.

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.

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 mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// 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
	// If you're using AWS WAF to filter CloudFront
	// requests, the Id of the AWS WAF web ACL that is associated with the
	// distribution. 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 added in v1.19.0

func (DistributionArgs) ElementType() reflect.Type

type DistributionCustomErrorResponse added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutput added in v1.19.0

func (i DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutput() DistributionCustomErrorResponseOutput

func (DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutputWithContext added in v1.19.0

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

type DistributionCustomErrorResponseArray added in v1.19.0

type DistributionCustomErrorResponseArray []DistributionCustomErrorResponseInput

func (DistributionCustomErrorResponseArray) ElementType added in v1.19.0

func (DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutput added in v1.19.0

func (i DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutput() DistributionCustomErrorResponseArrayOutput

func (DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutputWithContext added in v1.19.0

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

type DistributionCustomErrorResponseArrayInput added in v1.19.0

type DistributionCustomErrorResponseArrayInput interface {
	pulumi.Input

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

type DistributionCustomErrorResponseArrayOutput added in v1.19.0

type DistributionCustomErrorResponseArrayOutput struct{ *pulumi.OutputState }

func (DistributionCustomErrorResponseArrayOutput) ElementType added in v1.19.0

func (DistributionCustomErrorResponseArrayOutput) Index added in v1.19.0

func (DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutput added in v1.19.0

func (o DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutput() DistributionCustomErrorResponseArrayOutput

func (DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutputWithContext added in v1.19.0

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

type DistributionCustomErrorResponseInput added in v1.19.0

type DistributionCustomErrorResponseInput interface {
	pulumi.Input

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

type DistributionCustomErrorResponseOutput added in v1.19.0

type DistributionCustomErrorResponseOutput struct{ *pulumi.OutputState }

func (DistributionCustomErrorResponseOutput) ElementType added in v1.19.0

func (DistributionCustomErrorResponseOutput) ErrorCachingMinTtl added in v1.19.0

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 added in v1.19.0

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

func (DistributionCustomErrorResponseOutput) ResponseCode added in v1.19.0

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

func (DistributionCustomErrorResponseOutput) ResponsePagePath added in v1.19.0

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

func (DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutput added in v1.19.0

func (o DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutput() DistributionCustomErrorResponseOutput

func (DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutputWithContext added in v1.19.0

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

type DistributionDefaultCacheBehavior added in v1.19.0

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"`
	// The AWS accounts, if any, that you want to
	// allow to create signed URLs for private content.
	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 added in v1.19.0

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"`
	// The AWS accounts, if any, that you want to
	// allow to create signed URLs for private content.
	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 added in v1.19.0

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutput added in v1.19.0

func (i DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutput() DistributionDefaultCacheBehaviorOutput

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutputWithContext added in v1.19.0

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

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutput added in v1.19.0

func (i DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutputWithContext added in v1.19.0

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

type DistributionDefaultCacheBehaviorForwardedValues added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutput added in v1.19.0

func (i DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutput() DistributionDefaultCacheBehaviorForwardedValuesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutputWithContext added in v1.19.0

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

type DistributionDefaultCacheBehaviorForwardedValuesCookies added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutput added in v1.19.0

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputWithContext added in v1.19.0

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

type DistributionDefaultCacheBehaviorForwardedValuesCookiesInput added in v1.19.0

type DistributionDefaultCacheBehaviorForwardedValuesCookiesInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput added in v1.19.0

type DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ElementType added in v1.19.0

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) Forward added in v1.19.0

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 added in v1.19.0

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputWithContext added in v1.19.0

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

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) WhitelistedNames added in v1.19.0

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

type DistributionDefaultCacheBehaviorForwardedValuesInput added in v1.19.0

type DistributionDefaultCacheBehaviorForwardedValuesInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorForwardedValuesOutput added in v1.19.0

type DistributionDefaultCacheBehaviorForwardedValuesOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) Cookies added in v1.19.0

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

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ElementType added in v1.19.0

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) Headers added in v1.19.0

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

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) QueryString added in v1.19.0

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

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) QueryStringCacheKeys added in v1.19.0

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 added in v1.19.0

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesOutputWithContext added in v1.19.0

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

type DistributionDefaultCacheBehaviorInput added in v1.19.0

type DistributionDefaultCacheBehaviorInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociation added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput added in v1.19.0

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutputWithContext added in v1.19.0

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray added in v1.19.0

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray []DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ElementType added in v1.19.0

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput added in v1.19.0

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext added in v1.19.0

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayInput added in v1.19.0

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput added in v1.19.0

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ElementType added in v1.19.0

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) Index added in v1.19.0

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput added in v1.19.0

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext added in v1.19.0

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput added in v1.19.0

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput added in v1.19.0

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ElementType added in v1.19.0

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) EventType added in v1.19.0

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

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) IncludeBody added in v1.19.0

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

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) LambdaArn added in v1.19.0

ARN of the Lambda function.

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput added in v1.19.0

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutputWithContext added in v1.19.0

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

type DistributionDefaultCacheBehaviorOutput added in v1.19.0

type DistributionDefaultCacheBehaviorOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorOutput) AllowedMethods added in v1.19.0

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

func (DistributionDefaultCacheBehaviorOutput) CachedMethods added in v1.19.0

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

func (DistributionDefaultCacheBehaviorOutput) Compress added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionDefaultCacheBehaviorOutput) FieldLevelEncryptionId added in v1.19.0

Field level encryption configuration ID

func (DistributionDefaultCacheBehaviorOutput) ForwardedValues added in v1.19.0

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

func (DistributionDefaultCacheBehaviorOutput) LambdaFunctionAssociations added in v1.19.0

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

func (DistributionDefaultCacheBehaviorOutput) MaxTtl added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorOutput() DistributionDefaultCacheBehaviorOutput

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorOutputWithContext added in v1.19.0

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

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutput added in v1.19.0

func (o DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutputWithContext added in v1.19.0

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

func (DistributionDefaultCacheBehaviorOutput) TrustedSigners added in v1.19.0

The AWS accounts, if any, that you want to allow to create signed URLs for private content.

func (DistributionDefaultCacheBehaviorOutput) ViewerProtocolPolicy added in v1.19.0

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 added in v1.19.0

type DistributionDefaultCacheBehaviorPtrInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorPtrOutput added in v1.19.0

type DistributionDefaultCacheBehaviorPtrOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorPtrOutput) AllowedMethods added in v1.19.0

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

func (DistributionDefaultCacheBehaviorPtrOutput) CachedMethods added in v1.19.0

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

func (DistributionDefaultCacheBehaviorPtrOutput) Compress added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionDefaultCacheBehaviorPtrOutput) ElementType added in v1.19.0

func (DistributionDefaultCacheBehaviorPtrOutput) FieldLevelEncryptionId added in v1.19.0

Field level encryption configuration ID

func (DistributionDefaultCacheBehaviorPtrOutput) ForwardedValues added in v1.19.0

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

func (DistributionDefaultCacheBehaviorPtrOutput) LambdaFunctionAssociations added in v1.19.0

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

func (DistributionDefaultCacheBehaviorPtrOutput) MaxTtl added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o DistributionDefaultCacheBehaviorPtrOutput) ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorPtrOutput) ToDistributionDefaultCacheBehaviorPtrOutputWithContext added in v1.19.0

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

func (DistributionDefaultCacheBehaviorPtrOutput) TrustedSigners added in v1.19.0

The AWS accounts, if any, that you want to allow to create signed URLs for private content.

func (DistributionDefaultCacheBehaviorPtrOutput) ViewerProtocolPolicy added in v1.19.0

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 DistributionLoggingConfig added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutput added in v1.19.0

func (i DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutput() DistributionLoggingConfigOutput

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutputWithContext added in v1.19.0

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

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutput added in v1.19.0

func (i DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutputWithContext added in v1.19.0

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

type DistributionLoggingConfigInput added in v1.19.0

type DistributionLoggingConfigInput interface {
	pulumi.Input

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

type DistributionLoggingConfigOutput added in v1.19.0

type DistributionLoggingConfigOutput struct{ *pulumi.OutputState }

func (DistributionLoggingConfigOutput) Bucket added in v1.19.0

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

func (DistributionLoggingConfigOutput) ElementType added in v1.19.0

func (DistributionLoggingConfigOutput) IncludeCookies added in v1.19.0

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

func (DistributionLoggingConfigOutput) Prefix added in v1.19.0

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

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutput added in v1.19.0

func (o DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutput() DistributionLoggingConfigOutput

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutputWithContext added in v1.19.0

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

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutput added in v1.19.0

func (o DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutputWithContext added in v1.19.0

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

type DistributionLoggingConfigPtrInput added in v1.19.0

type DistributionLoggingConfigPtrInput interface {
	pulumi.Input

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

func DistributionLoggingConfigPtr added in v1.19.0

type DistributionLoggingConfigPtrOutput added in v1.19.0

type DistributionLoggingConfigPtrOutput struct{ *pulumi.OutputState }

func (DistributionLoggingConfigPtrOutput) Bucket added in v1.19.0

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

func (DistributionLoggingConfigPtrOutput) Elem added in v1.19.0

func (DistributionLoggingConfigPtrOutput) ElementType added in v1.19.0

func (DistributionLoggingConfigPtrOutput) IncludeCookies added in v1.19.0

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

func (DistributionLoggingConfigPtrOutput) Prefix added in v1.19.0

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

func (DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutput added in v1.19.0

func (o DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput

func (DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehavior added in v1.19.0

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"`
	// The AWS accounts, if any, that you want to
	// allow to create signed URLs for private content.
	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 added in v1.19.0

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"`
	// The AWS accounts, if any, that you want to
	// allow to create signed URLs for private content.
	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 added in v1.19.0

func (DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutput added in v1.19.0

func (i DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutput() DistributionOrderedCacheBehaviorOutput

func (DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorArray added in v1.19.0

type DistributionOrderedCacheBehaviorArray []DistributionOrderedCacheBehaviorInput

func (DistributionOrderedCacheBehaviorArray) ElementType added in v1.19.0

func (DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutput added in v1.19.0

func (i DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutput() DistributionOrderedCacheBehaviorArrayOutput

func (DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorArrayInput added in v1.19.0

type DistributionOrderedCacheBehaviorArrayInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorArrayOutput added in v1.19.0

type DistributionOrderedCacheBehaviorArrayOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorArrayOutput) ElementType added in v1.19.0

func (DistributionOrderedCacheBehaviorArrayOutput) Index added in v1.19.0

func (DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutput added in v1.19.0

func (o DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutput() DistributionOrderedCacheBehaviorArrayOutput

func (DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorForwardedValues added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutput added in v1.19.0

func (i DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutput() DistributionOrderedCacheBehaviorForwardedValuesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorForwardedValuesCookies added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutput added in v1.19.0

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorForwardedValuesCookiesInput added in v1.19.0

type DistributionOrderedCacheBehaviorForwardedValuesCookiesInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput added in v1.19.0

type DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) ElementType added in v1.19.0

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) Forward added in v1.19.0

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 added in v1.19.0

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputWithContext added in v1.19.0

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

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) WhitelistedNames added in v1.19.0

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

type DistributionOrderedCacheBehaviorForwardedValuesInput added in v1.19.0

type DistributionOrderedCacheBehaviorForwardedValuesInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorForwardedValuesOutput added in v1.19.0

type DistributionOrderedCacheBehaviorForwardedValuesOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) Cookies added in v1.19.0

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

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) ElementType added in v1.19.0

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) Headers added in v1.19.0

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

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) QueryString added in v1.19.0

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

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) QueryStringCacheKeys added in v1.19.0

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 added in v1.19.0

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorInput added in v1.19.0

type DistributionOrderedCacheBehaviorInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociation added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput added in v1.19.0

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray added in v1.19.0

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray []DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ElementType added in v1.19.0

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput added in v1.19.0

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput added in v1.19.0

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput added in v1.19.0

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ElementType added in v1.19.0

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) Index added in v1.19.0

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput added in v1.19.0

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput added in v1.19.0

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput added in v1.19.0

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ElementType added in v1.19.0

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) EventType added in v1.19.0

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

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) IncludeBody added in v1.19.0

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

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) LambdaArn added in v1.19.0

ARN of the Lambda function.

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput added in v1.19.0

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutputWithContext added in v1.19.0

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

type DistributionOrderedCacheBehaviorOutput added in v1.19.0

type DistributionOrderedCacheBehaviorOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorOutput) AllowedMethods added in v1.19.0

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

func (DistributionOrderedCacheBehaviorOutput) CachedMethods added in v1.19.0

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

func (DistributionOrderedCacheBehaviorOutput) Compress added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionOrderedCacheBehaviorOutput) FieldLevelEncryptionId added in v1.19.0

Field level encryption configuration ID

func (DistributionOrderedCacheBehaviorOutput) ForwardedValues added in v1.19.0

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

func (DistributionOrderedCacheBehaviorOutput) LambdaFunctionAssociations added in v1.19.0

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

func (DistributionOrderedCacheBehaviorOutput) MaxTtl added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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

func (DistributionOrderedCacheBehaviorOutput) SmoothStreaming added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o DistributionOrderedCacheBehaviorOutput) ToDistributionOrderedCacheBehaviorOutput() DistributionOrderedCacheBehaviorOutput

func (DistributionOrderedCacheBehaviorOutput) ToDistributionOrderedCacheBehaviorOutputWithContext added in v1.19.0

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

func (DistributionOrderedCacheBehaviorOutput) TrustedSigners added in v1.19.0

The AWS accounts, if any, that you want to allow to create signed URLs for private content.

func (DistributionOrderedCacheBehaviorOutput) ViewerProtocolPolicy added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionOriginArgs) ElementType() reflect.Type

func (DistributionOriginArgs) ToDistributionOriginOutput added in v1.19.0

func (i DistributionOriginArgs) ToDistributionOriginOutput() DistributionOriginOutput

func (DistributionOriginArgs) ToDistributionOriginOutputWithContext added in v1.19.0

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

type DistributionOriginArray added in v1.19.0

type DistributionOriginArray []DistributionOriginInput

func (DistributionOriginArray) ElementType added in v1.19.0

func (DistributionOriginArray) ElementType() reflect.Type

func (DistributionOriginArray) ToDistributionOriginArrayOutput added in v1.19.0

func (i DistributionOriginArray) ToDistributionOriginArrayOutput() DistributionOriginArrayOutput

func (DistributionOriginArray) ToDistributionOriginArrayOutputWithContext added in v1.19.0

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

type DistributionOriginArrayInput added in v1.19.0

type DistributionOriginArrayInput interface {
	pulumi.Input

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

type DistributionOriginArrayOutput added in v1.19.0

type DistributionOriginArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginArrayOutput) ElementType added in v1.19.0

func (DistributionOriginArrayOutput) Index added in v1.19.0

func (DistributionOriginArrayOutput) ToDistributionOriginArrayOutput added in v1.19.0

func (o DistributionOriginArrayOutput) ToDistributionOriginArrayOutput() DistributionOriginArrayOutput

func (DistributionOriginArrayOutput) ToDistributionOriginArrayOutputWithContext added in v1.19.0

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

type DistributionOriginCustomHeader added in v1.19.0

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

type DistributionOriginCustomHeaderArgs added in v1.19.0

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

func (DistributionOriginCustomHeaderArgs) ElementType added in v1.19.0

func (DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutput added in v1.19.0

func (i DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutput() DistributionOriginCustomHeaderOutput

func (DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutputWithContext added in v1.19.0

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

type DistributionOriginCustomHeaderArray added in v1.19.0

type DistributionOriginCustomHeaderArray []DistributionOriginCustomHeaderInput

func (DistributionOriginCustomHeaderArray) ElementType added in v1.19.0

func (DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutput added in v1.19.0

func (i DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutput() DistributionOriginCustomHeaderArrayOutput

func (DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutputWithContext added in v1.19.0

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

type DistributionOriginCustomHeaderArrayInput added in v1.19.0

type DistributionOriginCustomHeaderArrayInput interface {
	pulumi.Input

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

type DistributionOriginCustomHeaderArrayOutput added in v1.19.0

type DistributionOriginCustomHeaderArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomHeaderArrayOutput) ElementType added in v1.19.0

func (DistributionOriginCustomHeaderArrayOutput) Index added in v1.19.0

func (DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutput added in v1.19.0

func (o DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutput() DistributionOriginCustomHeaderArrayOutput

func (DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutputWithContext added in v1.19.0

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

type DistributionOriginCustomHeaderInput added in v1.19.0

type DistributionOriginCustomHeaderInput interface {
	pulumi.Input

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

type DistributionOriginCustomHeaderOutput added in v1.19.0

type DistributionOriginCustomHeaderOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomHeaderOutput) ElementType added in v1.19.0

func (DistributionOriginCustomHeaderOutput) Name added in v1.19.0

func (DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutput added in v1.19.0

func (o DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutput() DistributionOriginCustomHeaderOutput

func (DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutputWithContext added in v1.19.0

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

func (DistributionOriginCustomHeaderOutput) Value added in v1.19.0

type DistributionOriginCustomOriginConfig added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutput added in v1.19.0

func (i DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutput() DistributionOriginCustomOriginConfigOutput

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutputWithContext added in v1.19.0

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

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutput added in v1.19.0

func (i DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutputWithContext added in v1.19.0

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

type DistributionOriginCustomOriginConfigInput added in v1.19.0

type DistributionOriginCustomOriginConfigInput interface {
	pulumi.Input

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

type DistributionOriginCustomOriginConfigOutput added in v1.19.0

type DistributionOriginCustomOriginConfigOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomOriginConfigOutput) ElementType added in v1.19.0

func (DistributionOriginCustomOriginConfigOutput) HttpPort added in v1.19.0

The HTTP port the custom origin listens on.

func (DistributionOriginCustomOriginConfigOutput) HttpsPort added in v1.19.0

The HTTPS port the custom origin listens on.

func (DistributionOriginCustomOriginConfigOutput) OriginKeepaliveTimeout added in v1.19.0

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 added in v1.19.0

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

func (DistributionOriginCustomOriginConfigOutput) OriginReadTimeout added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigOutput() DistributionOriginCustomOriginConfigOutput

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigOutputWithContext added in v1.19.0

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

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutput added in v1.19.0

func (o DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutputWithContext added in v1.19.0

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

type DistributionOriginCustomOriginConfigPtrInput added in v1.19.0

type DistributionOriginCustomOriginConfigPtrInput interface {
	pulumi.Input

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

type DistributionOriginCustomOriginConfigPtrOutput added in v1.19.0

type DistributionOriginCustomOriginConfigPtrOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomOriginConfigPtrOutput) Elem added in v1.19.0

func (DistributionOriginCustomOriginConfigPtrOutput) ElementType added in v1.19.0

func (DistributionOriginCustomOriginConfigPtrOutput) HttpPort added in v1.19.0

The HTTP port the custom origin listens on.

func (DistributionOriginCustomOriginConfigPtrOutput) HttpsPort added in v1.19.0

The HTTPS port the custom origin listens on.

func (DistributionOriginCustomOriginConfigPtrOutput) OriginKeepaliveTimeout added in v1.19.0

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 added in v1.19.0

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

func (DistributionOriginCustomOriginConfigPtrOutput) OriginReadTimeout added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o DistributionOriginCustomOriginConfigPtrOutput) ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput

func (DistributionOriginCustomOriginConfigPtrOutput) ToDistributionOriginCustomOriginConfigPtrOutputWithContext added in v1.19.0

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

type DistributionOriginGroup added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionOriginGroupArgs) ToDistributionOriginGroupOutput added in v1.19.0

func (i DistributionOriginGroupArgs) ToDistributionOriginGroupOutput() DistributionOriginGroupOutput

func (DistributionOriginGroupArgs) ToDistributionOriginGroupOutputWithContext added in v1.19.0

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

type DistributionOriginGroupArray added in v1.19.0

type DistributionOriginGroupArray []DistributionOriginGroupInput

func (DistributionOriginGroupArray) ElementType added in v1.19.0

func (DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutput added in v1.19.0

func (i DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutput() DistributionOriginGroupArrayOutput

func (DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutputWithContext added in v1.19.0

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

type DistributionOriginGroupArrayInput added in v1.19.0

type DistributionOriginGroupArrayInput interface {
	pulumi.Input

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

type DistributionOriginGroupArrayOutput added in v1.19.0

type DistributionOriginGroupArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupArrayOutput) ElementType added in v1.19.0

func (DistributionOriginGroupArrayOutput) Index added in v1.19.0

func (DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutput added in v1.19.0

func (o DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutput() DistributionOriginGroupArrayOutput

func (DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutputWithContext added in v1.19.0

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

type DistributionOriginGroupFailoverCriteria added in v1.19.0

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

type DistributionOriginGroupFailoverCriteriaArgs added in v1.19.0

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

func (DistributionOriginGroupFailoverCriteriaArgs) ElementType added in v1.19.0

func (DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutput added in v1.19.0

func (i DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutput() DistributionOriginGroupFailoverCriteriaOutput

func (DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutputWithContext added in v1.19.0

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

type DistributionOriginGroupFailoverCriteriaInput added in v1.19.0

type DistributionOriginGroupFailoverCriteriaInput interface {
	pulumi.Input

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

type DistributionOriginGroupFailoverCriteriaOutput added in v1.19.0

type DistributionOriginGroupFailoverCriteriaOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupFailoverCriteriaOutput) ElementType added in v1.19.0

func (DistributionOriginGroupFailoverCriteriaOutput) StatusCodes added in v1.19.0

A list of HTTP status codes for the origin group

func (DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutput added in v1.19.0

func (o DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutput() DistributionOriginGroupFailoverCriteriaOutput

func (DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutputWithContext added in v1.19.0

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

type DistributionOriginGroupInput added in v1.19.0

type DistributionOriginGroupInput interface {
	pulumi.Input

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

type DistributionOriginGroupMember added in v1.19.0

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

type DistributionOriginGroupMemberArgs added in v1.19.0

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

func (DistributionOriginGroupMemberArgs) ElementType added in v1.19.0

func (DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutput added in v1.19.0

func (i DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutput() DistributionOriginGroupMemberOutput

func (DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutputWithContext added in v1.19.0

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

type DistributionOriginGroupMemberArray added in v1.19.0

type DistributionOriginGroupMemberArray []DistributionOriginGroupMemberInput

func (DistributionOriginGroupMemberArray) ElementType added in v1.19.0

func (DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutput added in v1.19.0

func (i DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutput() DistributionOriginGroupMemberArrayOutput

func (DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutputWithContext added in v1.19.0

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

type DistributionOriginGroupMemberArrayInput added in v1.19.0

type DistributionOriginGroupMemberArrayInput interface {
	pulumi.Input

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

type DistributionOriginGroupMemberArrayOutput added in v1.19.0

type DistributionOriginGroupMemberArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupMemberArrayOutput) ElementType added in v1.19.0

func (DistributionOriginGroupMemberArrayOutput) Index added in v1.19.0

func (DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutput added in v1.19.0

func (o DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutput() DistributionOriginGroupMemberArrayOutput

func (DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutputWithContext added in v1.19.0

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

type DistributionOriginGroupMemberInput added in v1.19.0

type DistributionOriginGroupMemberInput interface {
	pulumi.Input

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

type DistributionOriginGroupMemberOutput added in v1.19.0

type DistributionOriginGroupMemberOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupMemberOutput) ElementType added in v1.19.0

func (DistributionOriginGroupMemberOutput) OriginId added in v1.19.0

The unique identifier of the member origin

func (DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutput added in v1.19.0

func (o DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutput() DistributionOriginGroupMemberOutput

func (DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutputWithContext added in v1.19.0

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

type DistributionOriginGroupOutput added in v1.19.0

type DistributionOriginGroupOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupOutput) ElementType added in v1.19.0

func (DistributionOriginGroupOutput) FailoverCriteria added in v1.19.0

The failover criteria for when to failover to the secondary origin

func (DistributionOriginGroupOutput) Members added in v1.19.0

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 added in v1.19.0

The unique identifier of the member origin

func (DistributionOriginGroupOutput) ToDistributionOriginGroupOutput added in v1.19.0

func (o DistributionOriginGroupOutput) ToDistributionOriginGroupOutput() DistributionOriginGroupOutput

func (DistributionOriginGroupOutput) ToDistributionOriginGroupOutputWithContext added in v1.19.0

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

type DistributionOriginInput added in v1.19.0

type DistributionOriginInput interface {
	pulumi.Input

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

type DistributionOriginOutput added in v1.19.0

type DistributionOriginOutput struct{ *pulumi.OutputState }

func (DistributionOriginOutput) CustomHeaders added in v1.19.0

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 added in v1.19.0

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

func (DistributionOriginOutput) DomainName added in v1.19.0

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

func (DistributionOriginOutput) ElementType added in v1.19.0

func (DistributionOriginOutput) ElementType() reflect.Type

func (DistributionOriginOutput) OriginId added in v1.19.0

The unique identifier of the member origin

func (DistributionOriginOutput) OriginPath added in v1.19.0

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 added in v1.19.0

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

func (DistributionOriginOutput) ToDistributionOriginOutput added in v1.19.0

func (o DistributionOriginOutput) ToDistributionOriginOutput() DistributionOriginOutput

func (DistributionOriginOutput) ToDistributionOriginOutputWithContext added in v1.19.0

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

type DistributionOriginS3OriginConfig added in v1.19.0

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

type DistributionOriginS3OriginConfigArgs added in v1.19.0

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

func (DistributionOriginS3OriginConfigArgs) ElementType added in v1.19.0

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutput added in v1.19.0

func (i DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutput() DistributionOriginS3OriginConfigOutput

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutputWithContext added in v1.19.0

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

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutput added in v1.19.0

func (i DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutputWithContext added in v1.19.0

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

type DistributionOriginS3OriginConfigInput added in v1.19.0

type DistributionOriginS3OriginConfigInput interface {
	pulumi.Input

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

type DistributionOriginS3OriginConfigOutput added in v1.19.0

type DistributionOriginS3OriginConfigOutput struct{ *pulumi.OutputState }

func (DistributionOriginS3OriginConfigOutput) ElementType added in v1.19.0

func (DistributionOriginS3OriginConfigOutput) OriginAccessIdentity added in v1.19.0

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

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutput added in v1.19.0

func (o DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutput() DistributionOriginS3OriginConfigOutput

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutputWithContext added in v1.19.0

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

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutput added in v1.19.0

func (o DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutputWithContext added in v1.19.0

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

type DistributionOriginS3OriginConfigPtrInput added in v1.19.0

type DistributionOriginS3OriginConfigPtrInput interface {
	pulumi.Input

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

type DistributionOriginS3OriginConfigPtrOutput added in v1.19.0

type DistributionOriginS3OriginConfigPtrOutput struct{ *pulumi.OutputState }

func (DistributionOriginS3OriginConfigPtrOutput) Elem added in v1.19.0

func (DistributionOriginS3OriginConfigPtrOutput) ElementType added in v1.19.0

func (DistributionOriginS3OriginConfigPtrOutput) OriginAccessIdentity added in v1.19.0

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

func (DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutput added in v1.19.0

func (o DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput

func (DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutputWithContext added in v1.19.0

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

type DistributionRestrictions added in v1.19.0

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

type DistributionRestrictionsArgs added in v1.19.0

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

func (DistributionRestrictionsArgs) ElementType added in v1.19.0

func (DistributionRestrictionsArgs) ToDistributionRestrictionsOutput added in v1.19.0

func (i DistributionRestrictionsArgs) ToDistributionRestrictionsOutput() DistributionRestrictionsOutput

func (DistributionRestrictionsArgs) ToDistributionRestrictionsOutputWithContext added in v1.19.0

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

func (DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutput added in v1.19.0

func (i DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput

func (DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutputWithContext added in v1.19.0

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

type DistributionRestrictionsGeoRestriction added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutput added in v1.19.0

func (i DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutput() DistributionRestrictionsGeoRestrictionOutput

func (DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutputWithContext added in v1.19.0

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

type DistributionRestrictionsGeoRestrictionInput added in v1.19.0

type DistributionRestrictionsGeoRestrictionInput interface {
	pulumi.Input

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

type DistributionRestrictionsGeoRestrictionOutput added in v1.19.0

type DistributionRestrictionsGeoRestrictionOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsGeoRestrictionOutput) ElementType added in v1.19.0

func (DistributionRestrictionsGeoRestrictionOutput) Locations added in v1.19.0

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 added in v1.19.0

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

func (DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutput added in v1.19.0

func (o DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutput() DistributionRestrictionsGeoRestrictionOutput

func (DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutputWithContext added in v1.19.0

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

type DistributionRestrictionsInput added in v1.19.0

type DistributionRestrictionsInput interface {
	pulumi.Input

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

type DistributionRestrictionsOutput added in v1.19.0

type DistributionRestrictionsOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsOutput) ElementType added in v1.19.0

func (DistributionRestrictionsOutput) GeoRestriction added in v1.19.0

func (DistributionRestrictionsOutput) ToDistributionRestrictionsOutput added in v1.19.0

func (o DistributionRestrictionsOutput) ToDistributionRestrictionsOutput() DistributionRestrictionsOutput

func (DistributionRestrictionsOutput) ToDistributionRestrictionsOutputWithContext added in v1.19.0

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

func (DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutput added in v1.19.0

func (o DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput

func (DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutputWithContext added in v1.19.0

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

type DistributionRestrictionsPtrInput added in v1.19.0

type DistributionRestrictionsPtrInput interface {
	pulumi.Input

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

func DistributionRestrictionsPtr added in v1.19.0

func DistributionRestrictionsPtr(v *DistributionRestrictionsArgs) DistributionRestrictionsPtrInput

type DistributionRestrictionsPtrOutput added in v1.19.0

type DistributionRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsPtrOutput) Elem added in v1.19.0

func (DistributionRestrictionsPtrOutput) ElementType added in v1.19.0

func (DistributionRestrictionsPtrOutput) GeoRestriction added in v1.19.0

func (DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutput added in v1.19.0

func (o DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput

func (DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutputWithContext added in v1.19.0

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

type DistributionState

type DistributionState struct {
	// The key pair IDs that CloudFront is aware of for
	// each trusted signer, if the distribution is set up to serve private content
	// with signed URLs.
	ActiveTrustedSigners pulumi.MapInput
	// 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][7] 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 mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// 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
	// If you're using AWS WAF to filter CloudFront
	// requests, the Id of the AWS WAF web ACL that is associated with the
	// distribution. 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 added in v1.19.0

func (DistributionState) ElementType() reflect.Type

type DistributionViewerCertificate added in v1.19.0

type DistributionViewerCertificate struct {
	// The ARN of the [AWS Certificate Manager][6]
	// 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` or `TLSv1.2_2018`. 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 added in v1.19.0

type DistributionViewerCertificateArgs struct {
	// The ARN of the [AWS Certificate Manager][6]
	// 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` or `TLSv1.2_2018`. 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 added in v1.19.0

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutput added in v1.19.0

func (i DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutput() DistributionViewerCertificateOutput

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutputWithContext added in v1.19.0

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

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutput added in v1.19.0

func (i DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutputWithContext added in v1.19.0

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

type DistributionViewerCertificateInput added in v1.19.0

type DistributionViewerCertificateInput interface {
	pulumi.Input

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

type DistributionViewerCertificateOutput added in v1.19.0

type DistributionViewerCertificateOutput struct{ *pulumi.OutputState }

func (DistributionViewerCertificateOutput) AcmCertificateArn added in v1.19.0

The ARN of the [AWS Certificate Manager][6] 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 added in v1.19.0

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 added in v1.19.0

func (DistributionViewerCertificateOutput) IamCertificateId added in v1.19.0

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 added in v1.19.0

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` or `TLSv1.2_2018`. 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 added in v1.19.0

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutput added in v1.19.0

func (o DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutput() DistributionViewerCertificateOutput

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutputWithContext added in v1.19.0

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

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutput added in v1.19.0

func (o DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutputWithContext added in v1.19.0

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

type DistributionViewerCertificatePtrInput added in v1.19.0

type DistributionViewerCertificatePtrInput interface {
	pulumi.Input

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

type DistributionViewerCertificatePtrOutput added in v1.19.0

type DistributionViewerCertificatePtrOutput struct{ *pulumi.OutputState }

func (DistributionViewerCertificatePtrOutput) AcmCertificateArn added in v1.19.0

The ARN of the [AWS Certificate Manager][6] 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 added in v1.19.0

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 added in v1.19.0

func (DistributionViewerCertificatePtrOutput) ElementType added in v1.19.0

func (DistributionViewerCertificatePtrOutput) IamCertificateId added in v1.19.0

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 added in v1.19.0

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` or `TLSv1.2_2018`. 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 added in v1.19.0

func (DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutput added in v1.19.0

func (o DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput

func (DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutputWithContext added in v1.19.0

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

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][1]. For more information on generating origin access identities, see [Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content][2].

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/cloudfront_origin_access_identity.html.markdown.

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.

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 added in v1.19.0

func (OriginAccessIdentityArgs) ElementType() reflect.Type

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 added in v1.19.0

func (OriginAccessIdentityState) ElementType() reflect.Type

type PublicKey added in v0.16.0

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 added in v0.16.0

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 added in v0.16.0

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.

type PublicKeyArgs added in v0.16.0

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 added in v1.19.0

func (PublicKeyArgs) ElementType() reflect.Type

type PublicKeyState added in v0.16.0

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 added in v1.19.0

func (PublicKeyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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