CmdID / aws / aws controltower
aws controltower enable-control
This API call activates a control. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To enable a Control Tower control
The following enable-control example enables an AWS Control Tower control.
aws controltower enable-control --control-identifier arn:aws:controlcatalog:::control/497wrm2xnk1wxlf4obrxxxxxx --target-identifier arn:aws:organizations::123456789012:ou/o-s64ryxxxxx/ou-oqxx-i5wnxxxxIdentify--control-identifierThe ARN of the control.--target-identifierThe ARN of the organizational unit.Its output
{
"arn": "arn:aws:controltower:us-west-2:123456789012:enabledcontrol/18J5KBJ3W3VTIRLV",
"operationIdentifier": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}For more information, see About controls in AWS Control Tower in the AWS Control Tower User Guide.
Options
--control-identifierThe ARN of the control.--parametersA list of input parameter values, which are specified to configure the control when you enable it.--tagsTags to be applied to the EnabledControl resource.--target-identifierThe ARN of the organizational unit.