interface CfnNetworkInterfaceAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnNetworkInterfaceAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnNetworkInterfaceAttachmentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnNetworkInterfaceAttachmentMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnNetworkInterfaceAttachmentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnNetworkInterfaceAttachmentMixinProps |
Properties for CfnNetworkInterfaceAttachmentPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnNetworkInterfaceAttachmentMixinProps: ec2_mixins.CfnNetworkInterfaceAttachmentMixinProps = {
deleteOnTermination: false,
deviceIndex: 'deviceIndex',
enaQueueCount: 123,
enaSrdSpecification: {
enaSrdEnabled: false,
enaSrdUdpSpecification: {
enaSrdUdpEnabled: false,
},
},
instanceId: 'instanceId',
networkInterfaceId: 'networkInterfaceId',
};
Properties
| Name | Type | Description |
|---|---|---|
| delete | boolean | IResolvable | Whether to delete the network interface when the instance terminates. |
| device | string | The network interface's position in the attachment order. |
| ena | number | The number of ENA queues created with the instance. |
| ena | IResolvable | Ena | Configures ENA Express for the network interface that this action attaches to the instance. |
| instance | string | The ID of the instance to which you will attach the ENI. |
| network | string | The ID of the ENI that you want to attach. |
deleteOnTermination?
Type:
boolean | IResolvable
(optional, default: true)
Whether to delete the network interface when the instance terminates.
By default, this value is set to true .
deviceIndex?
Type:
string
(optional)
The network interface's position in the attachment order.
For example, the first attached network interface has a DeviceIndex of 0.
enaQueueCount?
Type:
number
(optional)
The number of ENA queues created with the instance.
enaSrdSpecification?
Type:
IResolvable | Ena
(optional)
Configures ENA Express for the network interface that this action attaches to the instance.
instanceId?
Type:
string
(optional)
The ID of the instance to which you will attach the ENI.
networkInterfaceId?
Type:
string
(optional)
The ID of the ENI that you want to attach.

.NET
Go
Java
Python
TypeScript