Class: Aws::ElasticLoadBalancing::Types::AccessLog

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

Overview

Information about the ‘AccessLog` attribute.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#emit_intervalInteger

The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

Default: 60 minutes

Returns:

  • (Integer)


38
39
40
41
42
43
44
45
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 38

class AccessLog < Struct.new(
  :enabled,
  :s3_bucket_name,
  :emit_interval,
  :s3_bucket_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Specifies whether access logs are enabled for the load balancer.

Returns:

  • (Boolean)


38
39
40
41
42
43
44
45
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 38

class AccessLog < Struct.new(
  :enabled,
  :s3_bucket_name,
  :emit_interval,
  :s3_bucket_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#s3_bucket_nameString

The name of the Amazon S3 bucket where the access logs are stored.

Returns:

  • (String)


38
39
40
41
42
43
44
45
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 38

class AccessLog < Struct.new(
  :enabled,
  :s3_bucket_name,
  :emit_interval,
  :s3_bucket_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#s3_bucket_prefixString

The logical hierarchy you created for your Amazon S3 bucket, for example ‘my-bucket-prefix/prod`. If the prefix is not provided, the log is placed at the root level of the bucket.

Returns:

  • (String)


38
39
40
41
42
43
44
45
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 38

class AccessLog < Struct.new(
  :enabled,
  :s3_bucket_name,
  :emit_interval,
  :s3_bucket_prefix)
  SENSITIVE = []
  include Aws::Structure
end