Class: AWSCDK::Interfaces::AWSDSQL::ClusterReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awsdsql/cluster_reference.rb

Overview

A reference to a Cluster resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(identifier:) ⇒ ClusterReference

Returns a new instance of ClusterReference.

Parameters:

  • identifier (String)

    The Identifier of the Cluster resource.



8
9
10
11
# File 'interfaces/awsdsql/cluster_reference.rb', line 8

def initialize(identifier:)
  @identifier = identifier
  Jsii::Type.check_type(@identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identifier")
end

Instance Attribute Details

#identifierString (readonly)

The Identifier of the Cluster resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/awsdsql/cluster_reference.rb', line 16

def identifier
  @identifier
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/awsdsql/cluster_reference.rb', line 18

def self.jsii_properties
  {
    :identifier => "identifier",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/awsdsql/cluster_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "identifier" => @identifier,
  })
  result.compact
end