Returns a list of CacheSecurityGroup descriptions. If a CacheSecurityGroupName is specified, the list will contain only the description of the specified CacheSecurityGroup.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
|---|---|
|
A |
Examples
Describe all cache security groups.
$elasticache = new AmazonElastiCache();
$response = $elasticache->describe_cache_security_groups();
$list = $response->body->CacheSecurityGroupName()->map_string('/^(?:default|aws\-sdk\-php)/');
print_r($list);
Result:
Array
(
[0] => default
)
Source
Method defined in services/elasticache.class.php | Toggle source view (6 lines) | View on GitHub

