Sha256: b8a0641f9bbd80638e593471874826da067fba55d8d8c91d117b9016d70e4c6d

Contents?: true

Size: 667 Bytes

Versions: 52

Compression:

Stored size: 667 Bytes

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::EC2::SpotFleet
        ##
        class SpotFleet < Resource
          type 'AWS::EC2::SpotFleet'
          property :spot_fleet_request_configuration, 'SpotFleetRequestConfigData'

          # Configuration for a Spot fleet request
          def spot_fleet_request_configuration(&block)
            config = ResourceProperty::EC2SpotFleetRequestConfigData.new(self)
            config.instance_exec(&block) if block
            properties['SpotFleetRequestConfigData'].set(config)
          end
        end
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
convection-2.3.1 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.3.0 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.29 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.28.pre.beta.2 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.28.pre.beta.1 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.27 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.26 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.25 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.24 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.23 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.22 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.21 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.20 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.19 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.18 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.17 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.16 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.15 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.14 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb
convection-2.2.13 lib/convection/model/template/resource/aws_ec2_spot_fleet.rb