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.
CIDRIPThe IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If
CIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot be provided.EC2SecurityGroupNameThe name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot be provided.EC2SecurityGroupOwnerIdThe Amazon Web Services account number of the owner of the security group specified in the
EC2SecurityGroupNameparameter. The Amazon Web Services access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot 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"
)
)
)
)