Class: DrawCloud::EC2InstanceTemplate
- Inherits:
-
EC2Instance
- Object
- Base
- EC2Instance
- DrawCloud::EC2InstanceTemplate
- Defined in:
- lib/draw_cloud/ec2_instance_template.rb
Instance Attribute Summary
Attributes inherited from EC2Instance
#availability_zone, #disable_api_termination, #eip_name, #image_id, #instance_type, #key_name, #metadata, #monitoring, #name, #placement_group_name, #private_ip_address, #source_dest_check, #subnet_id, #tags, #template, #user_data
Attributes inherited from Base
#as_groups, #as_launch_configurations, #deletion_policy, #depends_on, #ec2_instances, #elastic_ips, #gateways, #iam_access_keys, #iam_policies, #iam_users, #mappings, #metadata, #network_acls, #network_interfaces, #outputs, #parameters, #parent, #rdses, #resources, #route_tables, #security_groups, #sns_topics, #subnets, #vpcs, #wait_handles
Instance Method Summary collapse
-
#initialize(name, options = {}, &block) ⇒ EC2InstanceTemplate
constructor
A new instance of EC2InstanceTemplate.
- #load_into_config(config) ⇒ Object
Methods inherited from EC2Instance
#default_tags, #ec2_instance, #elastic_ip=, #elastic_ip_association, #fetchmergeprop, #fetchprop, #fetchunionprop, #resource_name, #to_h
Methods inherited from Base
#[], #accessor, #add_standard_properties, #create_as_group, #create_as_launch_configuration, #create_ec2_instance, #create_ec2_instance_template, #create_elastic_ip, #create_iam_access_key, #create_iam_policy, #create_iam_user, #create_mapping, #create_network_acl, #create_network_interface, #create_output, #create_parameter, #create_rds, #create_route_table, #create_security_group, #create_service, #create_sns_topic, #create_subnet, #create_vpc, #create_wait_handle, #ref, #resource_name
Methods included from Locations
Methods included from Utilities
#desplice, #fnbase64, #fngetatt, #fnjoin, #hash_to_tag_array, #region, #resource_style, #splice, #stack_name
Constructor Details
#initialize(name, options = {}, &block) ⇒ EC2InstanceTemplate
Returns a new instance of EC2InstanceTemplate.
21 22 23 |
# File 'lib/draw_cloud/ec2_instance_template.rb', line 21 def initialize(name, ={}, &block) super(name, , &block) end |
Instance Method Details
#load_into_config(config) ⇒ Object
25 26 27 |
# File 'lib/draw_cloud/ec2_instance_template.rb', line 25 def load_into_config(config) # template - do NOT add to config end |