Skip to content
v2.277.0

AccessEndpointProperty Struct ​

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.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const accessEndpointProperty: appstream.CfnStack.AccessEndpointProperty = {
  endpointType: 'endpointType',
  vpceId: 'vpceId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appstream as appstream

access_endpoint_property = appstream.CfnStack.AccessEndpointProperty(
    endpoint_type="endpointType",
    vpce_id="vpceId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appstream.*;

AccessEndpointProperty accessEndpointProperty = AccessEndpointProperty.builder()
        .endpointType("endpointType")
        .vpceId("vpceId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;

var accessEndpointProperty = new AccessEndpointProperty {
    EndpointType = "endpointType",
    VpceId = "vpceId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

accessEndpointProperty := &AccessEndpointProperty{
	EndpointType: jsii.String("endpointType"),
	VpceId: jsii.String("vpceId"),
}

Properties ​

endpointTypestringendpoint_typestrendpointTypeStringEndpointTypestringEndpointType*string required #
The type of interface endpoint.
vpceIdstringvpce_idstrvpceIdStringVpceIdstringVpceId*string required #
The identifier (ID) of the VPC in which the interface endpoint is used.