Show / Hide Table of Contents

Class DistributionDefaultCacheBehaviorArgs

Inheritance
System.Object
InputArgs
ResourceArgs
DistributionDefaultCacheBehaviorArgs
Inherited Members
ResourceArgs.Empty
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.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class DistributionDefaultCacheBehaviorArgs : ResourceArgs

Constructors

View Source

DistributionDefaultCacheBehaviorArgs()

Declaration
public DistributionDefaultCacheBehaviorArgs()

Properties

View Source

AllowedMethods

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

Declaration
public InputList<string> AllowedMethods { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

CachedMethods

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

Declaration
public InputList<string> CachedMethods { get; set; }
Property Value
Type Description
InputList<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 Input<bool> Compress { get; set; }
Property Value
Type Description
Input<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 Input<int> DefaultTtl { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

FieldLevelEncryptionId

Field level encryption configuration ID

Declaration
public Input<string> FieldLevelEncryptionId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ForwardedValues

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

Declaration
public Input<DistributionDefaultCacheBehaviorForwardedValuesArgs> ForwardedValues { get; set; }
Property Value
Type Description
Input<DistributionDefaultCacheBehaviorForwardedValuesArgs>
View Source

LambdaFunctionAssociations

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

Declaration
public InputList<DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs> LambdaFunctionAssociations { get; set; }
Property Value
Type Description
InputList<DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs>
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 Input<int> MaxTtl { get; set; }
Property Value
Type Description
Input<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 Input<int> MinTtl { get; set; }
Property Value
Type Description
Input<System.Int32>
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 Input<bool> SmoothStreaming { get; set; }
Property Value
Type Description
Input<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 Input<string> TargetOriginId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

TrustedSigners

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

Declaration
public InputList<string> TrustedSigners { get; set; }
Property Value
Type Description
InputList<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 Input<string> ViewerProtocolPolicy { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.