You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Redshift::Types::RevokeClusterSecurityGroupIngressMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb

Overview

Note:

When making an API call, you may pass RevokeClusterSecurityGroupIngressMessage data as a hash:

{
  cluster_security_group_name: "String", # required
  cidrip: "String",
  ec2_security_group_name: "String",
  ec2_security_group_owner_id: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#cidripString

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.

Returns:

  • (String)


6045
6046
6047
6048
6049
6050
6051
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6045

class RevokeClusterSecurityGroupIngressMessage < Struct.new(
  :cluster_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_owner_id)
  include Aws::Structure
end

#cluster_security_group_nameString

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

Returns:

  • (String)


6045
6046
6047
6048
6049
6050
6051
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6045

class RevokeClusterSecurityGroupIngressMessage < Struct.new(
  :cluster_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_owner_id)
  include Aws::Structure
end

#ec2_security_group_nameString

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.

Returns:

  • (String)


6045
6046
6047
6048
6049
6050
6051
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6045

class RevokeClusterSecurityGroupIngressMessage < Struct.new(
  :cluster_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_owner_id)
  include Aws::Structure
end

#ec2_security_group_owner_idString

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. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.

Example: 111122223333

Returns:

  • (String)


6045
6046
6047
6048
6049
6050
6051
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6045

class RevokeClusterSecurityGroupIngressMessage < Struct.new(
  :cluster_security_group_name,
  :cidrip,
  :ec2_security_group_name,
  :ec2_security_group_owner_id)
  include Aws::Structure
end