Class: AWSCDK::RDS::DatabaseProxyEndpointAttributes
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RDS::DatabaseProxyEndpointAttributes
- Defined in:
- rds/database_proxy_endpoint_attributes.rb
Overview
Properties that describe an existing DB Proxy Endpoint.
Instance Attribute Summary collapse
-
#db_proxy_endpoint_arn ⇒ String
readonly
DB Proxy Endpoint ARN.
-
#db_proxy_endpoint_name ⇒ String
readonly
DB Proxy Endpoint Name.
-
#endpoint ⇒ String
readonly
The endpoint that you can use to connect to the DB proxy.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(db_proxy_endpoint_arn:, db_proxy_endpoint_name:, endpoint:) ⇒ DatabaseProxyEndpointAttributes
constructor
A new instance of DatabaseProxyEndpointAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(db_proxy_endpoint_arn:, db_proxy_endpoint_name:, endpoint:) ⇒ DatabaseProxyEndpointAttributes
Returns a new instance of DatabaseProxyEndpointAttributes.
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_arn ⇒ String (readonly)
DB Proxy Endpoint ARN.
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_name ⇒ String (readonly)
DB Proxy Endpoint Name.
26 27 28 |
# File 'rds/database_proxy_endpoint_attributes.rb', line 26 def db_proxy_endpoint_name @db_proxy_endpoint_name end |
#endpoint ⇒ String (readonly)
The endpoint that you can use to connect to the DB proxy.
30 31 32 |
# File 'rds/database_proxy_endpoint_attributes.rb', line 30 def endpoint @endpoint end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |