interface NetworkInterfaceOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVerifiedAccessEndpoint_NetworkInterfaceOptionsProperty |
Java | software.amazon.awscdk.services.ec2.CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty |
Python | aws_cdk.aws_ec2.CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnVerifiedAccessEndpoint » NetworkInterfaceOptionsProperty |
Describes the network interface options when creating an AWS Verified Access endpoint using the network-interface type.
Example
// 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 networkInterfaceOptionsProperty: ec2.CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty = {
networkInterfaceId: 'networkInterfaceId',
port: 123,
portRanges: [{
fromPort: 123,
toPort: 123,
}],
protocol: 'protocol',
};
Properties
| Name | Type | Description |
|---|---|---|
| network | string | The ID of the network interface. |
| port? | number | The IP port number. |
| port | IResolvable | (IResolvable | Port)[] | The port ranges. |
| protocol? | string | The IP protocol. |
networkInterfaceId?
Type:
string
(optional)
The ID of the network interface.
port?
Type:
number
(optional)
The IP port number.
portRanges?
Type:
IResolvable | (IResolvable | Port)[]
(optional)
The port ranges.
protocol?
Type:
string
(optional)
The IP protocol.

.NET
Go
Java
Python
TypeScript