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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'lib/aws-sdk-ec2/types.rb', line 1539

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)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'lib/aws-sdk-ec2/types.rb', line 1539

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:



1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'lib/aws-sdk-ec2/types.rb', line 1539

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)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'lib/aws-sdk-ec2/types.rb', line 1539

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)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'lib/aws-sdk-ec2/types.rb', line 1539

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)


1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
# File 'lib/aws-sdk-ec2/types.rb', line 1539

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