Class: TerraformDSL::AWS::RDS::ParameterGroup
- Inherits:
-
TerraformDSL::AWS::Resource
- Object
- TerraformDSL::AWS::Resource
- TerraformDSL::AWS::RDS::ParameterGroup
- Defined in:
- lib/terraformdsl/aws.rb
Instance Attribute Summary collapse
-
#family ⇒ Object
readonly
Returns the value of attribute family.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
Attributes inherited from TerraformDSL::AWS::Resource
Instance Method Summary collapse
- #attr(attr) ⇒ Object
-
#initialize(name, family, parameters = {}) ⇒ ParameterGroup
constructor
A new instance of ParameterGroup.
Methods inherited from TerraformDSL::AWS::Resource
Constructor Details
#initialize(name, family, parameters = {}) ⇒ ParameterGroup
Returns a new instance of ParameterGroup.
351 352 353 354 355 |
# File 'lib/terraformdsl/aws.rb', line 351 def initialize(name, family, parameters={}) @name = name @family = family @parameters = parameters end |
Instance Attribute Details
#family ⇒ Object (readonly)
Returns the value of attribute family.
356 357 358 |
# File 'lib/terraformdsl/aws.rb', line 356 def family @family end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
356 357 358 |
# File 'lib/terraformdsl/aws.rb', line 356 def name @name end |
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
356 357 358 |
# File 'lib/terraformdsl/aws.rb', line 356 def parameters @parameters end |
Instance Method Details
#attr(attr) ⇒ Object
358 |
# File 'lib/terraformdsl/aws.rb', line 358 def attr(attr); "${aws_db_parameter_group.#{@name}.#{attr}}"; end |