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

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

The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

Returns:

  • (Integer)


61909
61910
61911
61912
61913
61914
61915
61916
61917
61918
# File 'lib/aws-sdk-ec2/types.rb', line 61909

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_protocolString

The IP protocol name (for ‘tcp`, `udp`, and `icmp`) or number (see [Protocol Numbers)].

[1]: www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml

Returns:

  • (String)


61909
61910
61911
61912
61913
61914
61915
61916
61917
61918
# File 'lib/aws-sdk-ec2/types.rb', line 61909

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_rangesArray<String>

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

Returns:

  • (Array<String>)


61909
61910
61911
61912
61913
61914
61915
61916
61917
61918
# File 'lib/aws-sdk-ec2/types.rb', line 61909

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_idsArray<String>

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

Returns:

  • (Array<String>)


61909
61910
61911
61912
61913
61914
61915
61916
61917
61918
# File 'lib/aws-sdk-ec2/types.rb', line 61909

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_portInteger

The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of ‘-1` indicates all ICMP types.

Returns:

  • (Integer)


61909
61910
61911
61912
61913
61914
61915
61916
61917
61918
# File 'lib/aws-sdk-ec2/types.rb', line 61909

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_pairsArray<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:



61909
61910
61911
61912
61913
61914
61915
61916
61917
61918
# File 'lib/aws-sdk-ec2/types.rb', line 61909

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