Class: AWSCDK::Interfaces::AWSRedshift::EndpointAuthorizationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSRedshift::EndpointAuthorizationReference
- Defined in:
- interfaces/aws_redshift/endpoint_authorization_reference.rb
Overview
A reference to a EndpointAuthorization resource.
Instance Attribute Summary collapse
-
#account ⇒ String
readonly
The Account of the EndpointAuthorization resource.
-
#cluster_identifier ⇒ String
readonly
The ClusterIdentifier of the EndpointAuthorization resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account:, cluster_identifier:) ⇒ EndpointAuthorizationReference
constructor
A new instance of EndpointAuthorizationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(account:, cluster_identifier:) ⇒ EndpointAuthorizationReference
Returns a new instance of EndpointAuthorizationReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_redshift/endpoint_authorization_reference.rb', line 9 def initialize(account:, cluster_identifier:) @account = account Jsii::Type.check_type(@account, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "account") @cluster_identifier = cluster_identifier Jsii::Type.check_type(@cluster_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterIdentifier") end |
Instance Attribute Details
#account ⇒ String (readonly)
The Account of the EndpointAuthorization resource.
19 20 21 |
# File 'interfaces/aws_redshift/endpoint_authorization_reference.rb', line 19 def account @account end |
#cluster_identifier ⇒ String (readonly)
The ClusterIdentifier of the EndpointAuthorization resource.
23 24 25 |
# File 'interfaces/aws_redshift/endpoint_authorization_reference.rb', line 23 def cluster_identifier @cluster_identifier end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_redshift/endpoint_authorization_reference.rb', line 25 def self.jsii_properties { :account => "account", :cluster_identifier => "clusterIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_redshift/endpoint_authorization_reference.rb', line 32 def to_jsii result = {} result.merge!({ "account" => @account, "clusterIdentifier" => @cluster_identifier, }) result.compact end |