Skip to content

Deregister Instance

opsworks_deregister_instance R Documentation

Deregister an instance from OpsWorks Stacks

Description

Deregister an instance from OpsWorks Stacks. The instance can be a registered instance (Amazon EC2 or on-premises) or an instance created with OpsWorks. This action removes the instance from the stack and returns it to your control.

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

opsworks_deregister_instance(InstanceId)

Arguments

InstanceId

[required] The instance ID.

Value

An empty list.

Request syntax

svc$deregister_instance(
  InstanceId = "string"
)