Sha256: 51a288e4d82a3418f8f82b9acdf6cadf6f2fee8ce343c48d0f40823a41cf146b

Contents?: true

Size: 783 Bytes

Versions: 85

Compression:

Stored size: 783 Bytes

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::EC2::Volume
        ##
        class EC2Volume < Resource
          include Model::Mixin::Taggable

          type 'AWS::EC2::Volume'
          property :auto_enable_io, 'AutoEnableIO'
          property :availability_zone, 'AvailabilityZone'
          property :encrypted, 'Encrypted'
          property :iops, 'Iops'
          property :kms_key, 'KmsKeyId'
          property :size, 'Size'
          property :snapshot, 'SnapshotId'
          property :volume_type, 'VolumeType'

          def render(*args)
            super.tap do |resource|
              render_tags(resource)
            end
          end
        end
      end
    end
  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

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