Class: AWSCDK::Interfaces::AWSQuicksight::VPCConnectionReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_quicksight/vpc_connection_reference.rb

Overview

A reference to a VPCConnection resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aws_account_id:, vpc_connection_arn:, vpc_connection_id:) ⇒ VPCConnectionReference

Returns a new instance of VPCConnectionReference.

Parameters:

  • aws_account_id (String)

    The AwsAccountId of the VPCConnection resource.

  • vpc_connection_arn (String)

    The ARN of the VPCConnection resource.

  • vpc_connection_id (String)

    The VPCConnectionId of the VPCConnection resource.



10
11
12
13
14
15
16
17
# File 'interfaces/aws_quicksight/vpc_connection_reference.rb', line 10

def initialize(aws_account_id:, vpc_connection_arn:, vpc_connection_id:)
  @aws_account_id = 
  Jsii::Type.check_type(@aws_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsAccountId")
  @vpc_connection_arn = vpc_connection_arn
  Jsii::Type.check_type(@vpc_connection_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcConnectionArn")
  @vpc_connection_id = vpc_connection_id
  Jsii::Type.check_type(@vpc_connection_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcConnectionId")
end

Instance Attribute Details

#aws_account_idString (readonly)

The AwsAccountId of the VPCConnection resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_quicksight/vpc_connection_reference.rb', line 22

def 
  @aws_account_id
end

#vpc_connection_arnString (readonly)

The ARN of the VPCConnection resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_quicksight/vpc_connection_reference.rb', line 26

def vpc_connection_arn
  @vpc_connection_arn
end

#vpc_connection_idString (readonly)

The VPCConnectionId of the VPCConnection resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_quicksight/vpc_connection_reference.rb', line 30

def vpc_connection_id
  @vpc_connection_id
end

Class Method Details

.jsii_propertiesObject



32
33
34
35
36
37
38
# File 'interfaces/aws_quicksight/vpc_connection_reference.rb', line 32

def self.jsii_properties
  {
    :aws_account_id => "awsAccountId",
    :vpc_connection_arn => "vpcConnectionArn",
    :vpc_connection_id => "vpcConnectionId",
  }
end

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
48
# File 'interfaces/aws_quicksight/vpc_connection_reference.rb', line 40

def to_jsii
  result = {}
  result.merge!({
    "awsAccountId" => @aws_account_id,
    "vpcConnectionArn" => @vpc_connection_arn,
    "vpcConnectionId" => @vpc_connection_id,
  })
  result.compact
end