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_storage ⇒ Object #allocated_storage(value) ⇒ Object

Overloads:

  • #allocated_storage ⇒ Object

    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_upgrade ⇒ Object #allow_major_version_upgrade(value) ⇒ Object

Overloads:

  • #allow_major_version_upgrade ⇒ Object

    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_upgrade ⇒ Object #auto_minor_version_upgrade(value) ⇒ Object

Overloads:

  • #auto_minor_version_upgrade ⇒ Object

    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_zone ⇒ Object #availability_zone(value) ⇒ Object

Overloads:

  • #availability_zone ⇒ Object

    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_period ⇒ Object #backup_retention_period(value) ⇒ Object

Overloads:

  • #backup_retention_period ⇒ Object

    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_name ⇒ Object #database_name(value) ⇒ Object

Overloads:

  • #database_name ⇒ Object

    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'

#engine ⇒ Object #engine(value) ⇒ Object

Overloads:

  • #engine ⇒ Object

    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_version ⇒ Object #engine_version(value) ⇒ Object

Overloads:

  • #engine_version ⇒ Object

    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'

#identifier ⇒ Object #identifier(value) ⇒ Object

Overloads:

  • #identifier ⇒ Object

    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_class ⇒ Object #instance_class(value) ⇒ Object

Overloads:

  • #instance_class ⇒ Object

    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'

#iops ⇒ Object #iops(value) ⇒ Object

Overloads:

  • #iops ⇒ Object

    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_id ⇒ Object #kms_key_id(value) ⇒ Object

Overloads:

  • #kms_key_id ⇒ Object

    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_model ⇒ Object #license_model(value) ⇒ Object

Overloads:

  • #license_model ⇒ Object

    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'

#master ⇒ Object #master(value) ⇒ Object

Overloads:

  • #master ⇒ Object

    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_password ⇒ Object #master_password(value) ⇒ Object

Overloads:

  • #master_password ⇒ Object

    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_username ⇒ Object #master_username(value) ⇒ Object

Overloads:

  • #master_username ⇒ Object

    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_az ⇒ Object #multi_az(value) ⇒ Object

Overloads:

  • #multi_az ⇒ Object

    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_group ⇒ Object #option_group(value) ⇒ Object

Overloads:

  • #option_group ⇒ Object

    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_group ⇒ Object #parameter_group(value) ⇒ Object

Overloads:

  • #parameter_group ⇒ Object

    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'

#port ⇒ Object #port(value) ⇒ Object

Overloads:

  • #port ⇒ Object

    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_window ⇒ Object #preferred_backup_window(value) ⇒ Object

Overloads:

  • #preferred_backup_window ⇒ Object

    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_window ⇒ Object #preferred_maintenance_window(value) ⇒ Object

Overloads:

  • #preferred_maintenance_window ⇒ Object

    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_accessible ⇒ Object #publicly_accessible(value) ⇒ Object

Overloads:

  • #publicly_accessible ⇒ Object

    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_group ⇒ Object #security_group(value) ⇒ Object

Overloads:

  • #security_group ⇒ Object

    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_identifier ⇒ Object #snapshot_identifier(value) ⇒ Object

Overloads:

  • #snapshot_identifier ⇒ Object

    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_identifier ⇒ Object #source_identifier(value) ⇒ Object

Overloads:

  • #source_identifier ⇒ Object

    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_encrypted ⇒ Object #storage_encrypted(value) ⇒ Object

Overloads:

  • #storage_encrypted ⇒ Object

    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_type ⇒ Object #storage_type(value) ⇒ Object

Overloads:

  • #storage_type ⇒ Object

    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_group ⇒ Object #subnet_group(value) ⇒ Object

Overloads:

  • #subnet_group ⇒ Object

    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_group ⇒ Object #vpc_security_group(value) ⇒ Object

Overloads:

  • #vpc_security_group ⇒ Object

    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