CmdID / aws / aws controltower
aws controltower update-enabled-control
Updates the configuration of an already enabled control. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To update a Control Tower enabled control
The following update-enabled-control example updates an AWS Control Tower enabled control.
aws controltower update-enabled-control --enabled-control-identifier arn:aws:controltower:us-west-2:123456789012:enabledcontrol/JSJN8UL0G2MWGRTZ --parameters '[{"key":"AllowedRegions","value":["us-east-1","us-west-1","us-west-2","us-east-2"]}]'Identify--enabled-control-identifierThe ARN of the enabled control that will be updated.--parametersA key/value pair, where Key is of type String and Value is of type Document.Its output
{
"operationIdentifier": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}For more information, see About controls in AWS Control Tower in the AWS Control Tower User Guide.
Options
--enabled-control-identifierThe ARN of the enabled control that will be updated.--parametersA key/value pair, where Key is of type String and Value is of type Document.