Class: Convection::Model::Template::ResourceProperty::EC2SpotFleetRequestConfigData

Inherits:
Convection::Model::Template::ResourceProperty show all
Defined in:
lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.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, included, #join, mixers, #select

Constructor Details

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

Instance Method Details

#allocation_strategyObject #allocation_strategy(value) ⇒ Object

Overloads:

  • #allocation_strategyObject

    Returns the value of the ‘AllocationStrategy’ CloudFormation property.

  • #allocation_strategy(value) ⇒ Object

    Sets the ‘AllocationStrategy’ CloudFormation property.

    Parameters:

    • value

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



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

property :allocation_strategy, 'AllocationStrategy'

#excess_capacity_termination_policyObject #excess_capacity_termination_policy(value) ⇒ Object

Overloads:

  • #excess_capacity_termination_policyObject

    Returns the value of the ‘ExcessCapacityTerminationPolicy’ CloudFormation property.

  • #excess_capacity_termination_policy(value) ⇒ Object

    Sets the ‘ExcessCapacityTerminationPolicy’ CloudFormation property.

    Parameters:

    • value

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



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

property :excess_capacity_termination_policy, 'ExcessCapacityTerminationPolicy'

#iam_fleet_roleObject #iam_fleet_role(value) ⇒ Object

Overloads:

  • #iam_fleet_roleObject

    Returns the value of the ‘IamFleetRole’ CloudFormation property.

  • #iam_fleet_role(value) ⇒ Object

    Sets the ‘IamFleetRole’ CloudFormation property.

    Parameters:

    • value

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



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

property :iam_fleet_role, 'IamFleetRole'

#launch_specification(&block) ⇒ Object



20
21
22
23
24
# File 'lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb', line 20

def launch_specification(&block)
  launch_specification = ResourceProperty::EC2SpotFleetRequestConfigDataLaunchSpecifications.new(self)
  launch_specification.instance_exec(&block) if block
  launch_specifications << launch_specification
end

#launch_specificationsObject #launch_specifications(value) ⇒ Object

Overloads:

  • #launch_specificationsObject

    Returns the value of the ‘LaunchSpecifications’ CloudFormation property.

  • #launch_specifications(value) ⇒ Object

    Sets the ‘LaunchSpecifications’ CloudFormation property.

    Parameters:

    • value

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



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

property :launch_specifications, 'LaunchSpecifications', :type => :list

#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.



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

property :spot_price, 'SpotPrice'

#target_capacityObject #target_capacity(value) ⇒ Object

Overloads:

  • #target_capacityObject

    Returns the value of the ‘TargetCapacity’ CloudFormation property.

  • #target_capacity(value) ⇒ Object

    Sets the ‘TargetCapacity’ CloudFormation property.

    Parameters:

    • value

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



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

property :target_capacity, 'TargetCapacity'

#terminate_instances_with_expirationObject #terminate_instances_with_expiration(value) ⇒ Object

Overloads:

  • #terminate_instances_with_expirationObject

    Returns the value of the ‘TerminateInstancesWithExpiration’ CloudFormation property.

  • #terminate_instances_with_expiration(value) ⇒ Object

    Sets the ‘TerminateInstancesWithExpiration’ CloudFormation property.

    Parameters:

    • value

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



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

property :terminate_instances_with_expiration, 'TerminateInstancesWithExpiration'

#valid_fromObject #valid_from(value) ⇒ Object

Overloads:

  • #valid_fromObject

    Returns the value of the ‘ValidFrom’ CloudFormation property.

  • #valid_from(value) ⇒ Object

    Sets the ‘ValidFrom’ CloudFormation property.

    Parameters:

    • value

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



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

property :valid_from, 'ValidFrom'

#valid_untilObject #valid_until(value) ⇒ Object

Overloads:

  • #valid_untilObject

    Returns the value of the ‘ValidUntil’ CloudFormation property.

  • #valid_until(value) ⇒ Object

    Sets the ‘ValidUntil’ CloudFormation property.

    Parameters:

    • value

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



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

property :valid_until, 'ValidUntil'