Class: AWSCDK::AppStream::CfnStack::AccessEndpointProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppStream::CfnStack::AccessEndpointProperty
- Defined in:
- app_stream/cfn_stack.rb
Overview
Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and WorkSpaces Applications.
When you specify an interface endpoint for a stack, users of the stack can connect to WorkSpaces Applications only through that endpoint. When you specify an interface endpoint for an image builder, administrators can connect to the image builder only through that endpoint.
Instance Attribute Summary collapse
-
#endpoint_type ⇒ String
readonly
The type of interface endpoint.
-
#vpce_id ⇒ String
readonly
The identifier (ID) of the VPC in which the interface endpoint is used.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(endpoint_type:, vpce_id:) ⇒ AccessEndpointProperty
constructor
A new instance of AccessEndpointProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(endpoint_type:, vpce_id:) ⇒ AccessEndpointProperty
Returns a new instance of AccessEndpointProperty.
710 711 712 713 714 715 |
# File 'app_stream/cfn_stack.rb', line 710 def initialize(endpoint_type:, vpce_id:) @endpoint_type = endpoint_type Jsii::Type.check_type(@endpoint_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpointType") @vpce_id = vpce_id Jsii::Type.check_type(@vpce_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpceId") end |
Instance Attribute Details
#endpoint_type ⇒ String (readonly)
The type of interface endpoint.
721 722 723 |
# File 'app_stream/cfn_stack.rb', line 721 def endpoint_type @endpoint_type end |
#vpce_id ⇒ String (readonly)
The identifier (ID) of the VPC in which the interface endpoint is used.
726 727 728 |
# File 'app_stream/cfn_stack.rb', line 726 def vpce_id @vpce_id end |
Class Method Details
.jsii_properties ⇒ Object
728 729 730 731 732 733 |
# File 'app_stream/cfn_stack.rb', line 728 def self.jsii_properties { :endpoint_type => "endpointType", :vpce_id => "vpceId", } end |
Instance Method Details
#to_jsii ⇒ Object
735 736 737 738 739 740 741 742 |
# File 'app_stream/cfn_stack.rb', line 735 def to_jsii result = {} result.merge!({ "endpointType" => @endpoint_type, "vpceId" => @vpce_id, }) result.compact end |