Class: AWSCDK::Interfaces::AWSMSK::VPCConnectionReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSMSK::VPCConnectionReference
- Defined in:
- interfaces/awsmsk/vpc_connection_reference.rb
Overview
A reference to a VpcConnection resource.
Instance Attribute Summary collapse
-
#vpc_connection_arn ⇒ String
readonly
The Arn of the VpcConnection resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(vpc_connection_arn:) ⇒ VPCConnectionReference
constructor
A new instance of VPCConnectionReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(vpc_connection_arn:) ⇒ VPCConnectionReference
Returns a new instance of VPCConnectionReference.
8 9 10 11 |
# File 'interfaces/awsmsk/vpc_connection_reference.rb', line 8 def initialize(vpc_connection_arn:) @vpc_connection_arn = vpc_connection_arn Jsii::Type.check_type(@vpc_connection_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcConnectionArn") end |
Instance Attribute Details
#vpc_connection_arn ⇒ String (readonly)
The Arn of the VpcConnection resource.
16 17 18 |
# File 'interfaces/awsmsk/vpc_connection_reference.rb', line 16 def vpc_connection_arn @vpc_connection_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsmsk/vpc_connection_reference.rb', line 18 def self.jsii_properties { :vpc_connection_arn => "vpcConnectionArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsmsk/vpc_connection_reference.rb', line 24 def to_jsii result = {} result.merge!({ "vpcConnectionArn" => @vpc_connection_arn, }) result.compact end |