AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delete_elastic_ipBoolean

Whether to delete the instance Elastic IP address.

Returns:

  • (Boolean)


2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2353

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

#delete_volumesBoolean

Whether to delete the instance's Amazon EBS volumes.

Returns:

  • (Boolean)


2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2353

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

#instance_idString

The instance ID.

Returns:

  • (String)


2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2353

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