securityGroups

val securityGroups: Output<List<String>>?

the names of the security groups. For a nondefault VPC, you must use security group IDs instead.