Class DistributionLoggingConfigArgs.Builder

    • Method Detail

      • bucket

        public DistributionLoggingConfigArgs.Builder bucket​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> bucket)
        Parameters:
        bucket - Amazon S3 bucket for V1 logging where access logs are stored, for example, `myawslogbucket.s3.amazonaws.com`. V1 logging is enabled when this argument is specified. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
        Returns:
        builder
      • bucket

        public DistributionLoggingConfigArgs.Builder bucket​(java.lang.String bucket)
        Parameters:
        bucket - Amazon S3 bucket for V1 logging where access logs are stored, for example, `myawslogbucket.s3.amazonaws.com`. V1 logging is enabled when this argument is specified. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
        Returns:
        builder
      • includeCookies

        public DistributionLoggingConfigArgs.Builder includeCookies​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Boolean> includeCookies)
        Parameters:
        includeCookies - Whether to include cookies in access logs (default: `false`). This argument applies to both V1 and V2 logging.
        Returns:
        builder
      • includeCookies

        public DistributionLoggingConfigArgs.Builder includeCookies​(java.lang.Boolean includeCookies)
        Parameters:
        includeCookies - Whether to include cookies in access logs (default: `false`). This argument applies to both V1 and V2 logging.
        Returns:
        builder
      • prefix

        public DistributionLoggingConfigArgs.Builder prefix​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> prefix)
        Parameters:
        prefix - Prefix added to the access log file names for V1 logging, for example, `myprefix/`. This argument is effective only when V1 logging is enabled.
        Returns:
        builder
      • prefix

        public DistributionLoggingConfigArgs.Builder prefix​(java.lang.String prefix)
        Parameters:
        prefix - Prefix added to the access log file names for V1 logging, for example, `myprefix/`. This argument is effective only when V1 logging is enabled.
        Returns:
        builder