Class: AWSCDK::Interfaces::AWSMemorydb::ParameterGroupReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSMemorydb::ParameterGroupReference
- Defined in:
- interfaces/aws_memorydb/parameter_group_reference.rb
Overview
A reference to a ParameterGroup resource.
Instance Attribute Summary collapse
-
#parameter_group_arn ⇒ String
readonly
The ARN of the ParameterGroup resource.
-
#parameter_group_name ⇒ String
readonly
The ParameterGroupName of the ParameterGroup resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parameter_group_arn:, parameter_group_name:) ⇒ ParameterGroupReference
constructor
A new instance of ParameterGroupReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(parameter_group_arn:, parameter_group_name:) ⇒ ParameterGroupReference
Returns a new instance of ParameterGroupReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_memorydb/parameter_group_reference.rb', line 9 def initialize(parameter_group_arn:, parameter_group_name:) @parameter_group_arn = parameter_group_arn Jsii::Type.check_type(@parameter_group_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterGroupArn") @parameter_group_name = parameter_group_name Jsii::Type.check_type(@parameter_group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterGroupName") end |
Instance Attribute Details
#parameter_group_arn ⇒ String (readonly)
The ARN of the ParameterGroup resource.
19 20 21 |
# File 'interfaces/aws_memorydb/parameter_group_reference.rb', line 19 def parameter_group_arn @parameter_group_arn end |
#parameter_group_name ⇒ String (readonly)
The ParameterGroupName of the ParameterGroup resource.
23 24 25 |
# File 'interfaces/aws_memorydb/parameter_group_reference.rb', line 23 def parameter_group_name @parameter_group_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_memorydb/parameter_group_reference.rb', line 25 def self.jsii_properties { :parameter_group_arn => "parameterGroupArn", :parameter_group_name => "parameterGroupName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_memorydb/parameter_group_reference.rb', line 32 def to_jsii result = {} result.merge!({ "parameterGroupArn" => @parameter_group_arn, "parameterGroupName" => @parameter_group_name, }) result.compact end |