CfnNetworkInterfaceAttachmentProps

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

Bases: object

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, IResolvable, None]) – AWS::EC2::NetworkInterfaceAttachment.DeleteOnTermination.

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

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, IResolvable, None]

device_index

AWS::EC2::NetworkInterfaceAttachment.DeviceIndex.

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

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

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

Return type

str