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
- Struct
- Aws::ElasticLoadBalancing::Types::AccessLog
- Defined in:
- (unknown)
Overview
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
-
#emit_interval ⇒ Integer
The interval for publishing the access logs.
-
#enabled ⇒ Boolean
Specifies whether access logs are enabled for the load balancer.
-
#s3_bucket_name ⇒ String
The name of the Amazon S3 bucket where the access logs are stored.
-
#s3_bucket_prefix ⇒ String
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod
.
Instance Attribute Details
#emit_interval ⇒ Integer
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
#enabled ⇒ Boolean
Specifies whether access logs are enabled for the load balancer.
#s3_bucket_name ⇒ String
The name of the Amazon S3 bucket where the access logs are stored.
#s3_bucket_prefix ⇒ String
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.