Skip to content
v2.278.0

AccessEndpointConfigProperty Struct ​

Describes the access endpoint configuration for a WorkSpace.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspaces as workspaces } from 'aws-cdk-lib';
const accessEndpointConfigProperty: workspaces.CfnDirectory.AccessEndpointConfigProperty = {
  accessEndpoints: [{
    accessEndpointType: 'accessEndpointType',
    vpcEndpointId: 'vpcEndpointId',
  }],

  // the properties below are optional
  internetFallbackProtocols: ['internetFallbackProtocols'],
};
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_workspaces as workspaces

access_endpoint_config_property = workspaces.CfnDirectory.AccessEndpointConfigProperty(
    access_endpoints=[workspaces.CfnDirectory.AccessEndpointProperty(
        access_endpoint_type="accessEndpointType",
        vpc_endpoint_id="vpcEndpointId"
    )],

    # the properties below are optional
    internet_fallback_protocols=["internetFallbackProtocols"]
)
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.workspaces.*;

AccessEndpointConfigProperty accessEndpointConfigProperty = AccessEndpointConfigProperty.builder()
        .accessEndpoints(List.of(AccessEndpointProperty.builder()
                .accessEndpointType("accessEndpointType")
                .vpcEndpointId("vpcEndpointId")
                .build()))

        // the properties below are optional
        .internetFallbackProtocols(List.of("internetFallbackProtocols"))
        .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.WorkSpaces;

var accessEndpointConfigProperty = new AccessEndpointConfigProperty {
    AccessEndpoints = new [] { new AccessEndpointProperty {
        AccessEndpointType = "accessEndpointType",
        VpcEndpointId = "vpcEndpointId"
    } },

    // the properties below are optional
    InternetFallbackProtocols = new [] { "internetFallbackProtocols" }
};
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"

accessEndpointConfigProperty := &AccessEndpointConfigProperty{
	AccessEndpoints: []interface{}{
		&AccessEndpointProperty{
			AccessEndpointType: jsii.String("accessEndpointType"),
			VpcEndpointId: jsii.String("vpcEndpointId"),
		},
	},

	// the properties below are optional
	InternetFallbackProtocols: []*string{
		jsii.String("internetFallbackProtocols"),
	},
}

Properties ​

accessEndpointsIResolvable | IResolvable | CfnDirectory.AccessEndpointProperty[]access_endpointstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AccessEndpointProperty]]]accessEndpointsIResolvableAccessEndpointsIResolvableAccessEndpointsinterface{} required #
Indicates a list of access endpoints associated with this directory.
internetFallbackProtocolsoptionalstring[]internet_fallback_protocolsoptionaltyping.List[str]internetFallbackProtocolsoptionalList<String>InternetFallbackProtocolsoptionalstring[]InternetFallbackProtocolsoptional*[]*string #
Indicates a list of protocols that fallback to using the public Internet when streaming over a VPC endpoint is not available.