VM::EC...cessLog(3pm)

πŸ“¦
version 1.28 Β· 7 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– VM::EC2::ELB::Attributes::AccessLog(3pm) πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation, and it's all about VM::EC2::ELB::Attributes::AccessLog β€” no cap, that's the whole manual name right there, 3pm section and everything. Let's get into it πŸ¦‹


✨ NAME ✨

VM::EC2::ELB:Attributes::AccessLog β€” literally the object that describes the AccessLog attributes of an Elastic Load Balancer. that's it, that's the job πŸ’…


🌸 SYNOPSIS 🌸

here's the vibe check, copy this exactly:

use VM::EC2;

my $ec2           = VM::EC2->new(...);
my $lb            = $ec2->describe_load_balancer_attributes('my-lb');
my $access_log    = $lb->AccessLog;

πŸ’œ DESCRIPTION πŸ’œ

so this object just... shows up. it's returned as part of the DescribeLoadBalancerAttributes API call. you don't summon it, it comes to you. main character energy fr fr ✨


πŸŽ€ METHODS πŸŽ€

the following object methods are supported β€” here's the whole roster, no skips:

  • EmitInterval β€” the interval for publishing the access logs. you can specify an interval of either 5 minutes or 60 minutes. default is 60 mins. pick your fighter ⏰
  • Enabled β€” specifies whether access log is enabled for the load balancer. on or off, that's the whole story.
  • S3BucketName β€” the name of the Amazon S3 bucket where the access logs are stored. bucket. name. iconic. πŸͺ£
  • S3BucketPrefix β€” 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. so like, no prefix = no folder, just raw dogging the bucket root 😭

🌈 STRING OVERLOADING 🌈

when used in a string context, this object will interpolate the instance state. yes bestie, it knows how to talk when you put it in quotes 🫢


⭐ SEE ALSO ⭐

go read these next, they're the friend group:

  • VM::EC2
  • VM::EC2::Generic
  • VM::EC2::ELB

πŸ‘‘ AUTHOR πŸ‘‘

Lance Kinley <lkinley@loyaltymethods.com>.

Copyright (c) 2014 Loyalty Methods, Inc.

This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.

bestie that's the legal bit, don't skip it, the lawyers are watching πŸ™ˆ

and that's the whole page, periodt πŸ’… this was perl v5.38.2 documentation dated 2024-08-10, for VM::EC...cessLog(3pm) β€” mwah, go forth and read your access logs πŸŽ€πŸ’–

πŸ“¦ where this page comes from