Class CfnNetworkInterfaceAttachmentPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInterfaceAttachmentPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:58.588Z")
@Stability(Stable)
public class CfnNetworkInterfaceAttachmentPropsMixin
extends Mixin
implements software.constructs.IMixin
Attaches an elastic network interface (ENI) to an Amazon EC2 instance.
You can use this resource type to attach additional network interfaces to an instance without interruption.
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.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnNetworkInterfaceAttachmentPropsMixin cfnNetworkInterfaceAttachmentPropsMixin = CfnNetworkInterfaceAttachmentPropsMixin.Builder.create(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())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnNetworkInterfaceAttachmentPropsMixin.static interfaceENA Express uses AWS Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.static interfaceENA Express is compatible with both TCP and UDP transport protocols.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::EC2::NetworkInterfaceAttachment.CfnNetworkInterfaceAttachmentPropsMixin(CfnNetworkInterfaceAttachmentMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EC2::NetworkInterfaceAttachment.protectedCfnNetworkInterfaceAttachmentPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnNetworkInterfaceAttachmentPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnNetworkInterfaceAttachmentMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnNetworkInterfaceAttachmentPropsMixin
protected CfnNetworkInterfaceAttachmentPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnNetworkInterfaceAttachmentPropsMixin
protected CfnNetworkInterfaceAttachmentPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnNetworkInterfaceAttachmentPropsMixin
@Stability(Stable) public CfnNetworkInterfaceAttachmentPropsMixin(@NotNull CfnNetworkInterfaceAttachmentMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EC2::NetworkInterfaceAttachment.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnNetworkInterfaceAttachmentPropsMixin
@Stability(Stable) public CfnNetworkInterfaceAttachmentPropsMixin(@NotNull CfnNetworkInterfaceAttachmentMixinProps props) Create a mixin to apply properties toAWS::EC2::NetworkInterfaceAttachment.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-