cloudfront

package
v1.31.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Distribution

type Distribution struct {
	pulumi.CustomResourceState

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

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

func (DistributionArgs) ElementType() reflect.Type

type DistributionCustomErrorResponse

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

type DistributionCustomErrorResponseArgs

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

func (DistributionCustomErrorResponseArgs) ElementType

func (DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutput

func (i DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutput() DistributionCustomErrorResponseOutput

func (DistributionCustomErrorResponseArgs) ToDistributionCustomErrorResponseOutputWithContext

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

type DistributionCustomErrorResponseArray

type DistributionCustomErrorResponseArray []DistributionCustomErrorResponseInput

func (DistributionCustomErrorResponseArray) ElementType

func (DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutput

func (i DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutput() DistributionCustomErrorResponseArrayOutput

func (DistributionCustomErrorResponseArray) ToDistributionCustomErrorResponseArrayOutputWithContext

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

type DistributionCustomErrorResponseArrayInput

type DistributionCustomErrorResponseArrayInput interface {
	pulumi.Input

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

type DistributionCustomErrorResponseArrayOutput

type DistributionCustomErrorResponseArrayOutput struct{ *pulumi.OutputState }

func (DistributionCustomErrorResponseArrayOutput) ElementType

func (DistributionCustomErrorResponseArrayOutput) Index

func (DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutput

func (o DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutput() DistributionCustomErrorResponseArrayOutput

func (DistributionCustomErrorResponseArrayOutput) ToDistributionCustomErrorResponseArrayOutputWithContext

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

type DistributionCustomErrorResponseInput

type DistributionCustomErrorResponseInput interface {
	pulumi.Input

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

type DistributionCustomErrorResponseOutput

type DistributionCustomErrorResponseOutput struct{ *pulumi.OutputState }

func (DistributionCustomErrorResponseOutput) ElementType

func (DistributionCustomErrorResponseOutput) ErrorCachingMinTtl

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

func (DistributionCustomErrorResponseOutput) ErrorCode

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

func (DistributionCustomErrorResponseOutput) ResponseCode

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

func (DistributionCustomErrorResponseOutput) ResponsePagePath

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

func (DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutput

func (o DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutput() DistributionCustomErrorResponseOutput

func (DistributionCustomErrorResponseOutput) ToDistributionCustomErrorResponseOutputWithContext

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

type DistributionDefaultCacheBehavior

type DistributionDefaultCacheBehavior struct {
	// Controls which HTTP methods CloudFront
	// processes and forwards to your Amazon S3 bucket or your custom origin.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// Controls whether CloudFront caches the
	// response to requests using the specified HTTP methods.
	CachedMethods []string `pulumi:"cachedMethods"`
	// Whether you want CloudFront to automatically
	// compress content for web requests that include `Accept-Encoding: gzip` in
	// the request header (default: `false`).
	Compress *bool `pulumi:"compress"`
	// The default amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
	// 1 day.
	DefaultTtl *int `pulumi:"defaultTtl"`
	// Field level encryption configuration ID
	FieldLevelEncryptionId *string `pulumi:"fieldLevelEncryptionId"`
	// The forwarded values configuration that specifies how CloudFront
	// handles query strings, cookies and headers (maximum one).
	ForwardedValues DistributionDefaultCacheBehaviorForwardedValues `pulumi:"forwardedValues"`
	// A config block that triggers a lambda function with
	// specific actions. Defined below, maximum 4.
	LambdaFunctionAssociations []DistributionDefaultCacheBehaviorLambdaFunctionAssociation `pulumi:"lambdaFunctionAssociations"`
	// The maximum amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// to your origin to determine whether the object has been updated. Only
	// effective in the presence of `Cache-Control max-age`, `Cache-Control
	// s-maxage`, and `Expires` headers. Defaults to 365 days.
	MaxTtl *int `pulumi:"maxTtl"`
	// The minimum amount of time that you want objects to
	// stay in CloudFront caches before CloudFront queries your origin to see
	// whether the object has been updated. Defaults to 0 seconds.
	MinTtl *int `pulumi:"minTtl"`
	// Indicates whether you want to distribute
	// media files in Microsoft Smooth Streaming format using the origin that is
	// associated with this cache behavior.
	SmoothStreaming *bool `pulumi:"smoothStreaming"`
	// The value of ID for the origin that you want
	// CloudFront to route requests to when a request matches the path pattern
	// either for a cache behavior or for the default cache behavior.
	TargetOriginId string `pulumi:"targetOriginId"`
	// 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

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

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutput

func (i DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutput() DistributionDefaultCacheBehaviorOutput

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorOutputWithContext

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

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutput

func (i DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorArgs) ToDistributionDefaultCacheBehaviorPtrOutputWithContext

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

type DistributionDefaultCacheBehaviorForwardedValues

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

type DistributionDefaultCacheBehaviorForwardedValuesArgs

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

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutput

func (i DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutput() DistributionDefaultCacheBehaviorForwardedValuesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesOutputWithContext

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

type DistributionDefaultCacheBehaviorForwardedValuesCookies

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

type DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs

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

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesArgs) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputWithContext

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

type DistributionDefaultCacheBehaviorForwardedValuesCookiesInput

type DistributionDefaultCacheBehaviorForwardedValuesCookiesInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput

type DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) Forward

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

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesCookiesOutputWithContext

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

func (DistributionDefaultCacheBehaviorForwardedValuesCookiesOutput) WhitelistedNames

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

type DistributionDefaultCacheBehaviorForwardedValuesInput

type DistributionDefaultCacheBehaviorForwardedValuesInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorForwardedValuesOutput

type DistributionDefaultCacheBehaviorForwardedValuesOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) Cookies

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

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ElementType

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) Headers

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

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) QueryString

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

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) QueryStringCacheKeys

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

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesOutput

func (DistributionDefaultCacheBehaviorForwardedValuesOutput) ToDistributionDefaultCacheBehaviorForwardedValuesOutputWithContext

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

type DistributionDefaultCacheBehaviorInput

type DistributionDefaultCacheBehaviorInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociation

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs

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

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs) ElementType

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutputWithContext

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray []DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ElementType

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArray) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayInput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ElementType

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput

type DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ElementType

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) EventType

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

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) IncludeBody

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

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) LambdaArn

ARN of the Lambda function.

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput

func (DistributionDefaultCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionDefaultCacheBehaviorLambdaFunctionAssociationOutputWithContext

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

type DistributionDefaultCacheBehaviorOutput

type DistributionDefaultCacheBehaviorOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorOutput) AllowedMethods

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

func (DistributionDefaultCacheBehaviorOutput) CachedMethods

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

func (DistributionDefaultCacheBehaviorOutput) Compress

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

func (DistributionDefaultCacheBehaviorOutput) DefaultTtl

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

func (DistributionDefaultCacheBehaviorOutput) ElementType

func (DistributionDefaultCacheBehaviorOutput) FieldLevelEncryptionId

Field level encryption configuration ID

func (DistributionDefaultCacheBehaviorOutput) ForwardedValues

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

func (DistributionDefaultCacheBehaviorOutput) LambdaFunctionAssociations

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

func (DistributionDefaultCacheBehaviorOutput) MaxTtl

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

func (DistributionDefaultCacheBehaviorOutput) MinTtl

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

func (DistributionDefaultCacheBehaviorOutput) SmoothStreaming

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

func (DistributionDefaultCacheBehaviorOutput) TargetOriginId

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

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorOutput

func (o DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorOutput() DistributionDefaultCacheBehaviorOutput

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorOutputWithContext

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

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutput

func (o DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorOutput) ToDistributionDefaultCacheBehaviorPtrOutputWithContext

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

func (DistributionDefaultCacheBehaviorOutput) TrustedSigners

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

func (DistributionDefaultCacheBehaviorOutput) ViewerProtocolPolicy

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

type DistributionDefaultCacheBehaviorPtrInput

type DistributionDefaultCacheBehaviorPtrInput interface {
	pulumi.Input

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

type DistributionDefaultCacheBehaviorPtrOutput

type DistributionDefaultCacheBehaviorPtrOutput struct{ *pulumi.OutputState }

func (DistributionDefaultCacheBehaviorPtrOutput) AllowedMethods

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

func (DistributionDefaultCacheBehaviorPtrOutput) CachedMethods

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

func (DistributionDefaultCacheBehaviorPtrOutput) Compress

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

func (DistributionDefaultCacheBehaviorPtrOutput) DefaultTtl

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

func (DistributionDefaultCacheBehaviorPtrOutput) Elem

func (DistributionDefaultCacheBehaviorPtrOutput) ElementType

func (DistributionDefaultCacheBehaviorPtrOutput) FieldLevelEncryptionId

Field level encryption configuration ID

func (DistributionDefaultCacheBehaviorPtrOutput) ForwardedValues

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

func (DistributionDefaultCacheBehaviorPtrOutput) LambdaFunctionAssociations

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

func (DistributionDefaultCacheBehaviorPtrOutput) MaxTtl

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

func (DistributionDefaultCacheBehaviorPtrOutput) MinTtl

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

func (DistributionDefaultCacheBehaviorPtrOutput) SmoothStreaming

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

func (DistributionDefaultCacheBehaviorPtrOutput) TargetOriginId

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

func (DistributionDefaultCacheBehaviorPtrOutput) ToDistributionDefaultCacheBehaviorPtrOutput

func (o DistributionDefaultCacheBehaviorPtrOutput) ToDistributionDefaultCacheBehaviorPtrOutput() DistributionDefaultCacheBehaviorPtrOutput

func (DistributionDefaultCacheBehaviorPtrOutput) ToDistributionDefaultCacheBehaviorPtrOutputWithContext

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

func (DistributionDefaultCacheBehaviorPtrOutput) TrustedSigners

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

func (DistributionDefaultCacheBehaviorPtrOutput) ViewerProtocolPolicy

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

type DistributionLoggingConfig

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

type DistributionLoggingConfigArgs

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

func (DistributionLoggingConfigArgs) ElementType

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutput

func (i DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutput() DistributionLoggingConfigOutput

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigOutputWithContext

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

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutput

func (i DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput

func (DistributionLoggingConfigArgs) ToDistributionLoggingConfigPtrOutputWithContext

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

type DistributionLoggingConfigInput

type DistributionLoggingConfigInput interface {
	pulumi.Input

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

type DistributionLoggingConfigOutput

type DistributionLoggingConfigOutput struct{ *pulumi.OutputState }

func (DistributionLoggingConfigOutput) Bucket

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

func (DistributionLoggingConfigOutput) ElementType

func (DistributionLoggingConfigOutput) IncludeCookies

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

func (DistributionLoggingConfigOutput) Prefix

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

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutput

func (o DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutput() DistributionLoggingConfigOutput

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigOutputWithContext

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

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutput

func (o DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput

func (DistributionLoggingConfigOutput) ToDistributionLoggingConfigPtrOutputWithContext

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

type DistributionLoggingConfigPtrInput

type DistributionLoggingConfigPtrInput interface {
	pulumi.Input

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

type DistributionLoggingConfigPtrOutput

type DistributionLoggingConfigPtrOutput struct{ *pulumi.OutputState }

func (DistributionLoggingConfigPtrOutput) Bucket

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

func (DistributionLoggingConfigPtrOutput) Elem

func (DistributionLoggingConfigPtrOutput) ElementType

func (DistributionLoggingConfigPtrOutput) IncludeCookies

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

func (DistributionLoggingConfigPtrOutput) Prefix

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

func (DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutput

func (o DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutput() DistributionLoggingConfigPtrOutput

func (DistributionLoggingConfigPtrOutput) ToDistributionLoggingConfigPtrOutputWithContext

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

type DistributionOrderedCacheBehavior

type DistributionOrderedCacheBehavior struct {
	// Controls which HTTP methods CloudFront
	// processes and forwards to your Amazon S3 bucket or your custom origin.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// Controls whether CloudFront caches the
	// response to requests using the specified HTTP methods.
	CachedMethods []string `pulumi:"cachedMethods"`
	// Whether you want CloudFront to automatically
	// compress content for web requests that include `Accept-Encoding: gzip` in
	// the request header (default: `false`).
	Compress *bool `pulumi:"compress"`
	// The default amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// in the absence of an `Cache-Control max-age` or `Expires` header. Defaults to
	// 1 day.
	DefaultTtl *int `pulumi:"defaultTtl"`
	// Field level encryption configuration ID
	FieldLevelEncryptionId *string `pulumi:"fieldLevelEncryptionId"`
	// The forwarded values configuration that specifies how CloudFront
	// handles query strings, cookies and headers (maximum one).
	ForwardedValues DistributionOrderedCacheBehaviorForwardedValues `pulumi:"forwardedValues"`
	// A config block that triggers a lambda function with
	// specific actions. Defined below, maximum 4.
	LambdaFunctionAssociations []DistributionOrderedCacheBehaviorLambdaFunctionAssociation `pulumi:"lambdaFunctionAssociations"`
	// The maximum amount of time (in seconds) that an
	// object is in a CloudFront cache before CloudFront forwards another request
	// to your origin to determine whether the object has been updated. Only
	// effective in the presence of `Cache-Control max-age`, `Cache-Control
	// s-maxage`, and `Expires` headers. Defaults to 365 days.
	MaxTtl *int `pulumi:"maxTtl"`
	// The minimum amount of time that you want objects to
	// stay in CloudFront caches before CloudFront queries your origin to see
	// whether the object has been updated. Defaults to 0 seconds.
	MinTtl *int `pulumi:"minTtl"`
	// The pattern (for example, `images/*.jpg)` that
	// specifies which requests you want this cache behavior to apply to.
	PathPattern string `pulumi:"pathPattern"`
	// Indicates whether you want to distribute
	// media files in Microsoft Smooth Streaming format using the origin that is
	// associated with this cache behavior.
	SmoothStreaming *bool `pulumi:"smoothStreaming"`
	// The value of ID for the origin that you want
	// CloudFront to route requests to when a request matches the path pattern
	// either for a cache behavior or for the default cache behavior.
	TargetOriginId string `pulumi:"targetOriginId"`
	// 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

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

func (DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutput

func (i DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutput() DistributionOrderedCacheBehaviorOutput

func (DistributionOrderedCacheBehaviorArgs) ToDistributionOrderedCacheBehaviorOutputWithContext

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

type DistributionOrderedCacheBehaviorArray

type DistributionOrderedCacheBehaviorArray []DistributionOrderedCacheBehaviorInput

func (DistributionOrderedCacheBehaviorArray) ElementType

func (DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutput

func (i DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutput() DistributionOrderedCacheBehaviorArrayOutput

func (DistributionOrderedCacheBehaviorArray) ToDistributionOrderedCacheBehaviorArrayOutputWithContext

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

type DistributionOrderedCacheBehaviorArrayInput

type DistributionOrderedCacheBehaviorArrayInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorArrayOutput

type DistributionOrderedCacheBehaviorArrayOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorArrayOutput) ElementType

func (DistributionOrderedCacheBehaviorArrayOutput) Index

func (DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutput

func (o DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutput() DistributionOrderedCacheBehaviorArrayOutput

func (DistributionOrderedCacheBehaviorArrayOutput) ToDistributionOrderedCacheBehaviorArrayOutputWithContext

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

type DistributionOrderedCacheBehaviorForwardedValues

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

type DistributionOrderedCacheBehaviorForwardedValuesArgs

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

func (DistributionOrderedCacheBehaviorForwardedValuesArgs) ElementType

func (DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutput

func (i DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutput() DistributionOrderedCacheBehaviorForwardedValuesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesOutputWithContext

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

type DistributionOrderedCacheBehaviorForwardedValuesCookies

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

type DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs

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

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs) ElementType

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesArgs) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputWithContext

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

type DistributionOrderedCacheBehaviorForwardedValuesCookiesInput

type DistributionOrderedCacheBehaviorForwardedValuesCookiesInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput

type DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) ElementType

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) Forward

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

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesCookiesOutputWithContext

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

func (DistributionOrderedCacheBehaviorForwardedValuesCookiesOutput) WhitelistedNames

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

type DistributionOrderedCacheBehaviorForwardedValuesInput

type DistributionOrderedCacheBehaviorForwardedValuesInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorForwardedValuesOutput

type DistributionOrderedCacheBehaviorForwardedValuesOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) Cookies

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

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) ElementType

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) Headers

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

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) QueryString

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

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) QueryStringCacheKeys

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

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesOutput

func (DistributionOrderedCacheBehaviorForwardedValuesOutput) ToDistributionOrderedCacheBehaviorForwardedValuesOutputWithContext

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

type DistributionOrderedCacheBehaviorInput

type DistributionOrderedCacheBehaviorInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociation

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs

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

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs) ElementType

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArgs) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutputWithContext

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray []DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ElementType

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArray) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ElementType

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationArrayOutputWithContext

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationInput interface {
	pulumi.Input

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

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput

type DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ElementType

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) EventType

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

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) IncludeBody

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

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) LambdaArn

ARN of the Lambda function.

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput

func (DistributionOrderedCacheBehaviorLambdaFunctionAssociationOutput) ToDistributionOrderedCacheBehaviorLambdaFunctionAssociationOutputWithContext

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

type DistributionOrderedCacheBehaviorOutput

type DistributionOrderedCacheBehaviorOutput struct{ *pulumi.OutputState }

func (DistributionOrderedCacheBehaviorOutput) AllowedMethods

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

func (DistributionOrderedCacheBehaviorOutput) CachedMethods

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

func (DistributionOrderedCacheBehaviorOutput) Compress

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

func (DistributionOrderedCacheBehaviorOutput) DefaultTtl

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

func (DistributionOrderedCacheBehaviorOutput) ElementType

func (DistributionOrderedCacheBehaviorOutput) FieldLevelEncryptionId

Field level encryption configuration ID

func (DistributionOrderedCacheBehaviorOutput) ForwardedValues

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

func (DistributionOrderedCacheBehaviorOutput) LambdaFunctionAssociations

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

func (DistributionOrderedCacheBehaviorOutput) MaxTtl

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

func (DistributionOrderedCacheBehaviorOutput) MinTtl

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

func (DistributionOrderedCacheBehaviorOutput) PathPattern

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

func (DistributionOrderedCacheBehaviorOutput) SmoothStreaming

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

func (DistributionOrderedCacheBehaviorOutput) TargetOriginId

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

func (DistributionOrderedCacheBehaviorOutput) ToDistributionOrderedCacheBehaviorOutput

func (o DistributionOrderedCacheBehaviorOutput) ToDistributionOrderedCacheBehaviorOutput() DistributionOrderedCacheBehaviorOutput

func (DistributionOrderedCacheBehaviorOutput) ToDistributionOrderedCacheBehaviorOutputWithContext

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

func (DistributionOrderedCacheBehaviorOutput) TrustedSigners

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

func (DistributionOrderedCacheBehaviorOutput) ViewerProtocolPolicy

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

type DistributionOrigin

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

type DistributionOriginArgs

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

func (DistributionOriginArgs) ElementType

func (DistributionOriginArgs) ElementType() reflect.Type

func (DistributionOriginArgs) ToDistributionOriginOutput

func (i DistributionOriginArgs) ToDistributionOriginOutput() DistributionOriginOutput

func (DistributionOriginArgs) ToDistributionOriginOutputWithContext

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

type DistributionOriginArray

type DistributionOriginArray []DistributionOriginInput

func (DistributionOriginArray) ElementType

func (DistributionOriginArray) ElementType() reflect.Type

func (DistributionOriginArray) ToDistributionOriginArrayOutput

func (i DistributionOriginArray) ToDistributionOriginArrayOutput() DistributionOriginArrayOutput

func (DistributionOriginArray) ToDistributionOriginArrayOutputWithContext

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

type DistributionOriginArrayInput

type DistributionOriginArrayInput interface {
	pulumi.Input

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

type DistributionOriginArrayOutput

type DistributionOriginArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginArrayOutput) ElementType

func (DistributionOriginArrayOutput) Index

func (DistributionOriginArrayOutput) ToDistributionOriginArrayOutput

func (o DistributionOriginArrayOutput) ToDistributionOriginArrayOutput() DistributionOriginArrayOutput

func (DistributionOriginArrayOutput) ToDistributionOriginArrayOutputWithContext

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

type DistributionOriginCustomHeader

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

type DistributionOriginCustomHeaderArgs

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

func (DistributionOriginCustomHeaderArgs) ElementType

func (DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutput

func (i DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutput() DistributionOriginCustomHeaderOutput

func (DistributionOriginCustomHeaderArgs) ToDistributionOriginCustomHeaderOutputWithContext

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

type DistributionOriginCustomHeaderArray

type DistributionOriginCustomHeaderArray []DistributionOriginCustomHeaderInput

func (DistributionOriginCustomHeaderArray) ElementType

func (DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutput

func (i DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutput() DistributionOriginCustomHeaderArrayOutput

func (DistributionOriginCustomHeaderArray) ToDistributionOriginCustomHeaderArrayOutputWithContext

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

type DistributionOriginCustomHeaderArrayInput

type DistributionOriginCustomHeaderArrayInput interface {
	pulumi.Input

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

type DistributionOriginCustomHeaderArrayOutput

type DistributionOriginCustomHeaderArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomHeaderArrayOutput) ElementType

func (DistributionOriginCustomHeaderArrayOutput) Index

func (DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutput

func (o DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutput() DistributionOriginCustomHeaderArrayOutput

func (DistributionOriginCustomHeaderArrayOutput) ToDistributionOriginCustomHeaderArrayOutputWithContext

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

type DistributionOriginCustomHeaderInput

type DistributionOriginCustomHeaderInput interface {
	pulumi.Input

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

type DistributionOriginCustomHeaderOutput

type DistributionOriginCustomHeaderOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomHeaderOutput) ElementType

func (DistributionOriginCustomHeaderOutput) Name

func (DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutput

func (o DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutput() DistributionOriginCustomHeaderOutput

func (DistributionOriginCustomHeaderOutput) ToDistributionOriginCustomHeaderOutputWithContext

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

func (DistributionOriginCustomHeaderOutput) Value

type DistributionOriginCustomOriginConfig

type DistributionOriginCustomOriginConfig struct {
	// The HTTP port the custom origin listens on.
	HttpPort int `pulumi:"httpPort"`
	// The HTTPS port the custom origin listens on.
	HttpsPort int `pulumi:"httpsPort"`
	// The Custom KeepAlive timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
	OriginKeepaliveTimeout *int `pulumi:"originKeepaliveTimeout"`
	// The origin protocol policy to apply to
	// your origin. One of `http-only`, `https-only`, or `match-viewer`.
	OriginProtocolPolicy string `pulumi:"originProtocolPolicy"`
	// The Custom Read timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
	OriginReadTimeout *int `pulumi:"originReadTimeout"`
	// The SSL/TLS protocols that you want
	// CloudFront to use when communicating with your origin over HTTPS. A list of
	// one or more of `SSLv3`, `TLSv1`, `TLSv1.1`, and `TLSv1.2`.
	OriginSslProtocols []string `pulumi:"originSslProtocols"`
}

type DistributionOriginCustomOriginConfigArgs

type DistributionOriginCustomOriginConfigArgs struct {
	// The HTTP port the custom origin listens on.
	HttpPort pulumi.IntInput `pulumi:"httpPort"`
	// The HTTPS port the custom origin listens on.
	HttpsPort pulumi.IntInput `pulumi:"httpsPort"`
	// The Custom KeepAlive timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
	OriginKeepaliveTimeout pulumi.IntPtrInput `pulumi:"originKeepaliveTimeout"`
	// The origin protocol policy to apply to
	// your origin. One of `http-only`, `https-only`, or `match-viewer`.
	OriginProtocolPolicy pulumi.StringInput `pulumi:"originProtocolPolicy"`
	// The Custom Read timeout, in seconds. By default, AWS enforces a limit of `60`. But you can request an [increase](http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-request-timeout).
	OriginReadTimeout pulumi.IntPtrInput `pulumi:"originReadTimeout"`
	// The SSL/TLS protocols that you want
	// CloudFront to use when communicating with your origin over HTTPS. A list of
	// one or more of `SSLv3`, `TLSv1`, `TLSv1.1`, and `TLSv1.2`.
	OriginSslProtocols pulumi.StringArrayInput `pulumi:"originSslProtocols"`
}

func (DistributionOriginCustomOriginConfigArgs) ElementType

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutput

func (i DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutput() DistributionOriginCustomOriginConfigOutput

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigOutputWithContext

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

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutput

func (i DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput

func (DistributionOriginCustomOriginConfigArgs) ToDistributionOriginCustomOriginConfigPtrOutputWithContext

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

type DistributionOriginCustomOriginConfigInput

type DistributionOriginCustomOriginConfigInput interface {
	pulumi.Input

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

type DistributionOriginCustomOriginConfigOutput

type DistributionOriginCustomOriginConfigOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomOriginConfigOutput) ElementType

func (DistributionOriginCustomOriginConfigOutput) HttpPort

The HTTP port the custom origin listens on.

func (DistributionOriginCustomOriginConfigOutput) HttpsPort

The HTTPS port the custom origin listens on.

func (DistributionOriginCustomOriginConfigOutput) OriginKeepaliveTimeout

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

func (DistributionOriginCustomOriginConfigOutput) OriginProtocolPolicy

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

func (DistributionOriginCustomOriginConfigOutput) OriginReadTimeout

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

func (DistributionOriginCustomOriginConfigOutput) OriginSslProtocols

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

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigOutput

func (o DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigOutput() DistributionOriginCustomOriginConfigOutput

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigOutputWithContext

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

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutput

func (o DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput

func (DistributionOriginCustomOriginConfigOutput) ToDistributionOriginCustomOriginConfigPtrOutputWithContext

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

type DistributionOriginCustomOriginConfigPtrInput

type DistributionOriginCustomOriginConfigPtrInput interface {
	pulumi.Input

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

type DistributionOriginCustomOriginConfigPtrOutput

type DistributionOriginCustomOriginConfigPtrOutput struct{ *pulumi.OutputState }

func (DistributionOriginCustomOriginConfigPtrOutput) Elem

func (DistributionOriginCustomOriginConfigPtrOutput) ElementType

func (DistributionOriginCustomOriginConfigPtrOutput) HttpPort

The HTTP port the custom origin listens on.

func (DistributionOriginCustomOriginConfigPtrOutput) HttpsPort

The HTTPS port the custom origin listens on.

func (DistributionOriginCustomOriginConfigPtrOutput) OriginKeepaliveTimeout

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

func (DistributionOriginCustomOriginConfigPtrOutput) OriginProtocolPolicy

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

func (DistributionOriginCustomOriginConfigPtrOutput) OriginReadTimeout

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

func (DistributionOriginCustomOriginConfigPtrOutput) OriginSslProtocols

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

func (DistributionOriginCustomOriginConfigPtrOutput) ToDistributionOriginCustomOriginConfigPtrOutput

func (o DistributionOriginCustomOriginConfigPtrOutput) ToDistributionOriginCustomOriginConfigPtrOutput() DistributionOriginCustomOriginConfigPtrOutput

func (DistributionOriginCustomOriginConfigPtrOutput) ToDistributionOriginCustomOriginConfigPtrOutputWithContext

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

type DistributionOriginGroup

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

type DistributionOriginGroupArgs

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

func (DistributionOriginGroupArgs) ElementType

func (DistributionOriginGroupArgs) ToDistributionOriginGroupOutput

func (i DistributionOriginGroupArgs) ToDistributionOriginGroupOutput() DistributionOriginGroupOutput

func (DistributionOriginGroupArgs) ToDistributionOriginGroupOutputWithContext

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

type DistributionOriginGroupArray

type DistributionOriginGroupArray []DistributionOriginGroupInput

func (DistributionOriginGroupArray) ElementType

func (DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutput

func (i DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutput() DistributionOriginGroupArrayOutput

func (DistributionOriginGroupArray) ToDistributionOriginGroupArrayOutputWithContext

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

type DistributionOriginGroupArrayInput

type DistributionOriginGroupArrayInput interface {
	pulumi.Input

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

type DistributionOriginGroupArrayOutput

type DistributionOriginGroupArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupArrayOutput) ElementType

func (DistributionOriginGroupArrayOutput) Index

func (DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutput

func (o DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutput() DistributionOriginGroupArrayOutput

func (DistributionOriginGroupArrayOutput) ToDistributionOriginGroupArrayOutputWithContext

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

type DistributionOriginGroupFailoverCriteria

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

type DistributionOriginGroupFailoverCriteriaArgs

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

func (DistributionOriginGroupFailoverCriteriaArgs) ElementType

func (DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutput

func (i DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutput() DistributionOriginGroupFailoverCriteriaOutput

func (DistributionOriginGroupFailoverCriteriaArgs) ToDistributionOriginGroupFailoverCriteriaOutputWithContext

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

type DistributionOriginGroupFailoverCriteriaInput

type DistributionOriginGroupFailoverCriteriaInput interface {
	pulumi.Input

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

type DistributionOriginGroupFailoverCriteriaOutput

type DistributionOriginGroupFailoverCriteriaOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupFailoverCriteriaOutput) ElementType

func (DistributionOriginGroupFailoverCriteriaOutput) StatusCodes

A list of HTTP status codes for the origin group

func (DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutput

func (o DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutput() DistributionOriginGroupFailoverCriteriaOutput

func (DistributionOriginGroupFailoverCriteriaOutput) ToDistributionOriginGroupFailoverCriteriaOutputWithContext

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

type DistributionOriginGroupInput

type DistributionOriginGroupInput interface {
	pulumi.Input

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

type DistributionOriginGroupMember

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

type DistributionOriginGroupMemberArgs

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

func (DistributionOriginGroupMemberArgs) ElementType

func (DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutput

func (i DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutput() DistributionOriginGroupMemberOutput

func (DistributionOriginGroupMemberArgs) ToDistributionOriginGroupMemberOutputWithContext

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

type DistributionOriginGroupMemberArray

type DistributionOriginGroupMemberArray []DistributionOriginGroupMemberInput

func (DistributionOriginGroupMemberArray) ElementType

func (DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutput

func (i DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutput() DistributionOriginGroupMemberArrayOutput

func (DistributionOriginGroupMemberArray) ToDistributionOriginGroupMemberArrayOutputWithContext

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

type DistributionOriginGroupMemberArrayInput

type DistributionOriginGroupMemberArrayInput interface {
	pulumi.Input

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

type DistributionOriginGroupMemberArrayOutput

type DistributionOriginGroupMemberArrayOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupMemberArrayOutput) ElementType

func (DistributionOriginGroupMemberArrayOutput) Index

func (DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutput

func (o DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutput() DistributionOriginGroupMemberArrayOutput

func (DistributionOriginGroupMemberArrayOutput) ToDistributionOriginGroupMemberArrayOutputWithContext

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

type DistributionOriginGroupMemberInput

type DistributionOriginGroupMemberInput interface {
	pulumi.Input

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

type DistributionOriginGroupMemberOutput

type DistributionOriginGroupMemberOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupMemberOutput) ElementType

func (DistributionOriginGroupMemberOutput) OriginId

The unique identifier of the member origin

func (DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutput

func (o DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutput() DistributionOriginGroupMemberOutput

func (DistributionOriginGroupMemberOutput) ToDistributionOriginGroupMemberOutputWithContext

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

type DistributionOriginGroupOutput

type DistributionOriginGroupOutput struct{ *pulumi.OutputState }

func (DistributionOriginGroupOutput) ElementType

func (DistributionOriginGroupOutput) FailoverCriteria

The failover criteria for when to failover to the secondary origin

func (DistributionOriginGroupOutput) Members

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

func (DistributionOriginGroupOutput) OriginId

The unique identifier of the member origin

func (DistributionOriginGroupOutput) ToDistributionOriginGroupOutput

func (o DistributionOriginGroupOutput) ToDistributionOriginGroupOutput() DistributionOriginGroupOutput

func (DistributionOriginGroupOutput) ToDistributionOriginGroupOutputWithContext

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

type DistributionOriginInput

type DistributionOriginInput interface {
	pulumi.Input

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

type DistributionOriginOutput

type DistributionOriginOutput struct{ *pulumi.OutputState }

func (DistributionOriginOutput) CustomHeaders

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

func (DistributionOriginOutput) CustomOriginConfig

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

func (DistributionOriginOutput) DomainName

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

func (DistributionOriginOutput) ElementType

func (DistributionOriginOutput) ElementType() reflect.Type

func (DistributionOriginOutput) OriginId

The unique identifier of the member origin

func (DistributionOriginOutput) OriginPath

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

func (DistributionOriginOutput) S3OriginConfig

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

func (DistributionOriginOutput) ToDistributionOriginOutput

func (o DistributionOriginOutput) ToDistributionOriginOutput() DistributionOriginOutput

func (DistributionOriginOutput) ToDistributionOriginOutputWithContext

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

type DistributionOriginS3OriginConfig

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

type DistributionOriginS3OriginConfigArgs

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

func (DistributionOriginS3OriginConfigArgs) ElementType

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutput

func (i DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutput() DistributionOriginS3OriginConfigOutput

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigOutputWithContext

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

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutput

func (i DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput

func (DistributionOriginS3OriginConfigArgs) ToDistributionOriginS3OriginConfigPtrOutputWithContext

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

type DistributionOriginS3OriginConfigInput

type DistributionOriginS3OriginConfigInput interface {
	pulumi.Input

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

type DistributionOriginS3OriginConfigOutput

type DistributionOriginS3OriginConfigOutput struct{ *pulumi.OutputState }

func (DistributionOriginS3OriginConfigOutput) ElementType

func (DistributionOriginS3OriginConfigOutput) OriginAccessIdentity

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

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutput

func (o DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutput() DistributionOriginS3OriginConfigOutput

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigOutputWithContext

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

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutput

func (o DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput

func (DistributionOriginS3OriginConfigOutput) ToDistributionOriginS3OriginConfigPtrOutputWithContext

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

type DistributionOriginS3OriginConfigPtrInput

type DistributionOriginS3OriginConfigPtrInput interface {
	pulumi.Input

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

type DistributionOriginS3OriginConfigPtrOutput

type DistributionOriginS3OriginConfigPtrOutput struct{ *pulumi.OutputState }

func (DistributionOriginS3OriginConfigPtrOutput) Elem

func (DistributionOriginS3OriginConfigPtrOutput) ElementType

func (DistributionOriginS3OriginConfigPtrOutput) OriginAccessIdentity

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

func (DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutput

func (o DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutput() DistributionOriginS3OriginConfigPtrOutput

func (DistributionOriginS3OriginConfigPtrOutput) ToDistributionOriginS3OriginConfigPtrOutputWithContext

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

type DistributionRestrictions

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

type DistributionRestrictionsArgs

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

func (DistributionRestrictionsArgs) ElementType

func (DistributionRestrictionsArgs) ToDistributionRestrictionsOutput

func (i DistributionRestrictionsArgs) ToDistributionRestrictionsOutput() DistributionRestrictionsOutput

func (DistributionRestrictionsArgs) ToDistributionRestrictionsOutputWithContext

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

func (DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutput

func (i DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput

func (DistributionRestrictionsArgs) ToDistributionRestrictionsPtrOutputWithContext

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

type DistributionRestrictionsGeoRestriction

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

type DistributionRestrictionsGeoRestrictionArgs

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

func (DistributionRestrictionsGeoRestrictionArgs) ElementType

func (DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutput

func (i DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutput() DistributionRestrictionsGeoRestrictionOutput

func (DistributionRestrictionsGeoRestrictionArgs) ToDistributionRestrictionsGeoRestrictionOutputWithContext

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

type DistributionRestrictionsGeoRestrictionInput

type DistributionRestrictionsGeoRestrictionInput interface {
	pulumi.Input

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

type DistributionRestrictionsGeoRestrictionOutput

type DistributionRestrictionsGeoRestrictionOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsGeoRestrictionOutput) ElementType

func (DistributionRestrictionsGeoRestrictionOutput) Locations

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

func (DistributionRestrictionsGeoRestrictionOutput) RestrictionType

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

func (DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutput

func (o DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutput() DistributionRestrictionsGeoRestrictionOutput

func (DistributionRestrictionsGeoRestrictionOutput) ToDistributionRestrictionsGeoRestrictionOutputWithContext

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

type DistributionRestrictionsInput

type DistributionRestrictionsInput interface {
	pulumi.Input

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

type DistributionRestrictionsOutput

type DistributionRestrictionsOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsOutput) ElementType

func (DistributionRestrictionsOutput) GeoRestriction

func (DistributionRestrictionsOutput) ToDistributionRestrictionsOutput

func (o DistributionRestrictionsOutput) ToDistributionRestrictionsOutput() DistributionRestrictionsOutput

func (DistributionRestrictionsOutput) ToDistributionRestrictionsOutputWithContext

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

func (DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutput

func (o DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput

func (DistributionRestrictionsOutput) ToDistributionRestrictionsPtrOutputWithContext

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

type DistributionRestrictionsPtrInput

type DistributionRestrictionsPtrInput interface {
	pulumi.Input

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

type DistributionRestrictionsPtrOutput

type DistributionRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (DistributionRestrictionsPtrOutput) Elem

func (DistributionRestrictionsPtrOutput) ElementType

func (DistributionRestrictionsPtrOutput) GeoRestriction

func (DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutput

func (o DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutput() DistributionRestrictionsPtrOutput

func (DistributionRestrictionsPtrOutput) ToDistributionRestrictionsPtrOutputWithContext

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

type DistributionState

type DistributionState struct {
	// 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

func (DistributionState) ElementType() reflect.Type

type DistributionViewerCertificate

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

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

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutput

func (i DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutput() DistributionViewerCertificateOutput

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificateOutputWithContext

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

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutput

func (i DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput

func (DistributionViewerCertificateArgs) ToDistributionViewerCertificatePtrOutputWithContext

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

type DistributionViewerCertificateInput

type DistributionViewerCertificateInput interface {
	pulumi.Input

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

type DistributionViewerCertificateOutput

type DistributionViewerCertificateOutput struct{ *pulumi.OutputState }

func (DistributionViewerCertificateOutput) AcmCertificateArn

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

func (o DistributionViewerCertificateOutput) CloudfrontDefaultCertificate() pulumi.BoolPtrOutput

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

func (DistributionViewerCertificateOutput) ElementType

func (DistributionViewerCertificateOutput) IamCertificateId

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

func (DistributionViewerCertificateOutput) MinimumProtocolVersion

func (o DistributionViewerCertificateOutput) MinimumProtocolVersion() pulumi.StringPtrOutput

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Can only be set if `cloudfrontDefaultCertificate = false`. One of `SSLv3`, `TLSv1`, `TLSv1_2016`, `TLSv1.1_2016` 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

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutput

func (o DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutput() DistributionViewerCertificateOutput

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificateOutputWithContext

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

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutput

func (o DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput

func (DistributionViewerCertificateOutput) ToDistributionViewerCertificatePtrOutputWithContext

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

type DistributionViewerCertificatePtrInput

type DistributionViewerCertificatePtrInput interface {
	pulumi.Input

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

type DistributionViewerCertificatePtrOutput

type DistributionViewerCertificatePtrOutput struct{ *pulumi.OutputState }

func (DistributionViewerCertificatePtrOutput) AcmCertificateArn

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

func (o DistributionViewerCertificatePtrOutput) CloudfrontDefaultCertificate() pulumi.BoolPtrOutput

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

func (DistributionViewerCertificatePtrOutput) Elem

func (DistributionViewerCertificatePtrOutput) ElementType

func (DistributionViewerCertificatePtrOutput) IamCertificateId

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

func (DistributionViewerCertificatePtrOutput) MinimumProtocolVersion

The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. Can only be set if `cloudfrontDefaultCertificate = false`. One of `SSLv3`, `TLSv1`, `TLSv1_2016`, `TLSv1.1_2016` 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

func (DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutput

func (o DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutput() DistributionViewerCertificatePtrOutput

func (DistributionViewerCertificatePtrOutput) ToDistributionViewerCertificatePtrOutputWithContext

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

type LookupDistributionArgs added in v1.31.0

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

A collection of arguments for invoking getDistribution.

type LookupDistributionResult added in v1.31.0

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

A collection of values returned by getDistribution.

func LookupDistribution added in v1.31.0

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

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

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

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

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

func (OriginAccessIdentityState) ElementType() reflect.Type

type PublicKey

type PublicKey struct {
	pulumi.CustomResourceState

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

func GetPublicKey

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

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

func NewPublicKey

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

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

type PublicKeyArgs

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

The set of arguments for constructing a PublicKey resource.

func (PublicKeyArgs) ElementType

func (PublicKeyArgs) ElementType() reflect.Type

type PublicKeyState

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

func (PublicKeyState) ElementType

func (PublicKeyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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