Class CfnNetworkInterfaceAttachmentPropsMixin
Attaches an elastic network interface (ENI) to an Amazon EC2 instance.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnNetworkInterfaceAttachmentPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnNetworkInterfaceAttachmentPropsMixin Inherits Mixin Implements IMixin
Remarks
You can use this resource type to attach additional network interfaces to an instance without interruption.
CloudformationResource: AWS::EC2::NetworkInterfaceAttachment
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnNetworkInterfaceAttachmentPropsMixin = new CfnNetworkInterfaceAttachmentPropsMixin(new CfnNetworkInterfaceAttachmentMixinProps {
DeleteOnTermination = false,
DeviceIndex = "deviceIndex",
EnaQueueCount = 123,
EnaSrdSpecification = new EnaSrdSpecificationProperty {
EnaSrdEnabled = false,
EnaSrdUdpSpecification = new EnaSrdUdpSpecificationProperty {
EnaSrdUdpEnabled = false
}
},
InstanceId = "instanceId",
NetworkInterfaceId = "networkInterfaceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnNetworkInterfaceAttachmentPropsMixin(ICfnNetworkInterfaceAttachmentMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Attaches an elastic network interface (ENI) to an Amazon EC2 instance. |
| Props | Attaches an elastic network interface (ENI) to an Amazon EC2 instance. |
| Strategy | Attaches an elastic network interface (ENI) to an Amazon EC2 instance. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnNetworkInterfaceAttachmentPropsMixin(ICfnNetworkInterfaceAttachmentMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EC2::NetworkInterfaceAttachment.
public CfnNetworkInterfaceAttachmentPropsMixin(ICfnNetworkInterfaceAttachmentMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnNetworkInterfaceAttachmentMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
You can use this resource type to attach additional network interfaces to an instance without interruption.
CloudformationResource: AWS::EC2::NetworkInterfaceAttachment
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Attaches an elastic network interface (ENI) to an Amazon EC2 instance.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
You can use this resource type to attach additional network interfaces to an instance without interruption.
CloudformationResource: AWS::EC2::NetworkInterfaceAttachment
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnNetworkInterfaceAttachmentPropsMixin = new CfnNetworkInterfaceAttachmentPropsMixin(new CfnNetworkInterfaceAttachmentMixinProps {
DeleteOnTermination = false,
DeviceIndex = "deviceIndex",
EnaQueueCount = 123,
EnaSrdSpecification = new EnaSrdSpecificationProperty {
EnaSrdEnabled = false,
EnaSrdUdpSpecification = new EnaSrdUdpSpecificationProperty {
EnaSrdUdpEnabled = false
}
},
InstanceId = "instanceId",
NetworkInterfaceId = "networkInterfaceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Attaches an elastic network interface (ENI) to an Amazon EC2 instance.
protected virtual ICfnNetworkInterfaceAttachmentMixinProps Props { get; }
Property Value
ICfnNetworkInterfaceAttachmentMixinProps
Remarks
You can use this resource type to attach additional network interfaces to an instance without interruption.
CloudformationResource: AWS::EC2::NetworkInterfaceAttachment
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnNetworkInterfaceAttachmentPropsMixin = new CfnNetworkInterfaceAttachmentPropsMixin(new CfnNetworkInterfaceAttachmentMixinProps {
DeleteOnTermination = false,
DeviceIndex = "deviceIndex",
EnaQueueCount = 123,
EnaSrdSpecification = new EnaSrdSpecificationProperty {
EnaSrdEnabled = false,
EnaSrdUdpSpecification = new EnaSrdUdpSpecificationProperty {
EnaSrdUdpEnabled = false
}
},
InstanceId = "instanceId",
NetworkInterfaceId = "networkInterfaceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Attaches an elastic network interface (ENI) to an Amazon EC2 instance.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
You can use this resource type to attach additional network interfaces to an instance without interruption.
CloudformationResource: AWS::EC2::NetworkInterfaceAttachment
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnNetworkInterfaceAttachmentPropsMixin = new CfnNetworkInterfaceAttachmentPropsMixin(new CfnNetworkInterfaceAttachmentMixinProps {
DeleteOnTermination = false,
DeviceIndex = "deviceIndex",
EnaQueueCount = 123,
EnaSrdSpecification = new EnaSrdSpecificationProperty {
EnaSrdEnabled = false,
EnaSrdUdpSpecification = new EnaSrdUdpSpecificationProperty {
EnaSrdUdpEnabled = false
}
},
InstanceId = "instanceId",
NetworkInterfaceId = "networkInterfaceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
You can use this resource type to attach additional network interfaces to an instance without interruption.
CloudformationResource: AWS::EC2::NetworkInterfaceAttachment
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
You can use this resource type to attach additional network interfaces to an instance without interruption.
CloudformationResource: AWS::EC2::NetworkInterfaceAttachment
Mixin: true
ExampleMetadata: fixture=_generated