Listing Available Security Groups
This topic is relevant to you only if you are not running in an Amazon VPC. If you are running in an Amazon VPC, see Amazon Virtual Private Cloud (Amazon VPC) with ElastiCache.
You can list which security groups have been created for your AWS account.
The following procedures show you how to list the available security groups for your AWS account.
Listing Available Security Groups (Console)
Sign in to the AWS Management Console and open the ElastiCache console at https://console.aws.amazon.com/elasticache/.
In the left navigation pane, choose Security Groups.
The available security groups appear in the Security Groups list.
Listing Available Security Groups (AWS CLI)
At a command prompt,
describe-cache-security-groups command to list
all available security groups for your AWS account.
aws elasticache describe-cache-security-groups
For more information, see describe-cache-security-groups.
Listing Available Security Groups (ElastiCache API)
Using the ElastiCache API, call
Line breaks in the following code example are added for ease of reading.
https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheSecurityGroups &MaxRecords=100 &Version=2015-02-02 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T220302Z &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Date=20150202T220302Z &X-Amz-SignedHeaders=Host &X-Amz-Expires=20150202T220302Z &X-Amz-Credential=<credential> &X-Amz-Signature=<signature>