Class DistributionOriginArgs


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

      • connectionAttempts

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> connectionAttempts()
        Returns:
        Number of times that CloudFront attempts to connect to the origin. Must be between 1-3. Defaults to 3.
      • connectionTimeout

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> connectionTimeout()
        Returns:
        Number of seconds that CloudFront waits when trying to establish a connection to the origin. Must be between 1-10. Defaults to 10.
      • customHeaders

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionOriginCustomHeaderArgs>>> customHeaders()
        Returns:
        One or more sub-resources with `name` and `value` parameters that specify header data that will be sent to the origin (multiples allowed).
      • customOriginConfig

        public java.util.Optional<com.pulumi.core.Output<DistributionOriginCustomOriginConfigArgs>> customOriginConfig()
        Returns:
        The CloudFront custom origin configuration information. If an S3 origin is required, use `originAccessControlId` or `s3OriginConfig` instead.
      • domainName

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> originAccessControlId()
        Returns:
        Unique identifier of a CloudFront origin access control for this origin.
      • originId

        public com.pulumi.core.Output<java.lang.String> originId()
      • originPath

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> originPath()
        Returns:
        Optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
      • originShield

        public java.util.Optional<com.pulumi.core.Output<DistributionOriginOriginShieldArgs>> originShield()
        Returns:
        CloudFront Origin Shield configuration information. Using Origin Shield can help reduce the load on your origin. For more information, see [Using Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) in the Amazon CloudFront Developer Guide.
      • responseCompletionTimeout

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> responseCompletionTimeout()
        Returns:
        Time (in seconds) that a request from CloudFront to the origin can stay open and wait for a response. Must be integer greater than or equal to the value of `originReadTimeout`. If omitted or explicitly set to `0`, no maximum value is enforced.
      • s3OriginConfig

        public java.util.Optional<com.pulumi.core.Output<DistributionOriginS3OriginConfigArgs>> s3OriginConfig()
        Returns:
        CloudFront S3 origin configuration information. If a custom origin is required, use `customOriginConfig` instead.