Skip to content
v2.277.0

NetworkInterfaceProperty Struct ​

Contains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.

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 networkInterfaceProperty: redshiftserverless.CfnWorkgroup.NetworkInterfaceProperty = {
  availabilityZone: 'availabilityZone',
  networkInterfaceId: 'networkInterfaceId',
  privateIpAddress: 'privateIpAddress',
  subnetId: 'subnetId',
};
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

network_interface_property = redshiftserverless.CfnWorkgroup.NetworkInterfaceProperty(
    availability_zone="availabilityZone",
    network_interface_id="networkInterfaceId",
    private_ip_address="privateIpAddress",
    subnet_id="subnetId"
)
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.*;

NetworkInterfaceProperty networkInterfaceProperty = NetworkInterfaceProperty.builder()
        .availabilityZone("availabilityZone")
        .networkInterfaceId("networkInterfaceId")
        .privateIpAddress("privateIpAddress")
        .subnetId("subnetId")
        .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 networkInterfaceProperty = new NetworkInterfaceProperty {
    AvailabilityZone = "availabilityZone",
    NetworkInterfaceId = "networkInterfaceId",
    PrivateIpAddress = "privateIpAddress",
    SubnetId = "subnetId"
};
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"

networkInterfaceProperty := &NetworkInterfaceProperty{
	AvailabilityZone: jsii.String("availabilityZone"),
	NetworkInterfaceId: jsii.String("networkInterfaceId"),
	PrivateIpAddress: jsii.String("privateIpAddress"),
	SubnetId: jsii.String("subnetId"),
}

Properties ​

availabilityZoneoptionalstringavailability_zoneoptionalstravailabilityZoneoptionalStringAvailabilityZoneoptionalstringAvailabilityZoneoptional*string #
The availability Zone.
networkInterfaceIdoptionalstringnetwork_interface_idoptionalstrnetworkInterfaceIdoptionalStringNetworkInterfaceIdoptionalstringNetworkInterfaceIdoptional*string #
The unique identifier of the network interface.
privateIpAddressoptionalstringprivate_ip_addressoptionalstrprivateIpAddressoptionalStringPrivateIpAddressoptionalstringPrivateIpAddressoptional*string #
The IPv4 address of the network interface within the subnet.
subnetIdoptionalstringsubnet_idoptionalstrsubnetIdoptionalStringSubnetIdoptionalstringSubnetIdoptional*string #
The unique identifier of the subnet.