Class DistributionState


  • public final class DistributionState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • aliases

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> aliases()
        Returns:
        Extra CNAMEs (alternate domain names), if any, for this distribution.
      • anycastIpListId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> anycastIpListId()
        Returns:
        ID of the Anycast static IP list that is associated with the distribution.
      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN for the distribution. For example: `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where `123456789012` is your AWS account ID.
      • cacheTagConfig

        public java.util.Optional<com.pulumi.core.Output<DistributionCacheTagConfigArgs>> cacheTagConfig()
        Returns:
        Cache tag configuration block for cache tag extraction from origin responses (maximum one). See the [AWS documentation](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/invalidation-by-tags.html) for more information about cache tags.
      • callerReference

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> callerReference()
        Returns:
        Internal value used by CloudFront to allow future updates to the distribution configuration.
      • comment

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> comment()
        Returns:
        Any comments you want to include about the distribution.
      • connectionFunctionAssociation

        public java.util.Optional<com.pulumi.core.Output<DistributionConnectionFunctionAssociationArgs>> connectionFunctionAssociation()
        Returns:
        A connection function association configuration block (maximum one).
      • continuousDeploymentPolicyId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> continuousDeploymentPolicyId()
        Returns:
        Identifier of a continuous deployment policy. This argument should only be set on a production distribution. See the `aws.cloudfront.ContinuousDeploymentPolicy` resource for additional details.
      • customErrorResponses

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionCustomErrorResponseArgs>>> customErrorResponses()
        Returns:
        One or more custom error response elements (multiples allowed).
      • defaultCacheBehavior

        public java.util.Optional<com.pulumi.core.Output<DistributionDefaultCacheBehaviorArgs>> defaultCacheBehavior()
        Returns:
        Default cache behavior for this distribution (maximum one). Requires either `cachePolicyId` (preferred) or `forwardedValues` (deprecated) be set.
      • defaultRootObject

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultRootObject()
        Returns:
        Object that you want CloudFront to return (for example, index.html) when an end user requests the root URL.
      • domainName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> domainName()
        Returns:
        Domain name corresponding to the distribution. For example: `d604721fxaaqy9.cloudfront.net`.
      • enabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enabled()
        Returns:
        Whether the distribution is enabled to accept end user requests for content.
      • etag

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()
        Returns:
        Current version of the distribution's information. For example: `E2QWRUHAPOMQZL`.
      • hostedZoneId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> hostedZoneId()
        Returns:
        CloudFront Route 53 zone ID that can be used to route an [Alias Resource Record Set](http://docs.aws.amazon.com/Route53/latest/APIReference/CreateAliasRRSAPI.html) to. This attribute is simply an alias for the zone ID `Z2FDTNDATAQYW2`.
      • httpVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> httpVersion()
        Returns:
        Maximum HTTP version to support on the distribution. Allowed values are `http1.1`, `http2`, `http2and3` and `http3`. The default is `http2`.
      • inProgressValidationBatches

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> inProgressValidationBatches()
        Returns:
        Number of invalidation batches currently in progress.
      • isIpv6Enabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> isIpv6Enabled()
        Returns:
        Whether the IPv6 is enabled for the distribution.
      • lastModifiedTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lastModifiedTime()
        Returns:
        Date and time the distribution was last modified.
      • loggingConfig

        public java.util.Optional<com.pulumi.core.Output<DistributionLoggingConfigArgs>> loggingConfig()
        Returns:
        The logging configuration that controls how logs are written to your distribution (maximum one). AWS provides two versions of access logs for CloudFront: Legacy and v2. This argument configures legacy version standard logs.
      • loggingV1Enabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> loggingV1Enabled()
        Returns:
        Whether V1 logging is enabled for the distribution.
      • orderedCacheBehaviors

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionOrderedCacheBehaviorArgs>>> orderedCacheBehaviors()
        Returns:
        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.
      • originGroups

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionOriginGroupArgs>>> originGroups()
        Returns:
        One or more originGroup for this distribution (multiples allowed).
      • origins

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionOriginArgs>>> origins()
        Returns:
        One or more origins for this distribution (multiples allowed).
      • priceClass

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> priceClass()
        Returns:
        Price class for this distribution. One of `PriceClass_All`, `PriceClass_200`, `PriceClass_100`.
      • restrictions

        public java.util.Optional<com.pulumi.core.Output<DistributionRestrictionsArgs>> restrictions()
        Returns:
        The restriction configuration for this distribution (maximum one).
      • retainOnDelete

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> retainOnDelete()
        Returns:
        Disables the distribution instead of deleting it when destroying the resource through the provider. If this is set, the distribution needs to be deleted manually afterwards. Default: `false`.
      • staging

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> staging()
        Returns:
        A Boolean that indicates whether this is a staging distribution. Defaults to `false`.
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        Current status of the distribution. `Deployed` if the distribution's information is fully propagated throughout the Amazon CloudFront system.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
      • trustedKeyGroups

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionTrustedKeyGroupArgs>>> trustedKeyGroups()
        Returns:
        List of nested attributes for active trusted key groups, if the distribution is set up to serve private content with signed URLs.
      • trustedSigners

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionTrustedSignerArgs>>> trustedSigners()
        Returns:
        List of nested attributes for active trusted signers, if the distribution is set up to serve private content with signed URLs.
      • viewerCertificate

        public java.util.Optional<com.pulumi.core.Output<DistributionViewerCertificateArgs>> viewerCertificate()
        Returns:
        The SSL configuration for this distribution (maximum one).
      • viewerMtlsConfig

        public java.util.Optional<com.pulumi.core.Output<DistributionViewerMtlsConfigArgs>> viewerMtlsConfig()
        Returns:
        The viewer mTLS configuration for this distribution (maximum one).
      • waitForDeployment

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> waitForDeployment()
        Returns:
        If enabled, the resource will wait for the distribution status to change from `InProgress` to `Deployed`. Setting this to`false` will skip the process. Default: `true`.
      • webAclId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> webAclId()
        Returns:
        Unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of AWS WAF (WAFv2), use the ACL ARN, for example `aws_wafv2_web_acl.example.arn`. To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example `aws_waf_web_acl.example.id`. The WAF Web ACL must exist in the WAF Global (CloudFront) region and the credentials configuring this argument must have `waf:GetWebACL` permissions assigned.