Skip to content

Update Enabled Control

controltower_update_enabled_control R Documentation

Updates the configuration of an already enabled control

Description

Updates the configuration of an already enabled control.

If the enabled control shows an EnablementStatus of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request.

If the enabled control shows an EnablementStatus of FAILED, Amazon Web Services Control Tower updates the control to match any valid parameters that you supply.

If the DriftSummary status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling disable_control and again calling enable_control, or you can run an extending governance operation. For usage examples, see the Controls Reference Guide .

Usage

controltower_update_enabled_control(enabledControlIdentifier,
  parameters)

Arguments

enabledControlIdentifier

[required] The ARN of the enabled control that will be updated.

parameters

[required] A key/value pair, where Key is of type String and Value is of type Document.

Value

A list with the following syntax:

list(
  operationIdentifier = "string"
)

Request syntax

svc$update_enabled_control(
  enabledControlIdentifier = "string",
  parameters = list(
    list(
      key = "string",
      value = list()
    )
  )
)