Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@src-host ~]# aws ec2 describe-security-groups --group-ids sg-0d86f9996252af4bb
- {
- "SecurityGroups": [
- {
- "IpPermissionsEgress": [
- {
- "IpProtocol": "-1",
- "PrefixListIds": [],
- "IpRanges": [
- {
- "CidrIp": "0.0.0.0/0"
- }
- ],
- "UserIdGroupPairs": [],
- "Ipv6Ranges": []
- }
- ],
- "Description": "dest sg",
- "IpPermissions": [
- {
- "PrefixListIds": [],
- "FromPort": 22,
- "IpRanges": [],
- "ToPort": 22,
- "IpProtocol": "tcp",
- "UserIdGroupPairs": [
- {
- "UserId": "531621538008",
- "GroupId": "sg-06cd140165280acb6"
- }
- ],
- "Ipv6Ranges": []
- }
- ],
- "GroupName": "dest-sg",
- "VpcId": "vpc-0cc75d9eae4c906af",
- "OwnerId": "531621538008",
- "GroupId": "sg-0d86f9996252af4bb"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement