Class: Convection::Model::Template::ResourceProperty::EC2SpotFleetRequestConfigDataLaunchSpecifications

Inherits:
Convection::Model::Template::ResourceProperty show all
Defined in:
lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb

Overview

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::ResourceProperty

#exist, #properties, #template

Instance Method Summary collapse

Methods inherited from Convection::Model::Template::ResourceProperty

attach_method, #initialize, properties, property, #property, #render

Methods included from DSL::Helpers

#camel_case, included, method_name, #screaming_snake_case, #snake_case

Methods included from DSL::IntrinsicFunctions

#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_import_value, #fn_not, #fn_or, #fn_ref, #fn_sub, #get_att, #get_azs, #join, #select

Constructor Details

This class inherits a constructor from Convection::Model::Template::ResourceProperty

Instance Method Details

#block_device_mapping(&block) ⇒ Object



27
28
29
30
31
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 27

def block_device_mapping(&block)
  block_device_mapping = ResourceProperty::EC2SpotFleetRequestConfigDataLaunchSpecificationsBlockDeviceMapping.new(self)
  block_device_mapping.instance_exec(&block) if block
  block_device_mappings << block_device_mapping
end

#block_device_mappingsObject #block_device_mappings(value) ⇒ Object

Overloads:

  • #block_device_mappingsObject

    Returns the value of the ‘BlockDeviceMappings’ CloudFormation property.

  • #block_device_mappings(value) ⇒ Object

    Sets the ‘BlockDeviceMappings’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘BlockDeviceMappings’ CloudFormation property to.



10
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 10

property :block_device_mappings, 'BlockDeviceMappings', :type => :array

#ebs_optimizedObject #ebs_optimized(value) ⇒ Object

Overloads:

  • #ebs_optimizedObject

    Returns the value of the ‘EbsOptimized’ CloudFormation property.

  • #ebs_optimized(value) ⇒ Object

    Sets the ‘EbsOptimized’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘EbsOptimized’ CloudFormation property to.



11
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 11

property :ebs_optimized, 'EbsOptimized'

#iam_instance_profileObject #iam_instance_profile(value) ⇒ Object

Overloads:

  • #iam_instance_profileObject

    Returns the value of the ‘IamInstanceProfile’ CloudFormation property.

  • #iam_instance_profile(value) ⇒ Object

    Sets the ‘IamInstanceProfile’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘IamInstanceProfile’ CloudFormation property to.



12
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 12

property :iam_instance_profile, 'IamInstanceProfile'

#image_idObject #image_id(value) ⇒ Object

Overloads:

  • #image_idObject

    Returns the value of the ‘ImageId’ CloudFormation property.

  • #image_id(value) ⇒ Object

    Sets the ‘ImageId’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘ImageId’ CloudFormation property to.



13
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 13

property :image_id, 'ImageId'

#instance_typeObject #instance_type(value) ⇒ Object

Overloads:

  • #instance_typeObject

    Returns the value of the ‘InstanceType’ CloudFormation property.

  • #instance_type(value) ⇒ Object

    Sets the ‘InstanceType’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘InstanceType’ CloudFormation property to.



14
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 14

property :instance_type, 'InstanceType'

#kernel_idObject #kernel_id(value) ⇒ Object

Overloads:

  • #kernel_idObject

    Returns the value of the ‘KernelId’ CloudFormation property.

  • #kernel_id(value) ⇒ Object

    Sets the ‘KernelId’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘KernelId’ CloudFormation property to.



15
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 15

property :kernel_id, 'KernelId'

#key_nameObject #key_name(value) ⇒ Object

Overloads:

  • #key_nameObject

    Returns the value of the ‘KeyName’ CloudFormation property.

  • #key_name(value) ⇒ Object

    Sets the ‘KeyName’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘KeyName’ CloudFormation property to.



16
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 16

property :key_name, 'KeyName'

#monitoringObject #monitoring(value) ⇒ Object

Overloads:

  • #monitoringObject

    Returns the value of the ‘Monitoring’ CloudFormation property.

  • #monitoring(value) ⇒ Object

    Sets the ‘Monitoring’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘Monitoring’ CloudFormation property to.



17
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 17

property :monitoring, 'Monitoring'

#network_interfacesObject #network_interfaces(value) ⇒ Object

Overloads:

  • #network_interfacesObject

    Returns the value of the ‘NetworkInterfaces’ CloudFormation property.

  • #network_interfaces(value) ⇒ Object

    Sets the ‘NetworkInterfaces’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘NetworkInterfaces’ CloudFormation property to.



18
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 18

property :network_interfaces, 'NetworkInterfaces', :type => :array

#placementObject #placement(value) ⇒ Object

Overloads:

  • #placementObject

    Returns the value of the ‘Placement’ CloudFormation property.

  • #placement(value) ⇒ Object

    Sets the ‘Placement’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘Placement’ CloudFormation property to.



19
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 19

property :placement, 'Placement'

#ramdisk_idObject #ramdisk_id(value) ⇒ Object

Overloads:

  • #ramdisk_idObject

    Returns the value of the ‘RamdiskId’ CloudFormation property.

  • #ramdisk_id(value) ⇒ Object

    Sets the ‘RamdiskId’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘RamdiskId’ CloudFormation property to.



20
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 20

property :ramdisk_id, 'RamdiskId'

#security_group(&block) ⇒ Object



45
46
47
48
49
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 45

def security_group(&block)
  sec_group = ResourceProperty::EC2SpotFleetRequestConfigDataLaunchSpecificationsSecurityGroups.new(self)
  sec_group.instance_exec(&block) if block
  security_groups << sec_group
end

#security_groupsObject #security_groups(value) ⇒ Object

Overloads:

  • #security_groupsObject

    Returns the value of the ‘SecurityGroups’ CloudFormation property.

  • #security_groups(value) ⇒ Object

    Sets the ‘SecurityGroups’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘SecurityGroups’ CloudFormation property to.



21
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 21

property :security_groups, 'SecurityGroups', :type => :array

#spot_priceObject #spot_price(value) ⇒ Object

Overloads:

  • #spot_priceObject

    Returns the value of the ‘SpotPrice’ CloudFormation property.

  • #spot_price(value) ⇒ Object

    Sets the ‘SpotPrice’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘SpotPrice’ CloudFormation property to.



22
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 22

property :spot_price, 'SpotPrice'

#subnet_idObject #subnet_id(value) ⇒ Object

Overloads:

  • #subnet_idObject

    Returns the value of the ‘SubnetId’ CloudFormation property.

  • #subnet_id(value) ⇒ Object

    Sets the ‘SubnetId’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘SubnetId’ CloudFormation property to.



23
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 23

property :subnet_id, 'SubnetId'

#user_dataObject #user_data(value) ⇒ Object

Overloads:

  • #user_dataObject

    Returns the value of the ‘UserData’ CloudFormation property.

  • #user_data(value) ⇒ Object

    Sets the ‘UserData’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘UserData’ CloudFormation property to.



24
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 24

property :user_data, 'UserData'

#weighted_capacityObject #weighted_capacity(value) ⇒ Object

Overloads:

  • #weighted_capacityObject

    Returns the value of the ‘WeightedCapacity’ CloudFormation property.

  • #weighted_capacity(value) ⇒ Object

    Sets the ‘WeightedCapacity’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘WeightedCapacity’ CloudFormation property to.



25
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications.rb', line 25

property :weighted_capacity, 'WeightedCapacity'