Skip to content

Unassign Instance

opsworks_unassign_instance R Documentation

Unassigns a registered instance from all layers that are using the instance

Description

Unassigns a registered instance from all layers that are using the instance. The instance remains in the stack as an unassigned instance, and can be assigned to another layer as needed. You cannot use this action with instances that were created with OpsWorks Stacks.

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 about user permissions, see Managing User Permissions.

Usage

opsworks_unassign_instance(InstanceId)

Arguments

InstanceId

[required] The instance ID.

Value

An empty list.

Request syntax

svc$unassign_instance(
  InstanceId = "string"
)