aws ec2 describe-network-interfaces
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-find-security-group-resources/
aws ec2 describe-network-interfaces --filters Name=group-id,Values=<group-id> --region <region> --output json
aws ec2 describe-network-interfaces --filters Name=group-id,Values=sg-07abcd9f0e12345495 aws ec2 describe-network-interfaces --filters Name=group-id,Values=sg-07abcd9f0e12345495 --region us-east-1 --output json
aws ec2 describe-network-interfaces --filters Name=subnet-id,Values=your-subnet-id-here | grep Description
Activities
Related
See also
aws ec2 describe-network-interfaces
- AWS subnets:
AWS::EC2::Subnet, aws ec2 [ create-subnet
|describe-subnets
]--vpc-id
,MapPublicIpOnLaunch
,aws_subnet
- AWS EC2, AWS::EC2,
aws ec2
[describe-instances | describe-instance-status
|run-instances | terminate-instances | stop-instances
|tags
|describe-vpcs
|describe-addresses
|describe-availability-zones
|describe-subnets
|import-key-pair
|create-key-pair
|create-vpc
|create-internet-gateway
|modify-instance-attribute | ec2-instance-connect | get-console-output
]
Advertising: