Skip to content

Enable Control

controltower_enable_control R Documentation

This API call activates a control

Description

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

Usage

controltower_enable_control(controlIdentifier, parameters, tags,
  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.

parameters

A list of input parameter values, which are specified to configure the control when you enable it.

tags

Tags to be applied to the EnabledControl resource.

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(
  arn = "string",
  operationIdentifier = "string"
)

Request syntax

svc$enable_control(
  controlIdentifier = "string",
  parameters = list(
    list(
      key = "string",
      value = list()
    )
  ),
  tags = list(
    "string"
  ),
  targetIdentifier = "string"
)