module AwsExtensions::S3::Bucket
Public Instance Methods
replication()
click to toggle source
Public: Method used to extend the Bucket
class so that it will return replication rules.
Returns the associated Aws::S3::Types::ReplicationConfiguration
# File lib/aws_extensions/s3/Bucket.rb, line 26 def replication Cumulus::S3::client(location).get_bucket_replication({bucket: name}).replication_configuration rescue Aws::S3::Errors::ReplicationConfigurationNotFoundError nil end