You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

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)


24024
24025
24026
24027
24028
24029
24030
24031
24032
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24024

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

#ip_protocolString

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

Returns:

  • (String)


24024
24025
24026
24027
24028
24029
24030
24031
24032
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24024

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

#ip_rangesArray<String>

One or more IP ranges. Not applicable for stale security group rules.

Returns:

  • (Array<String>)


24024
24025
24026
24027
24028
24029
24030
24031
24032
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24024

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

#prefix_list_idsArray<String>

One or more prefix list IDs for an AWS service. Not applicable for stale security group rules.

Returns:

  • (Array<String>)


24024
24025
24026
24027
24028
24029
24030
24031
24032
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24024

class StaleIpPermission < Struct.new(
  :from_port,
  :ip_protocol,
  :ip_ranges,
  :prefix_list_ids,
  :to_port,
  :user_id_group_pairs)
  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)


24024
24025
24026
24027
24028
24029
24030
24031
24032
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24024

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

#user_id_group_pairsArray<Types::UserIdGroupPair>

One or more security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Returns:



24024
24025
24026
24027
24028
24029
24030
24031
24032
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24024

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