Class MultitenantDistributionOrigin


  • public final class MultitenantDistributionOrigin
    extends java.lang.Object
    • Method Detail

      • connectionAttempts

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

        public java.util.Optional<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. Default: 10.
      • customHeaders

        public java.util.List<MultitenantDistributionOriginCustomHeader> customHeaders()
        Returns:
        One or more sub-resources with `name` and `value` parameters that specify header data that will be sent to the origin. See Custom Header below.
      • domainName

        public java.lang.String domainName()
        Returns:
        DNS domain name of either the S3 bucket, or web site of your custom origin.
      • id

        public java.lang.String id()
        Returns:
        Identifier for the distribution.
      • originAccessControlId

        public java.util.Optional<java.lang.String> originAccessControlId()
        Returns:
        CloudFront origin access control identifier to associate with the origin.
      • originPath

        public java.util.Optional<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.
      • responseCompletionTimeout

        public java.util.Optional<java.lang.Integer> responseCompletionTimeout()
        Returns:
        Number of seconds that CloudFront waits for a response after forwarding a request to the origin. Must be integer greater than or equal to the value of `originReadTimeout` in Custom Origin Config. If omitted, no maximum value is enforced.