Class: Aws::EC2::Types::StaleIpPermission

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

Overview

Describes a stale rule in a security group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from_port ⇒ Integer

If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).

Returns:

  • (Integer)


85322
85323
85324
85325
85326
85327
85328
85329
85330
85331
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 85322

class StaleIpPermission < Struct.new(
  :from_port,
  :ip_protocol,
  :ip_ranges,
  :prefix_list_ids,
  :to_port,
  :user_id_group_pairs)
  SENSITIVE = []
  include Aws::Structure
end

#ip_protocol ⇒ String

The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers).

Returns:

  • (String)


85322
85323
85324
85325
85326
85327
85328
85329
85330
85331
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 85322

class StaleIpPermission < Struct.new(
  :from_port,
  :ip_protocol,
  :ip_ranges,
  :prefix_list_ids,
  :to_port,
  :user_id_group_pairs)
  SENSITIVE = []
  include Aws::Structure
end

#ip_ranges ⇒ Array<String>

The IP ranges. Not applicable for stale security group rules.

Returns:

  • (Array<String>)


85322
85323
85324
85325
85326
85327
85328
85329
85330
85331
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 85322

class StaleIpPermission < Struct.new(
  :from_port,
  :ip_protocol,
  :ip_ranges,
  :prefix_list_ids,
  :to_port,
  :user_id_group_pairs)
  SENSITIVE = []
  include Aws::Structure
end

#prefix_list_ids ⇒ Array<String>

The prefix list IDs. Not applicable for stale security group rules.

Returns:

  • (Array<String>)


85322
85323
85324
85325
85326
85327
85328
85329
85330
85331
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 85322

class StaleIpPermission < Struct.new(
  :from_port,
  :ip_protocol,
  :ip_ranges,
  :prefix_list_ids,
  :to_port,
  :user_id_group_pairs)
  SENSITIVE = []
  include Aws::Structure
end

#to_port ⇒ Integer

If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).

Returns:

  • (Integer)


85322
85323
85324
85325
85326
85327
85328
85329
85330
85331
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 85322

class StaleIpPermission < Struct.new(
  :from_port,
  :ip_protocol,
  :ip_ranges,
  :prefix_list_ids,
  :to_port,
  :user_id_group_pairs)
  SENSITIVE = []
  include Aws::Structure
end

#user_id_group_pairs ⇒ Array<Types::UserIdGroupPair>

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Returns:



85322
85323
85324
85325
85326
85327
85328
85329
85330
85331
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 85322

class StaleIpPermission < Struct.new(
  :from_port,
  :ip_protocol,
  :ip_ranges,
  :prefix_list_ids,
  :to_port,
  :user_id_group_pairs)
  SENSITIVE = []
  include Aws::Structure
end