Skip to content
v2.278.0

InterfaceVpcEndpointAwsServiceProps Struct ​

Optional properties for the InterfaceVpcEndpointAwsService class.

Example ​

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
# 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
// 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();
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
};
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 ​

globaloptionalbooleanglobaloptionalboolglobaloptionalBooleanGlobaloptionalboolGlobaloptional*bool = false #
If true, the service is a global endpoint and its name will not be prefixed with the stack's region.