AccessEndpointProperty Struct
Describes the access type and endpoint for a WorkSpace.
| Source | |
|---|---|
| Type last changed |
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 accessEndpointProperty: workspaces.CfnDirectory.AccessEndpointProperty = {
accessEndpointType: 'accessEndpointType',
vpcEndpointId: 'vpcEndpointId',
};
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_property = workspaces.CfnDirectory.AccessEndpointProperty(
access_endpoint_type="accessEndpointType",
vpc_endpoint_id="vpcEndpointId"
)
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.*;
AccessEndpointProperty accessEndpointProperty = AccessEndpointProperty.builder()
.accessEndpointType("accessEndpointType")
.vpcEndpointId("vpcEndpointId")
.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 accessEndpointProperty = new AccessEndpointProperty {
AccessEndpointType = "accessEndpointType",
VpcEndpointId = "vpcEndpointId"
};
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{
AccessEndpointType: jsii.String("accessEndpointType"),
VpcEndpointId: jsii.String("vpcEndpointId"),
}
Properties
accessEndpointTypeoptionalstringaccess_endpoint_typeoptionalstraccessEndpointTypeoptionalStringAccessEndpointTypeoptionalstringAccessEndpointTypeoptional*string #Indicates the type of access endpoint.
vpcEndpointIdoptionalstringvpc_endpoint_idoptionalstrvpcEndpointIdoptionalStringVpcEndpointIdoptionalstringVpcEndpointIdoptional*string #Indicates the VPC endpoint to use for access.