NetworkInterfaceProperty Struct
The structure that contains information about a network interface.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const networkInterfaceProperty: quicksight.CfnVPCConnection.NetworkInterfaceProperty = {
availabilityZone: 'availabilityZone',
errorMessage: 'errorMessage',
networkInterfaceId: 'networkInterfaceId',
status: 'status',
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_quicksight as quicksight
network_interface_property = quicksight.CfnVPCConnection.NetworkInterfaceProperty(
availability_zone="availabilityZone",
error_message="errorMessage",
network_interface_id="networkInterfaceId",
status="status",
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.quicksight.*;
NetworkInterfaceProperty networkInterfaceProperty = NetworkInterfaceProperty.builder()
.availabilityZone("availabilityZone")
.errorMessage("errorMessage")
.networkInterfaceId("networkInterfaceId")
.status("status")
.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.QuickSight;
var networkInterfaceProperty = new NetworkInterfaceProperty {
AvailabilityZone = "availabilityZone",
ErrorMessage = "errorMessage",
NetworkInterfaceId = "networkInterfaceId",
Status = "status",
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"),
ErrorMessage: jsii.String("errorMessage"),
NetworkInterfaceId: jsii.String("networkInterfaceId"),
Status: jsii.String("status"),
SubnetId: jsii.String("subnetId"),
}
Properties
availabilityZoneoptionalstringavailability_zoneoptionalstravailabilityZoneoptionalStringAvailabilityZoneoptionalstringAvailabilityZoneoptional*string #The availability zone that the network interface resides in.
errorMessageoptionalstringerror_messageoptionalstrerrorMessageoptionalStringErrorMessageoptionalstringErrorMessageoptional*string #An error message.
networkInterfaceIdoptionalstringnetwork_interface_idoptionalstrnetworkInterfaceIdoptionalStringNetworkInterfaceIdoptionalstringNetworkInterfaceIdoptional*string #The network interface ID.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #The status of the network interface.
subnetIdoptionalstringsubnet_idoptionalstrsubnetIdoptionalStringSubnetIdoptionalstringSubnetIdoptional*string #The subnet ID associated with the network interface.