Class: Packer::Builder::Amazon::EBS

Inherits:
Packer::Builder::Amazon show all
Defined in:
lib/packer/builders/amazon.rb

Constant Summary

Constants inherited from Packer::Builder

Packer::Builder::AMAZON_EBS, Packer::Builder::AMAZON_INSTANCE, DOCKER, NULL, VALID_BUILDER_TYPES, VIRTUALBOX_ISO, VMWARE_ISO, VMWARE_VMX

Instance Attribute Summary

Attributes inherited from Packer::Builder

#communicators

Attributes inherited from DataObject

#data, #key_dependencies, #required

Instance Method Summary collapse

Methods inherited from Packer::Builder::Amazon

#access_key, #ami_block_device_mappings, #ami_description, #ami_groups, #ami_name, #ami_product_codes, #ami_regions, #ami_users, #ami_virtualization_type, #associate_public_ip_address, #availability_zone, #enhanced_networking, #iam_instance_profile, #instance_type, #launch_block_device_mappings, #region, #run_tags, #secret_key, #security_group_id, #security_group_ids, #source_ami, #subnet_id, #tags, #temporary_key_pair_name, #user_data, #user_data_file, #vpc_id

Methods inherited from Packer::Builder

#communicator, get_builder, #name, #ssh_bastion_host, #ssh_bastion_password, #ssh_bastion_private_key_file, #ssh_bastion_username, #ssh_disable_agent, #ssh_handshake_attempts, #ssh_host, #ssh_password, #ssh_port, #ssh_private_key_file, #ssh_pty, #ssh_timeout, #ssh_username, types, #winrm_host, #winrm_password, #winrm_port, #winrm_timeout, #winrm_username

Methods inherited from DataObject

#__add_array_of_array_of_strings, #__add_array_of_hashes, #__add_array_of_ints, #__add_array_of_strings, #__add_boolean, #__add_hash, #__add_integer, #__add_json, #__add_string, #__exclusive_key_error, #add_key_dependencies, #add_required, #deep_copy, #validate, #validate_key_dependencies, #validate_required

Constructor Details

#initializeEBS

Returns a new instance of EBS.



129
130
131
132
# File 'lib/packer/builders/amazon.rb', line 129

def initialize
  super
  self.data['type'] = AMAZON_EBS
end