paws.management (version 0.1.0)

opsworks_delete_instance: Deletes a specified instance, which terminates the associated Amazon EC2 instance

Description

Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.

Usage

opsworks_delete_instance(InstanceId, DeleteElasticIp, DeleteVolumes)

Arguments

InstanceId

[required] The instance ID.

DeleteElasticIp

Whether to delete the instance Elastic IP address.

DeleteVolumes

Whether to delete the instance's Amazon EBS volumes.

Request syntax

svc$delete_instance(
  InstanceId = "string",
  DeleteElasticIp = TRUE|FALSE,
  DeleteVolumes = TRUE|FALSE
)

Details

For more information, see Deleting Instances.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.