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

Class: Aws::EC2::Types::RevokeSecurityGroupEgressRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RevokeSecurityGroupEgressRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  dry_run: false,
  group_id: "SecurityGroupId", # required
  ip_permissions: [
    {
      from_port: 1,
      ip_protocol: "String",
      ip_ranges: [
        {
          cidr_ip: "String",
          description: "String",
        },
      ],
      ipv_6_ranges: [
        {
          cidr_ipv_6: "String",
          description: "String",
        },
      ],
      prefix_list_ids: [
        {
          description: "String",
          prefix_list_id: "String",
        },
      ],
      to_port: 1,
      user_id_group_pairs: [
        {
          description: "String",
          group_id: "String",
          group_name: "String",
          peering_status: "String",
          user_id: "String",
          vpc_id: "String",
          vpc_peering_connection_id: "String",
        },
      ],
    },
  ],
  cidr_ip: "String",
  from_port: 1,
  ip_protocol: "String",
  to_port: 1,
  source_security_group_name: "String",
  source_security_group_owner_id: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#cidr_ip ⇒ String

Not supported. Use a set of IP permissions to specify the CIDR.

Returns:

  • (String) —

    Not supported.

#dry_run ⇒ Boolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean) —

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.

#from_port ⇒ Integer

Not supported. Use a set of IP permissions to specify the port.

Returns:

  • (Integer) —

    Not supported.

#group_id ⇒ String

The ID of the security group.

Returns:

  • (String) —

    The ID of the security group.

#ip_permissions ⇒ Array<Types::IpPermission>

The sets of IP permissions. You can\'t specify a destination security group and a CIDR IP address range in the same set of permissions.

Returns:

#ip_protocol ⇒ String

Not supported. Use a set of IP permissions to specify the protocol name or number.

Returns:

  • (String) —

    Not supported.

#source_security_group_name ⇒ String

Not supported. Use a set of IP permissions to specify a destination security group.

Returns:

  • (String) —

    Not supported.

#source_security_group_owner_id ⇒ String

Not supported. Use a set of IP permissions to specify a destination security group.

Returns:

  • (String) —

    Not supported.

#to_port ⇒ Integer

Not supported. Use a set of IP permissions to specify the port.

Returns:

  • (Integer) —

    Not supported.