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_key ⇒ Object

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_name ⇒ Object

Returns the value of attribute bucket_name.



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

def bucket_name
  @bucket_name
end

#domain ⇒ Object

Returns the value of attribute domain.



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

def domain
  @domain
end

#format ⇒ Object

Returns the value of attribute format.



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

def format
  @format
end

#format_version ⇒ Object

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_level ⇒ Object

Returns the value of attribute gzip_level.



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

def gzip_level
  @gzip_level
end

#message_type ⇒ Object

Returns the value of attribute message_type.



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

def message_type
  @message_type
end

#name ⇒ Object

Returns the value of attribute name.



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

def name
  @name
end

#path ⇒ Object

Returns the value of attribute path.



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

def path
  @path
end

#period ⇒ Object

Returns the value of attribute period.



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

def period
  @period
end

#redundancy ⇒ Object

Returns the value of attribute redundancy.



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

def redundancy
  @redundancy
end

#response_condition ⇒ Object

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_key ⇒ Object

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_id ⇒ Object

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_format ⇒ Object

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

.path ⇒ Object

:attr: redundancy

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



97
98
99
# File 'lib/fastly/s3_logging.rb', line 97

def self.path
  'logging/s3'
end