Module: AwsExtensions::S3::BucketLogging
- Defined in:
- lib/aws_extensions/s3/BucketLogging.rb
Instance Method Summary collapse
-
#to_cumulus ⇒ Object
Public: Convert this Aws::S3::BucketLogging into a Cumulus::S3::LoggingConfig.
Instance Method Details
#to_cumulus ⇒ Object
Public: Convert this Aws::S3::BucketLogging into a Cumulus::S3::LoggingConfig
Returns a LoggingConfig
9 10 11 12 13 14 15 |
# File 'lib/aws_extensions/s3/BucketLogging.rb', line 9 def to_cumulus if logging_enabled cumulus = Cumulus::S3::LoggingConfig.new cumulus.populate!(self) cumulus end end |