Class: AWSCDK::AppStream::CfnImageBuilder::AccessEndpointProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppStream::CfnImageBuilder::AccessEndpointProperty
- Defined in:
- app_stream/cfn_image_builder.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.
729 730 731 732 733 734 |
# File 'app_stream/cfn_image_builder.rb', line 729 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.
740 741 742 |
# File 'app_stream/cfn_image_builder.rb', line 740 def endpoint_type @endpoint_type end |
#vpce_id ⇒ String (readonly)
The identifier (ID) of the VPC in which the interface endpoint is used.
745 746 747 |
# File 'app_stream/cfn_image_builder.rb', line 745 def vpce_id @vpce_id end |
Class Method Details
.jsii_properties ⇒ Object
747 748 749 750 751 752 |
# File 'app_stream/cfn_image_builder.rb', line 747 def self.jsii_properties { :endpoint_type => "endpointType", :vpce_id => "vpceId", } end |
Instance Method Details
#to_jsii ⇒ Object
754 755 756 757 758 759 760 761 |
# File 'app_stream/cfn_image_builder.rb', line 754 def to_jsii result = {} result.merge!({ "endpointType" => @endpoint_type, "vpceId" => @vpce_id, }) result.compact end |