# ServiceNetworkEndpointProperty

The configuration for a service network endpoint.

- Source: Generated at build time
- Type last changed: v2.217.0 · 25 Sep 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_odb as odb } from 'aws-cdk-lib';
const serviceNetworkEndpointProperty: odb.CfnOdbNetwork.ServiceNetworkEndpointProperty = {
  vpcEndpointId: 'vpcEndpointId',
  vpcEndpointType: 'vpcEndpointType',
};
```

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_odb as odb

service_network_endpoint_property = odb.CfnOdbNetwork.ServiceNetworkEndpointProperty(
    vpc_endpoint_id="vpcEndpointId",
    vpc_endpoint_type="vpcEndpointType"
)
```

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.odb.*;

ServiceNetworkEndpointProperty serviceNetworkEndpointProperty = ServiceNetworkEndpointProperty.builder()
        .vpcEndpointId("vpcEndpointId")
        .vpcEndpointType("vpcEndpointType")
        .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.ODB;

var serviceNetworkEndpointProperty = new ServiceNetworkEndpointProperty {
    VpcEndpointId = "vpcEndpointId",
    VpcEndpointType = "vpcEndpointType"
};
```

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"

serviceNetworkEndpointProperty := &ServiceNetworkEndpointProperty{
	VpcEndpointId: jsii.String("vpcEndpointId"),
	VpcEndpointType: jsii.String("vpcEndpointType"),
}
```

## Properties

- `vpcEndpointId`: string — The identifier of the VPC endpoint.

- `vpcEndpointType`: string — The type of the VPC endpoint.
