landing_zone_operations
Creates, updates, deletes, gets or lists a landing_zone_operations resource.
Overview
| Name | landing_zone_operations |
| Type | Resource |
| Id | aws.controltower.landing_zone_operations |
Fields
The following fields are returned by SELECT queries:
- get_landing_zone_operation
- list_landing_zone_operations
| Name | Datatype | Description |
|---|---|---|
end_time | string (date-time) | The landing zone operation end time. |
operation_identifier | string | The operationIdentifier of the landing zone operation. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>) |
operation_type | string | The landing zone operation type. Valid values: DELETE: The DeleteLandingZone operation. CREATE: The CreateLandingZone operation. UPDATE: The UpdateLandingZone operation. RESET: The ResetLandingZone operation. (DELETE, CREATE, UPDATE, RESET) |
start_time | string (date-time) | The landing zone operation start time. |
status | string | Valid values: SUCCEEDED: The landing zone operation succeeded. IN_PROGRESS: The landing zone operation is in progress. FAILED: The landing zone operation failed. (SUCCEEDED, FAILED, IN_PROGRESS) |
status_message | string | If the operation result is FAILED, this string contains a message explaining why the operation failed. |
| Name | Datatype | Description |
|---|---|---|
operation_identifier | string | The operationIdentifier of the landing zone operation. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>) |
operation_type | string | The type of the landing zone operation. (DELETE, CREATE, UPDATE, RESET) |
status | string | The status of the landing zone operation. (SUCCEEDED, FAILED, IN_PROGRESS) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_landing_zone_operation | select | region | Returns the status of the specified landing zone operation. Details for an operation are available for 90 days. | |
list_landing_zone_operations | select | region | Lists all landing zone operations from the past 90 days. Results are sorted by time, with the most recent operation first. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_landing_zone_operation
- list_landing_zone_operations
Returns the status of the specified landing zone operation. Details for an operation are available for 90 days.
SELECT
end_time,
operation_identifier,
operation_type,
start_time,
status,
status_message
FROM aws.controltower.landing_zone_operations
WHERE region = '{{ region }}' -- required
;
Lists all landing zone operations from the past 90 days. Results are sorted by time, with the most recent operation first.
SELECT
operation_identifier,
operation_type,
status
FROM aws.controltower.landing_zone_operations
WHERE region = '{{ region }}' -- required
;