Sha256: b6537c07bf0e2d412fc502bd108d7d77c1744c310e9a068a83b4b55e48cbd221

Contents?: true

Size: 1.26 KB

Versions: 52

Compression:

Stored size: 1.26 KB

Contents

require_relative '../resource_property'

module Convection
  module Model
    class Template
      class ResourceProperty
        # Represents an {https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata.html
        # EC2 Spot Fleet Request Config Data Property Type}
        class EC2SpotFleetRequestConfigData < ResourceProperty
          property :allocation_strategy, 'AllocationStrategy'
          property :excess_capacity_termination_policy, 'ExcessCapacityTerminationPolicy'
          property :iam_fleet_role, 'IamFleetRole'
          property :launch_specifications, 'LaunchSpecifications', :type => :list
          property :spot_price, 'SpotPrice'
          property :target_capacity, 'TargetCapacity'
          property :terminate_instances_with_expiration, 'TerminateInstancesWithExpiration'
          property :valid_from, 'ValidFrom'
          property :valid_until, 'ValidUntil'

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

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
convection-2.2.12 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.11 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.10 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.9 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.8 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.7 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.6 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.5 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.4 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.3 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.2 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.1 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.2.0 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.1.2 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.1.1 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.1.0 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-2.0.0 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-1.1.7 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-1.1.5 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb
convection-1.1.4 lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data.rb