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

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

Overview

Note:

When making an API call, you may pass RevokeSecurityGroupEgressRequest data as a 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",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cidr_ipString

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

Returns:

  • (String)


42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42380

class RevokeSecurityGroupEgressRequest < Struct.new(
  :dry_run,
  :group_id,
  :ip_permissions,
  :cidr_ip,
  :from_port,
  :ip_protocol,
  :to_port,
  :source_security_group_name,
  :source_security_group_owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

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)


42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42380

class RevokeSecurityGroupEgressRequest < Struct.new(
  :dry_run,
  :group_id,
  :ip_permissions,
  :cidr_ip,
  :from_port,
  :ip_protocol,
  :to_port,
  :source_security_group_name,
  :source_security_group_owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#from_portInteger

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

Returns:

  • (Integer)


42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42380

class RevokeSecurityGroupEgressRequest < Struct.new(
  :dry_run,
  :group_id,
  :ip_permissions,
  :cidr_ip,
  :from_port,
  :ip_protocol,
  :to_port,
  :source_security_group_name,
  :source_security_group_owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#group_idString

The ID of the security group.

Returns:

  • (String)


42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42380

class RevokeSecurityGroupEgressRequest < Struct.new(
  :dry_run,
  :group_id,
  :ip_permissions,
  :cidr_ip,
  :from_port,
  :ip_protocol,
  :to_port,
  :source_security_group_name,
  :source_security_group_owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#ip_permissionsArray<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:



42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42380

class RevokeSecurityGroupEgressRequest < Struct.new(
  :dry_run,
  :group_id,
  :ip_permissions,
  :cidr_ip,
  :from_port,
  :ip_protocol,
  :to_port,
  :source_security_group_name,
  :source_security_group_owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#ip_protocolString

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

Returns:

  • (String)


42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42380

class RevokeSecurityGroupEgressRequest < Struct.new(
  :dry_run,
  :group_id,
  :ip_permissions,
  :cidr_ip,
  :from_port,
  :ip_protocol,
  :to_port,
  :source_security_group_name,
  :source_security_group_owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_security_group_nameString

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

Returns:

  • (String)


42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42380

class RevokeSecurityGroupEgressRequest < Struct.new(
  :dry_run,
  :group_id,
  :ip_permissions,
  :cidr_ip,
  :from_port,
  :ip_protocol,
  :to_port,
  :source_security_group_name,
  :source_security_group_owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_security_group_owner_idString

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

Returns:

  • (String)


42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42380

class RevokeSecurityGroupEgressRequest < Struct.new(
  :dry_run,
  :group_id,
  :ip_permissions,
  :cidr_ip,
  :from_port,
  :ip_protocol,
  :to_port,
  :source_security_group_name,
  :source_security_group_owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#to_portInteger

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

Returns:

  • (Integer)


42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42380

class RevokeSecurityGroupEgressRequest < Struct.new(
  :dry_run,
  :group_id,
  :ip_permissions,
  :cidr_ip,
  :from_port,
  :ip_protocol,
  :to_port,
  :source_security_group_name,
  :source_security_group_owner_id)
  SENSITIVE = []
  include Aws::Structure
end