Class: AWSCDK::Interfaces::AWSElasticache::ParameterGroupReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSElasticache::ParameterGroupReference
- Defined in:
- interfaces/aws_elasticache/parameter_group_reference.rb
Overview
A reference to a ParameterGroup resource.
Instance Attribute Summary collapse
-
#cache_parameter_group_name ⇒ String
readonly
The CacheParameterGroupName of the ParameterGroup resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cache_parameter_group_name:) ⇒ ParameterGroupReference
constructor
A new instance of ParameterGroupReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cache_parameter_group_name:) ⇒ ParameterGroupReference
Returns a new instance of ParameterGroupReference.
8 9 10 11 |
# File 'interfaces/aws_elasticache/parameter_group_reference.rb', line 8 def initialize(cache_parameter_group_name:) @cache_parameter_group_name = cache_parameter_group_name Jsii::Type.check_type(@cache_parameter_group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cacheParameterGroupName") end |
Instance Attribute Details
#cache_parameter_group_name ⇒ String (readonly)
The CacheParameterGroupName of the ParameterGroup resource.
16 17 18 |
# File 'interfaces/aws_elasticache/parameter_group_reference.rb', line 16 def cache_parameter_group_name @cache_parameter_group_name end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_elasticache/parameter_group_reference.rb', line 18 def self.jsii_properties { :cache_parameter_group_name => "cacheParameterGroupName", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_elasticache/parameter_group_reference.rb', line 24 def to_jsii result = {} result.merge!({ "cacheParameterGroupName" => @cache_parameter_group_name, }) result.compact end |