Skip to content

Instantly share code, notes, and snippets.

@andrewgross
Created November 3, 2014 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewgross/3d48dd64c3118f420983 to your computer and use it in GitHub Desktop.
Save andrewgross/3d48dd64c3118f420983 to your computer and use it in GitHub Desktop.
{
"DescribeSecurityGroupsResponse": {
"-xmlns": "http://ec2.amazonaws.com/doc/2014-09-01/",
"requestId": "59dbff89-35bd-4eac-99ed-be587EXAMPLE",
"securityGroupInfo": {
"item": [
{
"ownerId": "111122223333",
"groupId": "sg-1a2b3c4d",
"groupName": "WebServers",
"groupDescription": "Web Servers",
"ipPermissions": {
"item": {
"ipProtocol": "tcp",
"fromPort": "80",
"toPort": "80",
"ipRanges": {
"item": { "cidrIp": "0.0.0.0/0" }
}
}
}
},
{
"ownerId": "111122223333",
"groupId": "sg-2a2b3c4d",
"groupName": "RangedPortsBySource",
"groupDescription": "Group A",
"ipPermissions": {
"item": {
"ipProtocol": "tcp",
"fromPort": "6000",
"toPort": "7000",
"groups": {
"item": {
"userId": "111122223333",
"groupId": "sg-3a2b3c4d",
"groupName": "Group B"
}
}
}
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment