You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecurityHub::Types::AwsCloudFrontDistributionLogging

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsCloudFrontDistributionLogging as input to an Aws::Client method, you can use a vanilla Hash:

{
  bucket: "NonEmptyString",
  enabled: false,
  include_cookies: false,
  prefix: "NonEmptyString",
}

A complex type that controls whether access logs are written for the distribution.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The Amazon S3 bucket to store the access logs in.

Returns:

  • (String)

    The Amazon S3 bucket to store the access logs in.

#enabledBoolean

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

Returns:

  • (Boolean)

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

#include_cookiesBoolean

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

Returns:

  • (Boolean)

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

#prefixString

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

Returns:

  • (String)

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