Class: Aws::EC2::Types::AnalysisSecurityGroupRule

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

Overview

Describes a security group rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cidrString

The IPv4 address range, in CIDR notation.

Returns:

  • (String)


1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1097

class AnalysisSecurityGroupRule < Struct.new(
  :cidr,
  :direction,
  :security_group_id,
  :port_range,
  :prefix_list_id,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#directionString

The direction. The following are possible values:

  • egress

  • ingress

Returns:

  • (String)


1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1097

class AnalysisSecurityGroupRule < Struct.new(
  :cidr,
  :direction,
  :security_group_id,
  :port_range,
  :prefix_list_id,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#port_rangeTypes::PortRange

The port range.

Returns:



1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1097

class AnalysisSecurityGroupRule < Struct.new(
  :cidr,
  :direction,
  :security_group_id,
  :port_range,
  :prefix_list_id,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#prefix_list_idString

The prefix list ID.

Returns:

  • (String)


1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1097

class AnalysisSecurityGroupRule < Struct.new(
  :cidr,
  :direction,
  :security_group_id,
  :port_range,
  :prefix_list_id,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The protocol name.

Returns:

  • (String)


1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1097

class AnalysisSecurityGroupRule < Struct.new(
  :cidr,
  :direction,
  :security_group_id,
  :port_range,
  :prefix_list_id,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_idString

The security group ID.

Returns:

  • (String)


1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1097

class AnalysisSecurityGroupRule < Struct.new(
  :cidr,
  :direction,
  :security_group_id,
  :port_range,
  :prefix_list_id,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end