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