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

Class: Aws::OpsWorks::Types::DeleteInstanceRequest

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

Overview

Note:

When making an API call, you may pass DeleteInstanceRequest data as a hash:

{
  instance_id: "String", # required
  delete_elastic_ip: false,
  delete_volumes: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#delete_elastic_ipBoolean

Whether to delete the instance Elastic IP address.

Returns:

  • (Boolean)


2298
2299
2300
2301
2302
2303
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2298

class DeleteInstanceRequest < Struct.new(
  :instance_id,
  :delete_elastic_ip,
  :delete_volumes)
  include Aws::Structure
end

#delete_volumesBoolean

Whether to delete the instance's Amazon EBS volumes.

Returns:

  • (Boolean)


2298
2299
2300
2301
2302
2303
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2298

class DeleteInstanceRequest < Struct.new(
  :instance_id,
  :delete_elastic_ip,
  :delete_volumes)
  include Aws::Structure
end

#instance_idString

The instance ID.

Returns:

  • (String)


2298
2299
2300
2301
2302
2303
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2298

class DeleteInstanceRequest < Struct.new(
  :instance_id,
  :delete_elastic_ip,
  :delete_volumes)
  include Aws::Structure
end