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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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)


4595
4596
4597
4598
4599
4600
4601
4602
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4595

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)


4595
4596
4597
4598
4599
4600
4601
4602
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4595

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)


4595
4596
4597
4598
4599
4600
4601
4602
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4595

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)


4595
4596
4597
4598
4599
4600
4601
4602
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4595

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