Show / Hide Table of Contents

Interface ICfnNetworkInterfaceAttachmentProps

Properties for defining a CfnNetworkInterfaceAttachment.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnNetworkInterfaceAttachmentProps
Syntax (vb)
Public Interface 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

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.

Properties

DeleteOnTermination

Whether to delete the network interface when the instance terminates.

object? DeleteOnTermination { get; }
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.

string DeviceIndex { get; }
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.

double? EnaQueueCount { get; }
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.

object? EnaSrdSpecification { get; }
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.

string InstanceId { get; }
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.

string NetworkInterfaceId { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX