Show / Hide Table of Contents

Class CfnNetworkInterfaceAttachmentProps

Properties for defining a CfnNetworkInterfaceAttachment.

Inheritance
object
CfnNetworkInterfaceAttachmentProps
Implements
ICfnNetworkInterfaceAttachmentProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNetworkInterfaceAttachmentProps : ICfnNetworkInterfaceAttachmentProps
Syntax (vb)
Public Class CfnNetworkInterfaceAttachmentProps Implements ICfnNetworkInterfaceAttachmentProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html

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.AWS.EC2;

             var cfnNetworkInterfaceAttachmentProps = new CfnNetworkInterfaceAttachmentProps {
                 DeviceIndex = "deviceIndex",
                 InstanceId = "instanceId",
                 NetworkInterfaceId = "networkInterfaceId",

                 // the properties below are optional
                 DeleteOnTermination = false,
                 EnaQueueCount = 123,
                 EnaSrdSpecification = new EnaSrdSpecificationProperty {
                     EnaSrdEnabled = false,
                     EnaSrdUdpSpecification = new EnaSrdUdpSpecificationProperty {
                         EnaSrdUdpEnabled = false
                     }
                 }
             };

Synopsis

Constructors

CfnNetworkInterfaceAttachmentProps()

Properties for defining a CfnNetworkInterfaceAttachment.

Properties

DeleteOnTermination

Whether to delete the network interface when the instance terminates.

DeviceIndex

The network interface's position in the attachment order.

EnaQueueCount

The number of ENA queues created with the instance.

EnaSrdSpecification

Configures ENA Express for the network interface that this action attaches to the instance.

InstanceId

The ID of the instance to which you will attach the ENI.

NetworkInterfaceId

The ID of the ENI that you want to attach.

Constructors

CfnNetworkInterfaceAttachmentProps()

Properties for defining a CfnNetworkInterfaceAttachment.

public CfnNetworkInterfaceAttachmentProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html

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.AWS.EC2;

             var cfnNetworkInterfaceAttachmentProps = new CfnNetworkInterfaceAttachmentProps {
                 DeviceIndex = "deviceIndex",
                 InstanceId = "instanceId",
                 NetworkInterfaceId = "networkInterfaceId",

                 // the properties below are optional
                 DeleteOnTermination = false,
                 EnaQueueCount = 123,
                 EnaSrdSpecification = new EnaSrdSpecificationProperty {
                     EnaSrdEnabled = false,
                     EnaSrdUdpSpecification = new EnaSrdUdpSpecificationProperty {
                         EnaSrdUdpEnabled = false
                     }
                 }
             };

Properties

DeleteOnTermination

Whether to delete the network interface when the instance terminates.

public object? DeleteOnTermination { get; set; }
Property Value

object

Remarks

By default, this value is set to true .

Default: - true

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-deleteontermination

Type union: either bool or IResolvable

DeviceIndex

The network interface's position in the attachment order.

public string DeviceIndex { get; set; }
Property Value

string

Remarks

For example, the first attached network interface has a DeviceIndex of 0.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-deviceindex

EnaQueueCount

The number of ENA queues created with the instance.

public double? EnaQueueCount { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-enaqueuecount

EnaSrdSpecification

Configures ENA Express for the network interface that this action attaches to the instance.

public object? EnaSrdSpecification { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-enasrdspecification

Type union: either IResolvable or CfnNetworkInterfaceAttachment.IEnaSrdSpecificationProperty

InstanceId

The ID of the instance to which you will attach the ENI.

public string InstanceId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-instanceid

NetworkInterfaceId

The ID of the ENI that you want to attach.

public string NetworkInterfaceId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-networkinterfaceid

Implements

ICfnNetworkInterfaceAttachmentProps
Back to top Generated by DocFX