Querying Landing Zone Configurations
Function
This API is used to query all configurations of the current landing zone.
Authorization Information
Each account root user has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
rgc:landingZoneConfiguration:get |
Read |
- |
- |
- |
- |
URI
GET /v1/landing-zone/configuration
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
common_configuration |
CommonConfiguration object |
Landing zone configurations. |
|
logging_configuration |
LoggingConfiguration object |
Log configurations of the landing zone. |
|
organization_structure |
Array of OrganizationStructureBaseLineRsp objects |
Basic settings of the account management system. |
|
regions |
Array of RegionConfigurationList objects |
Information about the regions under governance. |
|
Parameter |
Type |
Description |
|---|---|---|
|
home_region |
String |
Name of the home region. |
|
cloud_trail_type |
Boolean |
CTS configuration status. |
|
identity_center_status |
String |
Whether to set IAM Identity Center for the landing zone. |
|
organization_structure_type |
String |
Organization type, which can be STANDARD or NON_STANDARD. |
|
Parameter |
Type |
Description |
|---|---|---|
|
logging_bucket_name |
String |
Name of a log aggregation bucket. |
|
access_logging_bucket |
AccessLoggingBucketBaseline object |
Basic settings of access logs. |
|
logging_bucket |
LoggingBucketBaseline object |
Basic log settings. |
|
Parameter |
Type |
Description |
|---|---|---|
|
retention_days |
Integer |
Retention days of a bucket. |
|
enable_multi_az |
Boolean |
Whether multi-AZ storage is allowed. |
|
Parameter |
Type |
Description |
|---|---|---|
|
retention_days |
Integer |
Retention days of a bucket. |
|
enable_multi_az |
Boolean |
Whether multi-AZ storage is allowed. |
|
Parameter |
Type |
Description |
|---|---|---|
|
organizational_unit_name |
String |
Name of a registered OU. |
|
organizational_unit_type |
String |
Type of a registered OU, which can be CORE or CUSTOM. |
|
accounts |
Array of AccountBaselineRsp objects |
Basic information about an enrolled account. |
|
Parameter |
Type |
Description |
|---|---|---|
|
account_name |
String |
Name of an enrolled account. |
|
account_id |
String |
A unique ID of an enrolled account. |
|
account_type |
String |
Type of an enrolled account. It can be LOGGING or SECURITY. |
|
Parameter |
Type |
Description |
|---|---|---|
|
region |
String |
Region name. |
|
region_configuration_status |
String |
Region status, which can be ENABLE or DISABLE. |
Status code: 403
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. |
|
error_msg |
String |
Error message. |
|
request_id |
String |
Unique ID of the request. |
|
encoded_authorization_message |
String |
Encrypted error message. |
|
details |
Array of ForbiddenErrorDetail objects |
Error message indicating no permissions for cross-service invoking. |
Example Requests
Querying all configurations of the current landing zone
GET https://{endpoint}/v1/landing-zone/configuration
Example Responses
Status code: 200
Request succeeded.
{
"common_configuration" : {
"home_region" : "string",
"cloud_trail_type" : true
},
"logging_configuration" : {
"access_logging_bucket" : {
"retention_days" : 5475
},
"logging_bucket" : {
"retention_days" : 5475
}
},
"organization_structure" : [ {
"organizational_unit_name" : "string",
"organizational_unit_type" : "CORE",
"accounts" : [ {
"account_name" : "string",
"account_type" : "LOGGING"
} ]
} ],
"regions" : [ {
"region" : "string",
"region_configuration_status" : "ENABLED"
} ]
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request succeeded. |
|
403 |
No permissions. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot