Class: AWSCDK::Interfaces::AWSDAX::SubnetGroupReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awsdax/subnet_group_reference.rb

Overview

A reference to a SubnetGroup resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subnet_group_name:) ⇒ SubnetGroupReference

Returns a new instance of SubnetGroupReference.

Parameters:

  • subnet_group_name (String)

    The SubnetGroupName of the SubnetGroup resource.



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_nameString (readonly)

The SubnetGroupName of the SubnetGroup resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/awsdax/subnet_group_reference.rb', line 16

def subnet_group_name
  @subnet_group_name
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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