This message was deleted.
# aws
s
This message was deleted.
m
from what i understand i need to create a SecurityGroupRuleLocation or something like that.
g
Yep, here's an example:
Copy code
const client = new awsx.ec2.SecurityGroup(`client`, { vpc });

const server = new awsx.ec2.SecurityGroup(`server`, { vpc });
awsx.ec2.SecurityGroupRule.ingress("https-access", server,
    { sourceSecurityGroupId: client.id },
    new awsx.ec2.TcpPorts(443),
    "allow https access");
m
Thanks