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)


1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
# File 'lib/aws-sdk-ec2/types.rb', line 1632

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)


1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
# File 'lib/aws-sdk-ec2/types.rb', line 1632

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:



1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
# File 'lib/aws-sdk-ec2/types.rb', line 1632

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)


1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
# File 'lib/aws-sdk-ec2/types.rb', line 1632

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)


1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
# File 'lib/aws-sdk-ec2/types.rb', line 1632

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)


1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
# File 'lib/aws-sdk-ec2/types.rb', line 1632

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