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

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

Overview

Note:

When making an API call, you may pass AwsCloudFrontDistributionLogging data as a hash:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The Amazon S3 bucket to store the access logs in.

Returns:

  • (String)


294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 294

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)


294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 294

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)


294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 294

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)


294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 294

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