class Packer::Builder::Amazon::Instance

Public Class Methods

new() click to toggle source
Calls superclass method Packer::Builder::Amazon::new
# File lib/packer/builders/amazon.rb, line 136
def initialize
  super
  self.data['type'] = AMAZON_INSTANCE
  self.add_required(
    'account_id',
    's3_bucket',
    'x509_cert_path',
    'x509_key_path'
  )
end

Public Instance Methods

account_id(id) click to toggle source
# File lib/packer/builders/amazon.rb, line 147
def account_id(id)
  self.__add_string('account_id', id)
end
bundle_destination(directory) click to toggle source
# File lib/packer/builders/amazon.rb, line 163
def bundle_destination(directory)
  self.__add_string('bundle_destination', directory)
end
bundle_prefix(prefix) click to toggle source
# File lib/packer/builders/amazon.rb, line 167
def bundle_prefix(prefix)
  self.__add_string('bundle_prefix', prefix)
end
bundle_upload_command(command) click to toggle source
# File lib/packer/builders/amazon.rb, line 171
def bundle_upload_command(command)
  self.__add_string('bundle_upload_command', command)
end
bundle_vol_command(command) click to toggle source
# File lib/packer/builders/amazon.rb, line 175
def bundle_vol_command(command)
  self.__add_string('bundle_vol_command', command)
end
s3_bucket(bucket) click to toggle source
# File lib/packer/builders/amazon.rb, line 151
def s3_bucket(bucket)
  self.__add_string('s3_bucket', bucket)
end
x509_cert_path(path) click to toggle source
# File lib/packer/builders/amazon.rb, line 155
def x509_cert_path(path)
  self.__add_string('x509_cert_path', path)
end
x509_key_path(path) click to toggle source
# File lib/packer/builders/amazon.rb, line 159
def x509_key_path(path)
  self.__add_string('x509_key_path', path)
end
x509_upload_path(path) click to toggle source
# File lib/packer/builders/amazon.rb, line 179
def x509_upload_path(path)
  self.__add_string('x509_upload_path', path)
end