AWS cli documentation change
Summary
Added usage examples for get-baseline command
Security assessment
New examples show baseline retrieval. No security fixes or vulnerability documentation added.
Diff
diff --git a/cli/latest/reference/controltower/get-baseline.md b/cli/latest/reference/controltower/get-baseline.md index fd4ce4d38..464ca404a 100644 --- a//cli/latest/reference/controltower/get-baseline.md +++ b//cli/latest/reference/controltower/get-baseline.md @@ -15 +15 @@ - * [AWS CLI 2.34.45 Command Reference](../../index.html) » + * [AWS CLI 2.34.48 Command Reference](../../index.html) » @@ -35,0 +36 @@ + * Examples @@ -213,0 +215,29 @@ The formatting style for error output. By default, errors are displayed in enhan +## Examples¶ + +### Note + +To use the following examples, you must have the AWS CLI installed and configured. See the [Getting started guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) in the _AWS CLI User Guide_ for more information. + +Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [Using quotation marks with strings](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html) in the _AWS CLI User Guide_ . + +**To get a Control Tower baseline** + +The following `get-baseline` example gets details of an AWS Control Tower baseline. + + + aws controltower get-baseline \ + --baseline-identifier arn:aws:controltower:us-east-1::baseline/LN25R72TTG6IGPTQ + + +Output: + + + { + "arn": "arn:aws:controltower:us-east-1::baseline/LN25R72TTG6IGPTQ", + "description": "Sets up shared resources for AWS Identity Center, which prepares the AWSControlTowerBaseline to set up Identity Center access for accounts.", + "name": "IdentityCenterBaseline" + } + + +For more information, see [Types of baselines](https://docs.aws.amazon.com/controltower/latest/userguide/types-of-baselines.html) in the _AWS Control Tower User Guide_. + @@ -244 +274 @@ description -> (string) - * [AWS CLI 2.34.45 Command Reference](../../index.html) » + * [AWS CLI 2.34.48 Command Reference](../../index.html) »