Skip to content

Disable Control

controltower_disable_control R Documentation

This API call turns off a control

Description

This API call turns off a control. It starts an asynchronous operation that deletes Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify. For usage examples, see the Controls Reference Guide .

Usage

controltower_disable_control(controlIdentifier, targetIdentifier)

Arguments

controlIdentifier

[required] The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the controlIdentifier, see the overview page.

targetIdentifier

[required] The ARN of the organizational unit. For information on how to find the targetIdentifier, see the overview page.

Value

A list with the following syntax:

list(
  operationIdentifier = "string"
)

Request syntax

svc$disable_control(
  controlIdentifier = "string",
  targetIdentifier = "string"
)