Class: Fastly::S3Logging

Inherits:
BelongsToServiceAndVersion show all
Defined in:
lib/fastly/s3_logging.rb

Overview

An s3 endpoint to stream logs to

Instance Attribute Summary collapse

Attributes inherited from BelongsToServiceAndVersion

#version

Attributes inherited from Base

#fetcher

Class Method Summary collapse

Methods inherited from BelongsToServiceAndVersion

#as_hash, delete_path, get_path, path_escape, post_path, put_path, #service, #version_number

Methods inherited from Base

#as_hash, #delete!, delete_path, get_path, #initialize, list_path, post_path, put_path, #require_api_key!, #save!

Constructor Details

This class inherits a constructor from Fastly::Base

Instance Attribute Details

#access_keyObject

Returns the value of attribute access_key.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def access_key
  @access_key
end

#bucket_nameObject

Returns the value of attribute bucket_name.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def bucket_name
  @bucket_name
end

#domainObject

Returns the value of attribute domain.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def domain
  @domain
end

#formatObject

Returns the value of attribute format.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def format
  @format
end

#format_versionObject

Returns the value of attribute format_version.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def format_version
  @format_version
end

#gzip_levelObject

Returns the value of attribute gzip_level.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def gzip_level
  @gzip_level
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def name
  @name
end

#pathObject

Returns the value of attribute path.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def path
  @path
end

#periodObject

Returns the value of attribute period.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def period
  @period
end

#redundancyObject

Returns the value of attribute redundancy.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def redundancy
  @redundancy
end

#response_conditionObject

Returns the value of attribute response_condition.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def response_condition
  @response_condition
end

#secret_keyObject

Returns the value of attribute secret_key.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def secret_key
  @secret_key
end

#service_idObject

Returns the value of attribute service_id.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def service_id
  @service_id
end

#timestamp_formatObject

Returns the value of attribute timestamp_format.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def timestamp_format
  @timestamp_format
end

Class Method Details

.pathObject

:attr: redundancy

The S3 redundancy level. Defaults to Standard. See docs.aws.amazon.com/AmazonS3/latest/dev/UsingRRS.html on using reduced redundancy storage for more information.



89
90
91
# File 'lib/fastly/s3_logging.rb', line 89

def self.path
  'logging/s3'
end