opsworks_delete_instance: Deletes a specified instance, which terminates the associated...

Description Usage Arguments Value Request syntax

View source: R/opsworks_operations.R

Description

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

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.

Usage

1
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.

Value

An empty list.

Request syntax

1
2
3
4
5
svc$delete_instance(
  InstanceId = "string",
  DeleteElasticIp = TRUE|FALSE,
  DeleteVolumes = TRUE|FALSE
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.