Class DistributionState
Inherited Members
Namespace: Pulumi.Aws.CloudFront
Assembly: Pulumi.Aws.dll
Syntax
public sealed class DistributionState : ResourceArgs
Constructors
View SourceDistributionState()
Declaration
public DistributionState()
Properties
View SourceActiveTrustedSigners
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> |
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> |
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> |
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> |
Comment
Any comments you want to include about the distribution.
Declaration
public Input<string> Comment { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CustomErrorResponses
One or more custom error response elements (multiples allowed).
Declaration
public InputList<DistributionCustomErrorResponseGetArgs> CustomErrorResponses { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<DistributionCustomErrorResponseGetArgs> |
DefaultCacheBehavior
The default cache behavior for this distribution (maximum one).
Declaration
public Input<DistributionDefaultCacheBehaviorGetArgs> DefaultCacheBehavior { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<DistributionDefaultCacheBehaviorGetArgs> |
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> |
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> |
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> |
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> |
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> |
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> |
InProgressValidationBatches
The number of invalidation batches currently in progress.
Declaration
public Input<int> InProgressValidationBatches { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
IsIpv6Enabled
Whether the IPv6 is enabled for the distribution.
Declaration
public Input<bool> IsIpv6Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
LastModifiedTime
The date and time the distribution was last modified.
Declaration
public Input<string> LastModifiedTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
OriginGroups
One or more origin_group for this distribution (multiples allowed).
Declaration
public InputList<DistributionOriginGroupGetArgs> OriginGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<DistributionOriginGroupGetArgs> |
Origins
One or more origins for this distribution (multiples allowed).
Declaration
public InputList<DistributionOriginGetArgs> Origins { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<DistributionOriginGetArgs> |
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> |
Restrictions
The restriction configuration for this distribution (maximum one).
Declaration
public Input<DistributionRestrictionsGetArgs> Restrictions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<DistributionRestrictionsGetArgs> |
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> |
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> |
Tags
A map of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
ViewerCertificate
The SSL configuration for this distribution (maximum one).
Declaration
public Input<DistributionViewerCertificateGetArgs> ViewerCertificate { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<DistributionViewerCertificateGetArgs> |
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> |
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> |