Skip to content
v2.278.0

NetworkInterfaceProperty Struct ​

The container for the network interface.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3outposts as s3outposts } from 'aws-cdk-lib';
const networkInterfaceProperty: s3outposts.CfnEndpoint.NetworkInterfaceProperty = {
  networkInterfaceId: 'networkInterfaceId',
};
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_s3outposts as s3outposts

network_interface_property = s3outposts.CfnEndpoint.NetworkInterfaceProperty(
    network_interface_id="networkInterfaceId"
)
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.s3outposts.*;

NetworkInterfaceProperty networkInterfaceProperty = NetworkInterfaceProperty.builder()
        .networkInterfaceId("networkInterfaceId")
        .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.S3Outposts;

var networkInterfaceProperty = new NetworkInterfaceProperty {
    NetworkInterfaceId = "networkInterfaceId"
};
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{
	NetworkInterfaceId: jsii.String("networkInterfaceId"),
}

Properties ​

networkInterfaceIdstringnetwork_interface_idstrnetworkInterfaceIdStringNetworkInterfaceIdstringNetworkInterfaceId*string required #
The ID for the network interface.