Skip to content
v2.278.0

VpcEndpointProperty Struct ​

The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshiftserverless as redshiftserverless } from 'aws-cdk-lib';
const vpcEndpointProperty: redshiftserverless.CfnWorkgroup.VpcEndpointProperty = {
  networkInterfaces: [{
    availabilityZone: 'availabilityZone',
    networkInterfaceId: 'networkInterfaceId',
    privateIpAddress: 'privateIpAddress',
    subnetId: 'subnetId',
  }],
  vpcEndpointId: 'vpcEndpointId',
  vpcId: 'vpcId',
};
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_redshiftserverless as redshiftserverless

vpc_endpoint_property = redshiftserverless.CfnWorkgroup.VpcEndpointProperty(
    network_interfaces=[redshiftserverless.CfnWorkgroup.NetworkInterfaceProperty(
        availability_zone="availabilityZone",
        network_interface_id="networkInterfaceId",
        private_ip_address="privateIpAddress",
        subnet_id="subnetId"
    )],
    vpc_endpoint_id="vpcEndpointId",
    vpc_id="vpcId"
)
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.redshiftserverless.*;

VpcEndpointProperty vpcEndpointProperty = VpcEndpointProperty.builder()
        .networkInterfaces(List.of(NetworkInterfaceProperty.builder()
                .availabilityZone("availabilityZone")
                .networkInterfaceId("networkInterfaceId")
                .privateIpAddress("privateIpAddress")
                .subnetId("subnetId")
                .build()))
        .vpcEndpointId("vpcEndpointId")
        .vpcId("vpcId")
        .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.RedshiftServerless;

var vpcEndpointProperty = new VpcEndpointProperty {
    NetworkInterfaces = new [] { new NetworkInterfaceProperty {
        AvailabilityZone = "availabilityZone",
        NetworkInterfaceId = "networkInterfaceId",
        PrivateIpAddress = "privateIpAddress",
        SubnetId = "subnetId"
    } },
    VpcEndpointId = "vpcEndpointId",
    VpcId = "vpcId"
};
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"

vpcEndpointProperty := &VpcEndpointProperty{
	NetworkInterfaces: []interface{}{
		&NetworkInterfaceProperty{
			AvailabilityZone: jsii.String("availabilityZone"),
			NetworkInterfaceId: jsii.String("networkInterfaceId"),
			PrivateIpAddress: jsii.String("privateIpAddress"),
			SubnetId: jsii.String("subnetId"),
		},
	},
	VpcEndpointId: jsii.String("vpcEndpointId"),
	VpcId: jsii.String("vpcId"),
}

Properties ​

networkInterfacesoptionalIResolvable | IResolvable | CfnWorkgroup.NetworkInterfaceProperty[]network_interfacesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NetworkInterfaceProperty]]]networkInterfacesoptionalIResolvableNetworkInterfacesoptionalIResolvableNetworkInterfacesoptionalinterface{} #
One or more network interfaces of the endpoint.

Also known as an interface endpoint.

vpcEndpointIdoptionalstringvpc_endpoint_idoptionalstrvpcEndpointIdoptionalStringVpcEndpointIdoptionalstringVpcEndpointIdoptional*string #
The connection endpoint ID for connecting to Amazon Redshift Serverless.
vpcIdoptionalstringvpc_idoptionalstrvpcIdoptionalStringVpcIdoptionalstringVpcIdoptional*string #
The VPC identifier that the endpoint is associated with.