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

Class: Aws::EC2::Types::ModifyNetworkInterfaceAttributeRequest

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

Overview

Note:

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

{
  attachment: {
    attachment_id: "String",
    delete_on_termination: false,
  },
  description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
  dry_run: false,
  groups: ["String"],
  network_interface_id: "String", # required
  source_dest_check: {
    value: false,
  },
}

Contains the parameters for ModifyNetworkInterfaceAttribute.

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentTypes::NetworkInterfaceAttachmentChanges

Information about the interface attachment. If modifying the \'delete on termination\' attribute, you must specify the ID of the interface attachment.

Returns:

#descriptionTypes::AttributeValue

A description for the network interface.

Returns:

#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)

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

#groupsArray<String>

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it\'s just the default security group in the VPC. You must specify the ID of the security group, not the name.

Returns:

  • (Array<String>)

    Changes the security groups for the network interface.

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)

    The ID of the network interface.

#source_dest_checkTypes::AttributeBooleanValue

Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Returns: