Class: AWSCDK::AppStream::CfnStack::AccessEndpointProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_type:, vpce_id:) ⇒ AccessEndpointProperty

Returns a new instance of AccessEndpointProperty.

Parameters:

  • endpoint_type (String)

    The type of interface endpoint.

  • vpce_id (String)

    The identifier (ID) of the VPC in which the interface endpoint is used.



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_typeString (readonly)

The type of interface endpoint.



721
722
723
# File 'app_stream/cfn_stack.rb', line 721

def endpoint_type
  @endpoint_type
end

#vpce_idString (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_propertiesObject



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_jsiiObject



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