Class: AWSCDK::AppStream::CfnImageBuilder::AccessEndpointProperty

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

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.



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_typeString (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_idString (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_propertiesObject



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_jsiiObject



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