# AccessEndpointConfigProperty

Describes the access endpoint configuration for a WorkSpace.

- Source: Generated at build time
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
};
```

Golang:

```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

- `accessEndpoints`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDirectory.AccessEndpointProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_workspaces.CfnDirectory.AccessEndpointProperty.html)[] (required) — Indicates a list of access endpoints associated with this directory.

- `internetFallbackProtocols`: string[] — Indicates a list of protocols that fallback to using the public Internet when streaming over a VPC endpoint is not available.
