Skip to main content

landing_zones

Creates, updates, deletes or gets a landing_zone resource or lists landing_zones in a region

Overview

Namelanding_zones
TypeResource
DescriptionDefinition of AWS::ControlTower::LandingZone Resource Type
Idawscc.controltower.landing_zones

Fields

NameDatatypeDescription
statusstring
latest_available_versionstring
versionstring
drift_statusstring
arnstring
manifestobject
landing_zone_identifierstring
tagsarray
regionstringAWS region.

For more information, see AWS::ControlTower::LandingZone.

Methods

NameResourceAccessible byRequired Params
create_resourcelanding_zonesINSERTManifest, Version, region
delete_resourcelanding_zonesDELETEIdentifier, region
update_resourcelanding_zonesUPDATEIdentifier, PatchDocument, region
list_resourceslanding_zones_list_onlySELECTregion
get_resourcelanding_zonesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual landing_zone.

SELECT
region,
status,
latest_available_version,
version,
drift_status,
arn,
manifest,
landing_zone_identifier,
tags
FROM awscc.controltower.landing_zones
WHERE
region = 'us-east-1' AND
Identifier = '{{ landing_zone_identifier }}';

INSERT example

Use the following StackQL query and manifest file to create a new landing_zone resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.controltower.landing_zones (
Version,
Manifest,
region
)
SELECT
'{{ version }}',
'{{ manifest }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a landing_zone resource, using stack-deploy.

/*+ update */
UPDATE awscc.controltower.landing_zones
SET PatchDocument = string('{{ {
"Version": version,
"Manifest": manifest,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ landing_zone_identifier }}';

DELETE example

/*+ delete */
DELETE FROM awscc.controltower.landing_zones
WHERE
Identifier = '{{ landing_zone_identifier }}' AND
region = 'us-east-1';

Permissions

To operate on the landing_zones resource, the following permissions are required:

controltower:GetLandingZone,
controltower:ListTagsForResource