Class: AWSCDK::Interfaces::AWSRDS::DBProxyEndpointReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awsrds/db_proxy_endpoint_reference.rb

Overview

A reference to a DBProxyEndpoint resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db_proxy_endpoint_arn:, db_proxy_endpoint_name:) ⇒ DBProxyEndpointReference

Returns a new instance of DBProxyEndpointReference.

Parameters:

  • db_proxy_endpoint_arn (String)

    The ARN of the DBProxyEndpoint resource.

  • db_proxy_endpoint_name (String)

    The DBProxyEndpointName of the DBProxyEndpoint resource.



9
10
11
12
13
14
# File 'interfaces/awsrds/db_proxy_endpoint_reference.rb', line 9

def initialize(db_proxy_endpoint_arn:, db_proxy_endpoint_name:)
  @db_proxy_endpoint_arn = db_proxy_endpoint_arn
  Jsii::Type.check_type(@db_proxy_endpoint_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dbProxyEndpointArn")
  @db_proxy_endpoint_name = db_proxy_endpoint_name
  Jsii::Type.check_type(@db_proxy_endpoint_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dbProxyEndpointName")
end

Instance Attribute Details

#db_proxy_endpoint_arnString (readonly)

The ARN of the DBProxyEndpoint resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/awsrds/db_proxy_endpoint_reference.rb', line 19

def db_proxy_endpoint_arn
  @db_proxy_endpoint_arn
end

#db_proxy_endpoint_nameString (readonly)

The DBProxyEndpointName of the DBProxyEndpoint resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/awsrds/db_proxy_endpoint_reference.rb', line 23

def db_proxy_endpoint_name
  @db_proxy_endpoint_name
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/awsrds/db_proxy_endpoint_reference.rb', line 25

def self.jsii_properties
  {
    :db_proxy_endpoint_arn => "dbProxyEndpointArn",
    :db_proxy_endpoint_name => "dbProxyEndpointName",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/awsrds/db_proxy_endpoint_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "dbProxyEndpointArn" => @db_proxy_endpoint_arn,
    "dbProxyEndpointName" => @db_proxy_endpoint_name,
  })
  result.compact
end