ControlTower / Client / enable_baseline
enable_baseline¶
- ControlTower.Client.enable_baseline(**kwargs)¶
Enable (apply) a
Baselineto a Target. This API starts an asynchronous operation to deploy resources specified by theBaselineto the specified Target. For usage examples, see the Amazon Web Services Control Tower User Guide.See also: AWS API Documentation
Request Syntax
response = client.enable_baseline( baselineVersion='string', parameters=[ { 'key': 'string', 'value': {...}|[...]|123|123.4|'string'|True|None }, ], baselineIdentifier='string', targetIdentifier='string', tags={ 'string': 'string' } )
- Parameters:
baselineVersion (string) –
[REQUIRED]
The specific version to be enabled of the specified baseline.
parameters (list) –
A list of
key-valueobjects that specify enablement parameters, wherekeyis a string andvalueis a document of any type.(dict) –
A key-value parameter to an
EnabledBaselineresource.key (string) – [REQUIRED]
A string denoting the parameter key.
value (document) – [REQUIRED]
A low-level
Documentobject of any type (for example, a Java Object).
baselineIdentifier (string) –
[REQUIRED]
The ARN of the baseline to be enabled.
targetIdentifier (string) –
[REQUIRED]
The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.
tags (dict) –
Tags associated with input to
EnableBaseline.(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'operationIdentifier': 'string', 'arn': 'string' }
Response Structure
(dict) –
operationIdentifier (string) –
The ID (in UUID format) of the asynchronous
EnableBaselineoperation. ThisoperationIdentifieris used to track status through calls to theGetBaselineOperationAPI.arn (string) –
The ARN of the
EnabledBaselineresource.
Exceptions