The challenge here is that the ENI identifier isn't known until it is created which happens during stack creation, not when CDK is executin (which is when the CloudFormation template is being written).
Why do you need the identifier? What are you trying to do?
cannot delete network interfaceasked 9 months ago
How do you get the private IP address of the eth1 network interface on an Amazon EC2 instance?Accepted Answerasked 2 years ago
Error trying to detach network interfaceasked a year ago
Cannot Delete Network Interfaceasked 7 months ago
Automatically stop and start an Amazon RDS DB instance in a CDK appAccepted Answerasked a month ago
How to create secondary private ip with AWS CDK?
missing properties in InstanceProps interfaceasked 19 days ago
AWS CDK : How can I remove an AWS target group which a FargateService depends on?asked a month ago
How to attach an EBS volume to Cloud9 via CDK stack?Accepted Answerasked 5 months ago
AWS CDK - how can I retrieve the ID of my primary network interface?