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

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

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

Overview

Note:

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

{
  enabled: false, # required
  s3_bucket_name: "S3BucketName",
  emit_interval: 1,
  s3_bucket_prefix: "AccessLogPrefix",
}

Information about the AccessLog attribute.

Returned by:

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)

    The interval for publishing the access logs.

#enabledBoolean

Specifies whether access logs are enabled for the load balancer.

Returns:

  • (Boolean)

    Specifies whether access logs are enabled for the load balancer.

#s3_bucket_nameString

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

Returns:

  • (String)

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

#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)

    The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod.