Class: Convection::Model::Template::Resource::EC2Volume

Inherits:
Convection::Model::Template::Resource show all
Includes:
Mixin::Taggable
Defined in:
lib/convection/model/template/resource/aws_ec2_volume.rb

Overview

AWS::EC2::Volume

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::Resource

#exist, #name, #parent, #properties, #resource_attributes, #template

Instance Method Summary collapse

Methods included from Mixin::Taggable

#immutable_metadata, #render_tags, #tag, #tags

Methods inherited from Convection::Model::Template::Resource

#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, #property, property, #reference, type, #type, #with_output

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

attach_resource

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_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select

Constructor Details

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

Instance Method Details

#auto_enable_ioObject #auto_enable_io(value) ⇒ Object

Overloads:

  • #auto_enable_ioObject

    Returns the value of the 'AutoEnableIO' CloudFormation property.

  • #auto_enable_io(value) ⇒ Object

    Sets the 'AutoEnableIO' CloudFormation property.

    Parameters:

    • value

      the value to set the 'AutoEnableIO' CloudFormation property to.



14
# File 'lib/convection/model/template/resource/aws_ec2_volume.rb', line 14

property :auto_enable_io, 'AutoEnableIO'

#availability_zoneObject #availability_zone(value) ⇒ Object

Overloads:

  • #availability_zoneObject

    Returns the value of the 'AvailabilityZone' CloudFormation property.

  • #availability_zone(value) ⇒ Object

    Sets the 'AvailabilityZone' CloudFormation property.

    Parameters:

    • value

      the value to set the 'AvailabilityZone' CloudFormation property to.



15
# File 'lib/convection/model/template/resource/aws_ec2_volume.rb', line 15

property :availability_zone, 'AvailabilityZone'

#encryptedObject #encrypted(value) ⇒ Object

Overloads:

  • #encryptedObject

    Returns the value of the 'Encrypted' CloudFormation property.

  • #encrypted(value) ⇒ Object

    Sets the 'Encrypted' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Encrypted' CloudFormation property to.



16
# File 'lib/convection/model/template/resource/aws_ec2_volume.rb', line 16

property :encrypted, 'Encrypted'

#iopsObject #iops(value) ⇒ Object

Overloads:

  • #iopsObject

    Returns the value of the 'Iops' CloudFormation property.

  • #iops(value) ⇒ Object

    Sets the 'Iops' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Iops' CloudFormation property to.



17
# File 'lib/convection/model/template/resource/aws_ec2_volume.rb', line 17

property :iops, 'Iops'

#kms_keyObject #kms_key(value) ⇒ Object

Overloads:

  • #kms_keyObject

    Returns the value of the 'KmsKeyId' CloudFormation property.

  • #kms_key(value) ⇒ Object

    Sets the 'KmsKeyId' CloudFormation property.

    Parameters:

    • value

      the value to set the 'KmsKeyId' CloudFormation property to.



18
# File 'lib/convection/model/template/resource/aws_ec2_volume.rb', line 18

property :kms_key, 'KmsKeyId'

#render(*args) ⇒ Object



23
24
25
26
27
# File 'lib/convection/model/template/resource/aws_ec2_volume.rb', line 23

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

#sizeObject #size(value) ⇒ Object

Overloads:

  • #sizeObject

    Returns the value of the 'Size' CloudFormation property.

  • #size(value) ⇒ Object

    Sets the 'Size' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Size' CloudFormation property to.



19
# File 'lib/convection/model/template/resource/aws_ec2_volume.rb', line 19

property :size, 'Size'

#snapshotObject #snapshot(value) ⇒ Object

Overloads:

  • #snapshotObject

    Returns the value of the 'SnapshotId' CloudFormation property.

  • #snapshot(value) ⇒ Object

    Sets the 'SnapshotId' CloudFormation property.

    Parameters:

    • value

      the value to set the 'SnapshotId' CloudFormation property to.



20
# File 'lib/convection/model/template/resource/aws_ec2_volume.rb', line 20

property :snapshot, 'SnapshotId'

#volume_typeObject #volume_type(value) ⇒ Object

Overloads:

  • #volume_typeObject

    Returns the value of the 'VolumeType' CloudFormation property.

  • #volume_type(value) ⇒ Object

    Sets the 'VolumeType' CloudFormation property.

    Parameters:

    • value

      the value to set the 'VolumeType' CloudFormation property to.



21
# File 'lib/convection/model/template/resource/aws_ec2_volume.rb', line 21

property :volume_type, 'VolumeType'