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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The S3 bucket to store the access logs in.

Returns:

  • (String)


4464
4465
4466
4467
4468
4469
4470
4471
# File 'lib/aws-sdk-securityhub/types.rb', line 4464

class AwsCloudFrontDistributionLogging < Struct.new(
  :bucket,
  :enabled,
  :include_cookies,
  :prefix)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

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

Returns:

  • (Boolean)


4464
4465
4466
4467
4468
4469
4470
4471
# File 'lib/aws-sdk-securityhub/types.rb', line 4464

class AwsCloudFrontDistributionLogging < Struct.new(
  :bucket,
  :enabled,
  :include_cookies,
  :prefix)
  SENSITIVE = []
  include Aws::Structure
end

#include_cookiesBoolean

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

Returns:

  • (Boolean)


4464
4465
4466
4467
4468
4469
4470
4471
# File 'lib/aws-sdk-securityhub/types.rb', line 4464

class AwsCloudFrontDistributionLogging < Struct.new(
  :bucket,
  :enabled,
  :include_cookies,
  :prefix)
  SENSITIVE = []
  include Aws::Structure
end

#prefixString

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

Returns:

  • (String)


4464
4465
4466
4467
4468
4469
4470
4471
# File 'lib/aws-sdk-securityhub/types.rb', line 4464

class AwsCloudFrontDistributionLogging < Struct.new(
  :bucket,
  :enabled,
  :include_cookies,
  :prefix)
  SENSITIVE = []
  include Aws::Structure
end