``` private SecurityGroup ImportSecurityGroup()...
# general
b
Copy code
private SecurityGroup ImportSecurityGroup()
    {
        var tags = new InputMap<string>();
        tags.Add("Name", "subnet-1_SG");

        return new SecurityGroup("dev-1a_sg",
            new SecurityGroupArgs
            {
                Name = "dev-public-1a_sg",
                VpcId = "vpc-097dc5c3d016997a8",
                Description = "Security group",
                Tags = tags,
                // I would like to get this information
                // which shows in my stack online
                Egress = null
                //^^^^^^^
            },
            new CustomResourceOptions
            {
                ImportId = "sg-Hidden"
            });
    }