CfnNetworkInterfaceAttachmentProps

class aws_cdk.aws_ec2.CfnNetworkInterfaceAttachmentProps(*, device_index, instance_id, network_interface_id, delete_on_termination=None)

Bases: object

__init__(*, device_index, instance_id, network_interface_id, delete_on_termination=None)

Properties for defining a AWS::EC2::NetworkInterfaceAttachment.

Parameters
  • device_index (str) – AWS::EC2::NetworkInterfaceAttachment.DeviceIndex.

  • instance_id (str) – AWS::EC2::NetworkInterfaceAttachment.InstanceId.

  • network_interface_id (str) – AWS::EC2::NetworkInterfaceAttachment.NetworkInterfaceId.

  • delete_on_termination (Union[bool, None, IResolvable]) – AWS::EC2::NetworkInterfaceAttachment.DeleteOnTermination.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html

Attributes

delete_on_termination

AWS::EC2::NetworkInterfaceAttachment.DeleteOnTermination.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-deleteonterm

Return type

Union[bool, None, IResolvable]

device_index

AWS::EC2::NetworkInterfaceAttachment.DeviceIndex.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-deviceindex

Return type

str

instance_id

AWS::EC2::NetworkInterfaceAttachment.InstanceId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-instanceid

Return type

str

network_interface_id

AWS::EC2::NetworkInterfaceAttachment.NetworkInterfaceId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-networkinterfaceid

Return type

str