Class: AWSCDK::Interfaces::AWSRDS::DBProxyEndpointReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSRDS::DBProxyEndpointReference
- Defined in:
- interfaces/awsrds/db_proxy_endpoint_reference.rb
Overview
A reference to a DBProxyEndpoint resource.
Instance Attribute Summary collapse
-
#db_proxy_endpoint_arn ⇒ String
readonly
The ARN of the DBProxyEndpoint resource.
-
#db_proxy_endpoint_name ⇒ String
readonly
The DBProxyEndpointName of the DBProxyEndpoint resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(db_proxy_endpoint_arn:, db_proxy_endpoint_name:) ⇒ DBProxyEndpointReference
constructor
A new instance of DBProxyEndpointReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(db_proxy_endpoint_arn:, db_proxy_endpoint_name:) ⇒ DBProxyEndpointReference
Returns a new instance of DBProxyEndpointReference.
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_arn ⇒ String (readonly)
The ARN of the DBProxyEndpoint resource.
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_name ⇒ String (readonly)
The DBProxyEndpointName of the DBProxyEndpoint resource.
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_properties ⇒ Object
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_jsii ⇒ Object
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 |