Skip to content

Revoke Cluster Security Group Ingress

redshift_revoke_cluster_security_group_ingress R Documentation

Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group

Description

Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see authorize_cluster_security_group_ingress. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.

Usage

redshift_revoke_cluster_security_group_ingress(ClusterSecurityGroupName,
  CIDRIP, EC2SecurityGroupName, EC2SecurityGroupOwnerId)

Arguments

ClusterSecurityGroupName

[required] The name of the security Group from which to revoke the ingress rule.

CIDRIP

The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.

EC2SecurityGroupName

The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.

EC2SecurityGroupOwnerId

The Amazon Web Services account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.

Example: 111122223333

Value

A list with the following syntax:

list(
  ClusterSecurityGroup = list(
    ClusterSecurityGroupName = "string",
    Description = "string",
    EC2SecurityGroups = list(
      list(
        Status = "string",
        EC2SecurityGroupName = "string",
        EC2SecurityGroupOwnerId = "string",
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        )
      )
    ),
    IPRanges = list(
      list(
        Status = "string",
        CIDRIP = "string",
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        )
      )
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$revoke_cluster_security_group_ingress(
  ClusterSecurityGroupName = "string",
  CIDRIP = "string",
  EC2SecurityGroupName = "string",
  EC2SecurityGroupOwnerId = "string"
)