Class: AWSCDK::AppStream::CfnAppBlockBuilder::AccessEndpointProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_stream/cfn_app_block_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 AppStream 2.0. When you specify an interface endpoint for a stack, users of the stack can connect to AppStream 2.0 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.



683
684
685
686
687
688
# File 'app_stream/cfn_app_block_builder.rb', line 683

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.



694
695
696
# File 'app_stream/cfn_app_block_builder.rb', line 694

def endpoint_type
  @endpoint_type
end

#vpce_idString (readonly)

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



699
700
701
# File 'app_stream/cfn_app_block_builder.rb', line 699

def vpce_id
  @vpce_id
end

Class Method Details

.jsii_propertiesObject



701
702
703
704
705
706
# File 'app_stream/cfn_app_block_builder.rb', line 701

def self.jsii_properties
  {
    :endpoint_type => "endpointType",
    :vpce_id => "vpceId",
  }
end

Instance Method Details

#to_jsiiObject



708
709
710
711
712
713
714
715
# File 'app_stream/cfn_app_block_builder.rb', line 708

def to_jsii
  result = {}
  result.merge!({
    "endpointType" => @endpoint_type,
    "vpceId" => @vpce_id,
  })
  result.compact
end