Sha256: 433153fa7e4d22c3d90e001ab6d4b8828ff55f443c58d1389640111dedd99f14

Contents?: true

Size: 1.24 KB

Versions: 43

Compression:

Stored size: 1.24 KB

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::AutoScaling::LaunchConfiguration
        ##
        class LaunchConfiguration < Resource
          type 'AWS::AutoScaling::LaunchConfiguration'
          property :associate_public_ip_address, 'AssociatePublicIpAddress'
          property :block_device_mappings, 'BlockDeviceMappings', :array
          property :ebs_optimized, 'EbsOptimized'
          property :iam_instanceProfile, 'IamInstanceProfile'
          property :image_id, 'ImageId'
          property :instance_id, 'InstanceId'
          property :instance_monitoring, 'InstanceMonitoring'
          property :instance_type, 'InstanceType'
          property :kernel_id, 'KernelId'
          property :key_name, 'KeyName'
          property :ram_diskId, 'RamDiskId'
          property :security_group, 'SecurityGroups', :array
          property :spot_price, 'SpotPrice'
          property :user_data, 'UserData'

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

Version data entries

43 entries across 43 versions & 1 rubygems

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