Class: AWSCDK::Interfaces::AWSRedshift::EndpointAuthorizationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_redshift/endpoint_authorization_reference.rb

Overview

A reference to a EndpointAuthorization resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account:, cluster_identifier:) ⇒ EndpointAuthorizationReference

Returns a new instance of EndpointAuthorizationReference.

Parameters:

  • account (String)

    The Account of the EndpointAuthorization resource.

  • cluster_identifier (String)

    The ClusterIdentifier of the EndpointAuthorization resource.



9
10
11
12
13
14
# File 'interfaces/aws_redshift/endpoint_authorization_reference.rb', line 9

def initialize(account:, cluster_identifier:)
  @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

#accountString (readonly)

The Account of the EndpointAuthorization resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_redshift/endpoint_authorization_reference.rb', line 19

def 
  @account
end

#cluster_identifierString (readonly)

The ClusterIdentifier of the EndpointAuthorization resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_redshift/endpoint_authorization_reference.rb', line 23

def cluster_identifier
  @cluster_identifier
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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