revokeCacheSecurityGroupIngress
abstract suspend fun revokeCacheSecurityGroupIngress(input: RevokeCacheSecurityGroupIngressRequest): RevokeCacheSecurityGroupIngressResponse
Revokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized.
Samples
fun main() {
//sampleStart
// Returns a list of cache security group descriptions. If a cache security group name is specified,
// the list contains only the description of that group.
elastiCacheClient.revokeCacheSecurityGroupIngress {
cacheSecurityGroupName = "my-sec-grp"
ec2SecurityGroupName = "my-ec2-sec-grp"
ec2SecurityGroupOwnerId = "1234567890"
}
//sampleEnd
}