Interface AwsCloudFrontDistributionLogging.Builder

  • Method Details

    • bucket

      The S3 bucket to store the access logs in.

      Parameters:
      bucket - The S3 bucket to store the access logs in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabled

      With this field, you can enable or disable the selected distribution.

      Parameters:
      enabled - With this field, you can enable or disable the selected distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeCookies

      AwsCloudFrontDistributionLogging.Builder includeCookies(Boolean includeCookies)

      Specifies whether you want CloudFront to include cookies in access logs.

      Parameters:
      includeCookies - Specifies whether you want CloudFront to include cookies in access logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • prefix

      An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.

      Parameters:
      prefix - An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.