opsworks_deregister_instance: Deregister a registered Amazon EC2 or on-premises instance

Description Usage Arguments Value Request syntax

View source: R/opsworks_operations.R

Description

Deregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action cannot be used with instances that were created with AWS 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 on user permissions, see Managing User Permissions.

Usage

1

Arguments

InstanceId

[required] The instance ID.

Value

An empty list.

Request syntax

1
2
3
svc$deregister_instance(
  InstanceId = "string"
)

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