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)


1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1542

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 the possible values:

  • egress

  • ingress

Returns:

  • (String)


1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1542

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:



1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1542

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)


1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1542

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)


1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1542

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)


1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1542

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