# InterfaceVpcEndpointAwsServiceProps

Optional properties for the InterfaceVpcEndpointAwsService class.

Used as props by: [InterfaceVpcEndpointAwsService](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.InterfaceVpcEndpointAwsService.html)

- Source: [`aws-ec2/lib/vpc-endpoint.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts#L403)
- Type last changed: v2.135.0 · 2 Apr 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const interfaceVpcEndpointAwsServiceProps: ec2.InterfaceVpcEndpointAwsServiceProps = {
  global: false,
};
```

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_ec2 as ec2

interface_vpc_endpoint_aws_service_props = ec2.InterfaceVpcEndpointAwsServiceProps(
    global=False
)
```

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

InterfaceVpcEndpointAwsServiceProps interfaceVpcEndpointAwsServiceProps = InterfaceVpcEndpointAwsServiceProps.builder()
        .global(false)
        .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.EC2;

var interfaceVpcEndpointAwsServiceProps = new InterfaceVpcEndpointAwsServiceProps {
    Global = false
};
```

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"

interfaceVpcEndpointAwsServiceProps := &InterfaceVpcEndpointAwsServiceProps{
	Global: jsii.Boolean(false),
}
```

## Properties

- `global`: boolean = false — If true, the service is a global endpoint and its name will not be prefixed with the stack's region.
