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)


1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1579

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)


1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1579

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:



1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1579

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)


1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1579

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)


1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1579

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)


1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1579

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