AWS cli documentation change
Summary
Updated AWS CLI version from 2.34.45 to 2.34.48 and added an examples section demonstrating get-landing-zone command usage with security configurations
Security assessment
The added examples showcase security features like security roles, KMS encryption, and centralized logging configurations. No vulnerability fix is indicated.
Diff
diff --git a/cli/latest/reference/controltower/get-landing-zone.md b/cli/latest/reference/controltower/get-landing-zone.md index 13651688d..262e87a11 100644 --- a//cli/latest/reference/controltower/get-landing-zone.md +++ b//cli/latest/reference/controltower/get-landing-zone.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 @@ -209,0 +211,65 @@ 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 describe a Control Tower landing zone** + +The following `get-landing-zone` example gets details of an AWS Control Tower landing zone. + + + aws controltower get-landing-zone \ + --landing-zone-identifier arn:aws:controltower:us-east-1:123456789012:landingzone/13CJG46WZKXXX4X5 + + +Output: + + + { + "landingZone": { + "arn": "arn:aws:controltower:us-east-1:123456789012:landingzone/13CJG46WZKXXX4X5", + "driftStatus": { + "status": "IN_SYNC" + }, + "latestAvailableVersion": "3.3", + "manifest": { + "accessManagement": { + "enabled": true + }, + "securityRoles": { + "accountId": "098765432101" + }, + "governedRegions": [ + "us-east-1", + "us-west-2" + ], + "organizationStructure": { + "security": { + "name": "Security" + } + }, + "centralizedLogging": { + "accountId": "111122223333", + "configurations": { + "loggingBucket": { + "retentionDays": 365 + }, + "kmsKeyArn": "arn:aws:kms:us-east-1:123456789012:key/example-key-id", + "accessLoggingBucket": { + "retentionDays": 3650 + } + }, + "enabled": true + } + }, + "status": "ACTIVE", + "version": "3.3" + } + } + + +For more information, see [Getting started with AWS Control Tower](https://docs.aws.amazon.com/controltower/latest/userguide/getting-started-with-control-tower.html) in the _AWS Control Tower User Guide_. + @@ -319 +385 @@ landingZone -> (structure) - * [AWS CLI 2.34.45 Command Reference](../../index.html) » + * [AWS CLI 2.34.48 Command Reference](../../index.html) »