Class: Convection::Model::Template::Resource::RDSDBInstance

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

Overview

AWS::RDS::DBInstance

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

#allocated_storageObject #allocated_storage(value) ⇒ Object

Overloads:

  • #allocated_storageObject

    Returns the value of the 'AllocatedStorage' CloudFormation property.

  • #allocated_storage(value) ⇒ Object

    Sets the 'AllocatedStorage' CloudFormation property.

    Parameters:

    • value

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



35
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 35

property :allocated_storage, 'AllocatedStorage'

#allow_major_version_upgradeObject #allow_major_version_upgrade(value) ⇒ Object

Overloads:

  • #allow_major_version_upgradeObject

    Returns the value of the 'AllowMajorVersionUpgrade' CloudFormation property.

  • #allow_major_version_upgrade(value) ⇒ Object

    Sets the 'AllowMajorVersionUpgrade' CloudFormation property.

    Parameters:

    • value

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



36
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 36

property :allow_major_version_upgrade, 'AllowMajorVersionUpgrade'

#auto_minor_version_upgradeObject #auto_minor_version_upgrade(value) ⇒ Object

Overloads:

  • #auto_minor_version_upgradeObject

    Returns the value of the 'AutoMinorVersionUpgrade' CloudFormation property.

  • #auto_minor_version_upgrade(value) ⇒ Object

    Sets the 'AutoMinorVersionUpgrade' CloudFormation property.

    Parameters:

    • value

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



37
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 37

property :auto_minor_version_upgrade, 'AutoMinorVersionUpgrade'

#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.



43
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 43

property :availability_zone, 'AvailabilityZone'

#backup_retention_periodObject #backup_retention_period(value) ⇒ Object

Overloads:

  • #backup_retention_periodObject

    Returns the value of the 'BackupRetentionPeriod' CloudFormation property.

  • #backup_retention_period(value) ⇒ Object

    Sets the 'BackupRetentionPeriod' CloudFormation property.

    Parameters:

    • value

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



39
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 39

property :backup_retention_period, 'BackupRetentionPeriod'

#database_nameObject #database_name(value) ⇒ Object

Overloads:

  • #database_nameObject

    Returns the value of the 'DBName' CloudFormation property.

  • #database_name(value) ⇒ Object

    Sets the 'DBName' CloudFormation property.

    Parameters:

    • value

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



26
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 26

property :database_name, 'DBName'

#engineObject #engine(value) ⇒ Object

Overloads:

  • #engineObject

    Returns the value of the 'Engine' CloudFormation property.

  • #engine(value) ⇒ Object

    Sets the 'Engine' CloudFormation property.

    Parameters:

    • value

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



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

property :engine, 'Engine'

#engine_versionObject #engine_version(value) ⇒ Object

Overloads:

  • #engine_versionObject

    Returns the value of the 'EngineVersion' CloudFormation property.

  • #engine_version(value) ⇒ Object

    Sets the 'EngineVersion' CloudFormation property.

    Parameters:

    • value

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



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

property :engine_version, 'EngineVersion'

#identifierObject #identifier(value) ⇒ Object

Overloads:

  • #identifierObject

    Returns the value of the 'DBInstanceIdentifier' CloudFormation property.

  • #identifier(value) ⇒ Object

    Sets the 'DBInstanceIdentifier' CloudFormation property.

    Parameters:

    • value

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



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

property :identifier, 'DBInstanceIdentifier'

#instance_classObject #instance_class(value) ⇒ Object

Overloads:

  • #instance_classObject

    Returns the value of the 'DBInstanceClass' CloudFormation property.

  • #instance_class(value) ⇒ Object

    Sets the 'DBInstanceClass' CloudFormation property.

    Parameters:

    • value

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



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

property :instance_class, 'DBInstanceClass'

#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.



22
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 22

property :iops, 'Iops'

#kms_key_idObject #kms_key_id(value) ⇒ Object

Overloads:

  • #kms_key_idObject

    Returns the value of the 'KmsKeyId' CloudFormation property.

  • #kms_key_id(value) ⇒ Object

    Sets the 'KmsKeyId' CloudFormation property.

    Parameters:

    • value

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



34
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 34

property :kms_key_id, 'KmsKeyId'

#license_modelObject #license_model(value) ⇒ Object

Overloads:

  • #license_modelObject

    Returns the value of the 'LicenseModel' CloudFormation property.

  • #license_model(value) ⇒ Object

    Sets the 'LicenseModel' CloudFormation property.

    Parameters:

    • value

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



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

property :license_model, 'LicenseModel'

#masterObject #master(value) ⇒ Object

Overloads:

  • #masterObject

    Returns the value of the 'SourceDBInstanceIdentifier' CloudFormation property.

  • #master(value) ⇒ Object

    Sets the 'SourceDBInstanceIdentifier' CloudFormation property.

    Parameters:

    • value

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



24
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 24

property :master, 'SourceDBInstanceIdentifier'

#master_passwordObject #master_password(value) ⇒ Object

Overloads:

  • #master_passwordObject

    Returns the value of the 'MasterUserPassword' CloudFormation property.

  • #master_password(value) ⇒ Object

    Sets the 'MasterUserPassword' CloudFormation property.

    Parameters:

    • value

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



28
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 28

property :master_password, 'MasterUserPassword'

#master_usernameObject #master_username(value) ⇒ Object

Overloads:

  • #master_usernameObject

    Returns the value of the 'MasterUsername' CloudFormation property.

  • #master_username(value) ⇒ Object

    Sets the 'MasterUsername' CloudFormation property.

    Parameters:

    • value

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



27
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 27

property :master_username, 'MasterUsername'

#multi_azObject #multi_az(value) ⇒ Object

Overloads:

  • #multi_azObject

    Returns the value of the 'MultiAZ' CloudFormation property.

  • #multi_az(value) ⇒ Object

    Sets the 'MultiAZ' CloudFormation property.

    Parameters:

    • value

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



44
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 44

property :multi_az, 'MultiAZ'

#option_groupObject #option_group(value) ⇒ Object

Overloads:

  • #option_groupObject

    Returns the value of the 'OptionGroupName' CloudFormation property.

  • #option_group(value) ⇒ Object

    Sets the 'OptionGroupName' CloudFormation property.

    Parameters:

    • value

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



31
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 31

property :option_group, 'OptionGroupName'

#parameter_groupObject #parameter_group(value) ⇒ Object

Overloads:

  • #parameter_groupObject

    Returns the value of the 'DBParameterGroupName' CloudFormation property.

  • #parameter_group(value) ⇒ Object

    Sets the 'DBParameterGroupName' CloudFormation property.

    Parameters:

    • value

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



30
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 30

property :parameter_group, 'DBParameterGroupName'

#portObject #port(value) ⇒ Object

Overloads:

  • #portObject

    Returns the value of the 'Port' CloudFormation property.

  • #port(value) ⇒ Object

    Sets the 'Port' CloudFormation property.

    Parameters:

    • value

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



23
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 23

property :port, 'Port'

#preferred_backup_windowObject #preferred_backup_window(value) ⇒ Object

Overloads:

  • #preferred_backup_windowObject

    Returns the value of the 'PreferredBackupWindow' CloudFormation property.

  • #preferred_backup_window(value) ⇒ Object

    Sets the 'PreferredBackupWindow' CloudFormation property.

    Parameters:

    • value

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



40
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 40

property :preferred_backup_window, 'PreferredBackupWindow'

#preferred_maintenance_windowObject #preferred_maintenance_window(value) ⇒ Object

Overloads:

  • #preferred_maintenance_windowObject

    Returns the value of the 'PreferredMaintenanceWindow' CloudFormation property.

  • #preferred_maintenance_window(value) ⇒ Object

    Sets the 'PreferredMaintenanceWindow' CloudFormation property.

    Parameters:

    • value

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



41
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 41

property :preferred_maintenance_window, 'PreferredMaintenanceWindow'

#publicly_accessibleObject #publicly_accessible(value) ⇒ Object

Overloads:

  • #publicly_accessibleObject

    Returns the value of the 'PubliclyAccessible' CloudFormation property.

  • #publicly_accessible(value) ⇒ Object

    Sets the 'PubliclyAccessible' CloudFormation property.

    Parameters:

    • value

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



45
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 45

property :publicly_accessible, 'PubliclyAccessible'

#render(*args) ⇒ Object



50
51
52
53
54
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 50

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

#security_groupObject #security_group(value) ⇒ Object

Overloads:

  • #security_groupObject

    Returns the value of the 'DBSecurityGroups' CloudFormation property.

  • #security_group(value) ⇒ Object

    Sets the 'DBSecurityGroups' CloudFormation property.

    Parameters:

    • value

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



47
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 47

property :security_group, 'DBSecurityGroups', :type => :list

#snapshot_identifierObject #snapshot_identifier(value) ⇒ Object

Overloads:

  • #snapshot_identifierObject

    Returns the value of the 'DBSnapshotIdentifier' CloudFormation property.

  • #snapshot_identifier(value) ⇒ Object

    Sets the 'DBSnapshotIdentifier' CloudFormation property.

    Parameters:

    • value

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



38
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 38

property :snapshot_identifier, 'DBSnapshotIdentifier'

#source_identifierObject #source_identifier(value) ⇒ Object

Overloads:

  • #source_identifierObject

    Returns the value of the 'SourceDBInstanceIdentifier' CloudFormation property.

  • #source_identifier(value) ⇒ Object

    Sets the 'SourceDBInstanceIdentifier' CloudFormation property.

    Parameters:

    • value

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



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

property :source_identifier, 'SourceDBInstanceIdentifier'

#storage_encryptedObject #storage_encrypted(value) ⇒ Object

Overloads:

  • #storage_encryptedObject

    Returns the value of the 'StorageEncrypted' CloudFormation property.

  • #storage_encrypted(value) ⇒ Object

    Sets the 'StorageEncrypted' CloudFormation property.

    Parameters:

    • value

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



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

property :storage_encrypted, 'StorageEncrypted'

#storage_typeObject #storage_type(value) ⇒ Object

Overloads:

  • #storage_typeObject

    Returns the value of the 'StorageType' CloudFormation property.

  • #storage_type(value) ⇒ Object

    Sets the 'StorageType' CloudFormation property.

    Parameters:

    • value

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



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

property :storage_type, 'StorageType'

#subnet_groupObject #subnet_group(value) ⇒ Object

Overloads:

  • #subnet_groupObject

    Returns the value of the 'DBSubnetGroupName' CloudFormation property.

  • #subnet_group(value) ⇒ Object

    Sets the 'DBSubnetGroupName' CloudFormation property.

    Parameters:

    • value

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



46
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 46

property :subnet_group, 'DBSubnetGroupName'

#vpc_security_groupObject #vpc_security_group(value) ⇒ Object

Overloads:

  • #vpc_security_groupObject

    Returns the value of the 'VPCSecurityGroups' CloudFormation property.

  • #vpc_security_group(value) ⇒ Object

    Sets the 'VPCSecurityGroups' CloudFormation property.

    Parameters:

    • value

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



48
# File 'lib/convection/model/template/resource/aws_rds_db_instance.rb', line 48

property :vpc_security_group, 'VPCSecurityGroups', :type => :list