Advertisement
ExaGridDba

ex1 basic sg-0d86f9996252af4bb dest sg

Oct 20th, 2022 (edited)
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. [root@src-host ~]# aws ec2 describe-security-groups --group-ids sg-0d86f9996252af4bb
  2. {
  3. "SecurityGroups": [
  4. {
  5. "IpPermissionsEgress": [
  6. {
  7. "IpProtocol": "-1",
  8. "PrefixListIds": [],
  9. "IpRanges": [
  10. {
  11. "CidrIp": "0.0.0.0/0"
  12. }
  13. ],
  14. "UserIdGroupPairs": [],
  15. "Ipv6Ranges": []
  16. }
  17. ],
  18. "Description": "dest sg",
  19. "IpPermissions": [
  20. {
  21. "PrefixListIds": [],
  22. "FromPort": 22,
  23. "IpRanges": [],
  24. "ToPort": 22,
  25. "IpProtocol": "tcp",
  26. "UserIdGroupPairs": [
  27. {
  28. "UserId": "531621538008",
  29. "GroupId": "sg-06cd140165280acb6"
  30. }
  31. ],
  32. "Ipv6Ranges": []
  33. }
  34. ],
  35. "GroupName": "dest-sg",
  36. "VpcId": "vpc-0cc75d9eae4c906af",
  37. "OwnerId": "531621538008",
  38. "GroupId": "sg-0d86f9996252af4bb"
  39. }
  40. ]
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement