Class: AWSCDK::RDS::DatabaseProxyEndpointAttributes

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
rds/database_proxy_endpoint_attributes.rb

Overview

Properties that describe an existing DB Proxy Endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db_proxy_endpoint_arn:, db_proxy_endpoint_name:, endpoint:) ⇒ DatabaseProxyEndpointAttributes

Returns a new instance of DatabaseProxyEndpointAttributes.

Parameters:

  • db_proxy_endpoint_arn (String)

    DB Proxy Endpoint ARN.

  • db_proxy_endpoint_name (String)

    DB Proxy Endpoint Name.

  • endpoint (String)

    The endpoint that you can use to connect to the DB proxy.



10
11
12
13
14
15
16
17
# File 'rds/database_proxy_endpoint_attributes.rb', line 10

def initialize(db_proxy_endpoint_arn:, db_proxy_endpoint_name:, endpoint:)
  @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")
  @endpoint = endpoint
  Jsii::Type.check_type(@endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpoint")
end

Instance Attribute Details

#db_proxy_endpoint_arnString (readonly)

DB Proxy Endpoint ARN.

Returns:

  • (String)


22
23
24
# File 'rds/database_proxy_endpoint_attributes.rb', line 22

def db_proxy_endpoint_arn
  @db_proxy_endpoint_arn
end

#db_proxy_endpoint_nameString (readonly)

DB Proxy Endpoint Name.

Returns:

  • (String)


26
27
28
# File 'rds/database_proxy_endpoint_attributes.rb', line 26

def db_proxy_endpoint_name
  @db_proxy_endpoint_name
end

#endpointString (readonly)

The endpoint that you can use to connect to the DB proxy.

Returns:

  • (String)


30
31
32
# File 'rds/database_proxy_endpoint_attributes.rb', line 30

def endpoint
  @endpoint
end

Class Method Details

.jsii_propertiesObject



32
33
34
35
36
37
38
# File 'rds/database_proxy_endpoint_attributes.rb', line 32

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

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
48
# File 'rds/database_proxy_endpoint_attributes.rb', line 40

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