Show / Hide Table of Contents

Class DistributionArgs

Inheritance
System.Object
InputArgs
ResourceArgs
DistributionArgs
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
Assembly: Pulumi.Aws.dll
Syntax
public sealed class DistributionArgs : ResourceArgs

Constructors

View Source

DistributionArgs()

Declaration
public DistributionArgs()

Properties

View Source

Aliases

Extra CNAMEs (alternate domain names), if any, for this distribution.

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

Comment

Any comments you want to include about the distribution.

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

CustomErrorResponses

One or more custom error response elements (multiples allowed).

Declaration
public InputList<DistributionCustomErrorResponseArgs> CustomErrorResponses { get; set; }
Property Value
Type Description
InputList<DistributionCustomErrorResponseArgs>
View Source

DefaultCacheBehavior

The default cache behavior for this distribution (maximum one).

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

DefaultRootObject

The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL.

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

Enabled

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

Declaration
public Input<bool> Enabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

HttpVersion

The maximum HTTP version to support on the distribution. Allowed values are http1.1 and http2. The default is http2.

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

IsIpv6Enabled

Whether the IPv6 is enabled for the distribution.

Declaration
public Input<bool> IsIpv6Enabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

LoggingConfig

The logging configuration that controls how logs are written to your distribution (maximum one).

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

OrderedCacheBehaviors

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.

Declaration
public InputList<DistributionOrderedCacheBehaviorArgs> OrderedCacheBehaviors { get; set; }
Property Value
Type Description
InputList<DistributionOrderedCacheBehaviorArgs>
View Source

OriginGroups

One or more origin_group for this distribution (multiples allowed).

Declaration
public InputList<DistributionOriginGroupArgs> OriginGroups { get; set; }
Property Value
Type Description
InputList<DistributionOriginGroupArgs>
View Source

Origins

One or more origins for this distribution (multiples allowed).

Declaration
public InputList<DistributionOriginArgs> Origins { get; set; }
Property Value
Type Description
InputList<DistributionOriginArgs>
View Source

PriceClass

The price class for this distribution. One of PriceClass_All, PriceClass_200, PriceClass_100

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

Restrictions

The restriction configuration for this distribution (maximum one).

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

RetainOnDelete

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.

Declaration
public Input<bool> RetainOnDelete { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Tags

A map of tags to assign to the resource.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

ViewerCertificate

The SSL configuration for this distribution (maximum one).

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

WaitForDeployment

If enabled, the resource will wait for the distribution status to change from InProgress to Deployed. Setting this tofalse will skip the process. Default: true.

Declaration
public Input<bool> WaitForDeployment { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

WebAclId

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.

Declaration
public Input<string> WebAclId { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.