revoke_cache_security_group_ingress ( $cache_security_group_name, $ec2_security_group_name, $ec2_security_group_owner_id, $opt )

Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.

Access

public

Parameters

Parameter

Type

Required

Description

$cache_security_group_name

string

Required

The name of the Cache Security Group to revoke ingress from.

$ec2_security_group_name

string

Required

The name of the EC2 Security Group to revoke access from.

$ec2_security_group_owner_id

string

Required

The AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

$opt

array

Optional

An associative array of parameters that can have the following keys:

  • curlopts - array - Optional - A set of values to pass directly into curl_setopt(), where the key is a pre-defined CURLOPT_* constant.
  • returnCurlHandle - boolean - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.

Returns

Type

Description

CFResponse

A CFResponse object containing a parsed HTTP response.

Source

Method defined in services/elasticache.class.php | Toggle source view (9 lines) | View on GitHub

public function revoke_cache_security_group_ingress($cache_security_group_name, $ec2_security_group_name, $ec2_security_group_owner_id, $opt = null)
{
    if (!$opt) $opt = array();
    $opt['CacheSecurityGroupName'] = $cache_security_group_name;
    $opt['EC2SecurityGroupName'] = $ec2_security_group_name;
    $opt['EC2SecurityGroupOwnerId'] = $ec2_security_group_owner_id;
    
    return $this->authenticate('RevokeCacheSecurityGroupIngress', $opt);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback