Show / Hide Table of Contents

Class DistributionState

Inheritance
System.Object
InputArgs
ResourceArgs
DistributionState
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 DistributionState : ResourceArgs

Constructors

View Source

DistributionState()

Declaration
public DistributionState()

Properties

View Source

ActiveTrustedSigners

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.

Declaration
public InputMap<object> ActiveTrustedSigners { get; set; }
Property Value
Type Description
InputMap<System.Object>
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

Arn

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.

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

CallerReference

Internal value used by CloudFront to allow future updates to the distribution configuration.

Declaration
public Input<string> CallerReference { get; set; }
Property Value
Type Description
Input<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<DistributionCustomErrorResponseGetArgs> CustomErrorResponses { get; set; }
Property Value
Type Description
InputList<DistributionCustomErrorResponseGetArgs>
View Source

DefaultCacheBehavior

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

Declaration
public Input<DistributionDefaultCacheBehaviorGetArgs> DefaultCacheBehavior { get; set; }
Property Value
Type Description
Input<DistributionDefaultCacheBehaviorGetArgs>
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

DomainName

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

Declaration
public Input<string> DomainName { 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

Etag

The current version of the distribution's information. For example: E2QWRUHAPOMQZL.

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

HostedZoneId

The CloudFront Route 53 zone ID that can be used to route an Alias Resource Record Set to. This attribute is simply an alias for the zone ID Z2FDTNDATAQYW2.

Declaration
public Input<string> HostedZoneId { get; set; }
Property Value
Type Description
Input<System.String>
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

InProgressValidationBatches

The number of invalidation batches currently in progress.

Declaration
public Input<int> InProgressValidationBatches { get; set; }
Property Value
Type Description
Input<System.Int32>
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

LastModifiedTime

The date and time the distribution was last modified.

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

LoggingConfig

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

Declaration
public Input<DistributionLoggingConfigGetArgs> LoggingConfig { get; set; }
Property Value
Type Description
Input<DistributionLoggingConfigGetArgs>
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<DistributionOrderedCacheBehaviorGetArgs> OrderedCacheBehaviors { get; set; }
Property Value
Type Description
InputList<DistributionOrderedCacheBehaviorGetArgs>
View Source

OriginGroups

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

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

Origins

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

Declaration
public InputList<DistributionOriginGetArgs> Origins { get; set; }
Property Value
Type Description
InputList<DistributionOriginGetArgs>
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<DistributionRestrictionsGetArgs> Restrictions { get; set; }
Property Value
Type Description
Input<DistributionRestrictionsGetArgs>
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

Status

The current status of the distribution. Deployed if the distribution's information is fully propagated throughout the Amazon CloudFront system.

Declaration
public Input<string> Status { get; set; }
Property Value
Type Description
Input<System.String>
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<DistributionViewerCertificateGetArgs> ViewerCertificate { get; set; }
Property Value
Type Description
Input<DistributionViewerCertificateGetArgs>
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.