Show / Hide Table of Contents

Class DistributionOrderedCacheBehavior

Inheritance
System.Object
DistributionOrderedCacheBehavior
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.CloudFront.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class DistributionOrderedCacheBehavior

Fields

View Source

AllowedMethods

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

Declaration
public readonly ImmutableArray<string> AllowedMethods
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

CachedMethods

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

Declaration
public readonly ImmutableArray<string> CachedMethods
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Compress

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

Declaration
public readonly bool? Compress
Field Value
Type Description
System.Nullable<System.Boolean>
View Source

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.

Declaration
public readonly int? DefaultTtl
Field Value
Type Description
System.Nullable<System.Int32>
View Source

FieldLevelEncryptionId

Field level encryption configuration ID

Declaration
public readonly string FieldLevelEncryptionId
Field Value
Type Description
System.String
View Source

ForwardedValues

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

Declaration
public readonly DistributionOrderedCacheBehaviorForwardedValues ForwardedValues
Field Value
Type Description
DistributionOrderedCacheBehaviorForwardedValues
View Source

LambdaFunctionAssociations

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

Declaration
public readonly ImmutableArray<DistributionOrderedCacheBehaviorLambdaFunctionAssociation> LambdaFunctionAssociations
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<DistributionOrderedCacheBehaviorLambdaFunctionAssociation>
View Source

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.

Declaration
public readonly int? MaxTtl
Field Value
Type Description
System.Nullable<System.Int32>
View Source

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.

Declaration
public readonly int? MinTtl
Field Value
Type Description
System.Nullable<System.Int32>
View Source

PathPattern

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

Declaration
public readonly string PathPattern
Field Value
Type Description
System.String
View Source

SmoothStreaming

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

Declaration
public readonly bool? SmoothStreaming
Field Value
Type Description
System.Nullable<System.Boolean>
View Source

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.

Declaration
public readonly string TargetOriginId
Field Value
Type Description
System.String
View Source

TrustedSigners

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

Declaration
public readonly ImmutableArray<string> TrustedSigners
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

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.

Declaration
public readonly string ViewerProtocolPolicy
Field Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.