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