Interface CfnNetworkInterfaceAttachmentMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInterfaceAttachmentMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:58.587Z")
@Stability(Stable)
public interface CfnNetworkInterfaceAttachmentMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnNetworkInterfaceAttachmentPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
CfnNetworkInterfaceAttachmentMixinProps cfnNetworkInterfaceAttachmentMixinProps = CfnNetworkInterfaceAttachmentMixinProps.builder()
.deleteOnTermination(false)
.deviceIndex("deviceIndex")
.enaQueueCount(123)
.enaSrdSpecification(EnaSrdSpecificationProperty.builder()
.enaSrdEnabled(false)
.enaSrdUdpSpecification(EnaSrdUdpSpecificationProperty.builder()
.enaSrdUdpEnabled(false)
.build())
.build())
.instanceId("instanceId")
.networkInterfaceId("networkInterfaceId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNetworkInterfaceAttachmentMixinPropsstatic final classAn implementation forCfnNetworkInterfaceAttachmentMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhether to delete the network interface when the instance terminates.default StringThe network interface's position in the attachment order.default NumberThe number of ENA queues created with the instance.default ObjectConfigures ENA Express for the network interface that this action attaches to the instance.default StringThe ID of the instance to which you will attach the ENI.default StringThe ID of the ENI that you want to attach.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeleteOnTermination
Whether to delete the network interface when the instance terminates.By default, this value is set to
true.Returns union: either
BooleanorIResolvableDefault: - true
- See Also:
-
getDeviceIndex
The network interface's position in the attachment order.For example, the first attached network interface has a
DeviceIndexof 0.- See Also:
-
getEnaQueueCount
The number of ENA queues created with the instance.- See Also:
-
getEnaSrdSpecification
Configures ENA Express for the network interface that this action attaches to the instance.Returns union: either
IResolvableorCfnNetworkInterfaceAttachmentPropsMixin.EnaSrdSpecificationProperty- See Also:
-
getInstanceId
The ID of the instance to which you will attach the ENI.- See Also:
-
getNetworkInterfaceId
The ID of the ENI that you want to attach.- See Also:
-
builder
-