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

Class: Aws::EC2::Types::NetworkInterfaceAttachmentChanges

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 NetworkInterfaceAttachmentChanges data as a hash:

{
  attachment_id: "String",
  delete_on_termination: false,
}

Describes an attachment change.

Instance Attribute Summary collapse

Instance Attribute Details

#attachment_idString

The ID of the network interface attachment.

Returns:

  • (String)


17641
17642
17643
17644
17645
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17641

class NetworkInterfaceAttachmentChanges < Struct.new(
  :attachment_id,
  :delete_on_termination)
  include Aws::Structure
end

#delete_on_terminationBoolean

Indicates whether the network interface is deleted when the instance is terminated.

Returns:

  • (Boolean)


17641
17642
17643
17644
17645
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17641

class NetworkInterfaceAttachmentChanges < Struct.new(
  :attachment_id,
  :delete_on_termination)
  include Aws::Structure
end