You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWS SDK for JavaScript ControlTower Client for Node.js, Browser and React Native.
8
8
9
-
<p>Amazon Web Services Control Tower offers application programming interface (API) operations that support programmatic interaction with these types of resources:</p>
9
+
<p>Amazon Web Services Control Tower offers application programming interface (API)
10
+
operations that support programmatic interaction with these types of resources:</p>
10
11
<ul>
11
12
<li>
12
13
<p>
@@ -50,7 +51,8 @@ AWS SDK for JavaScript ControlTower Client for Node.js, Browser and React Native
@@ -179,45 +188,80 @@ AWS SDK for JavaScript ControlTower Client for Node.js, Browser and React Native
179
188
<p>To call these APIs, you'll need to know:</p>
180
189
<ul>
181
190
<li>
182
-
<p>the <code>controlIdentifier</code> for the control--or guardrail--you are targeting.</p>
191
+
<p>the <code>controlIdentifier</code> for the control--or guardrail--you are
192
+
targeting.</p>
183
193
</li>
184
194
<li>
185
-
<p>the ARN associated with the target organizational unit (OU), which we call the <code>targetIdentifier</code>.</p>
195
+
<p>the ARN associated with the target organizational unit (OU), which we call the
196
+
<code>targetIdentifier</code>.</p>
186
197
</li>
187
198
<li>
188
199
<p>the ARN associated with a resource that you wish to tag or untag.</p>
189
200
</li>
190
201
</ul>
191
202
<p>
192
-
<b>To get the <code>controlIdentifier</code> for your Amazon Web Services Control Tower
193
-
control:</b>
203
+
<b>To get the <code>controlIdentifier</code> for your Amazon Web Services Control Tower control:</b>
204
+
</p>
205
+
<p>The <code>controlIdentifier</code> is an ARN that is specified for each control. You can
206
+
view the <code>controlIdentifier</code> in the console on the <b>Control
207
+
details</b> page, as well as in the documentation.</p>
208
+
<p>
209
+
<b>About identifiers for Amazon Web Services Control Tower</b>
194
210
</p>
195
-
<p>The <code>controlIdentifier</code> is an ARN that is specified for each
196
-
control. You can view the <code>controlIdentifier</code> in the console on the <b>Control details</b> page, as well as in the documentation.</p>
197
-
<p>The <code>controlIdentifier</code> is unique in each Amazon Web Services Region for each control. You can
198
-
find the <code>controlIdentifier</code> for each Region and control in the <ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/control-metadata-tables.html">Tables of control metadata</a> or the <ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/control-region-tables.html">Control availability by Region tables</a> in the <i>Amazon Web Services Control Tower Controls Reference Guide</i>.</p>
199
-
<p>A quick-reference list of control identifers for the Amazon Web Services Control Tower legacy <i>Strongly recommended</i> and
200
-
<i>Elective</i> controls is given in <ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html.html">Resource identifiers for
201
-
APIs and controls</a> in the <ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html">
211
+
<p>The Amazon Web Services Control Tower <code>controlIdentifier</code> is unique in each Amazon Web Services Region for each
212
+
control. You can find the <code>controlIdentifier</code> for each Region and control in the
213
+
<ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/control-metadata-tables.html">Tables of control metadata</a> or the <ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/control-region-tables.html">Control
214
+
availability by Region tables</a> in the <i>Amazon Web Services Control Tower
215
+
Controls Reference Guide</i>.</p>
216
+
<p>A quick-reference list of control identifers for the Amazon Web Services Control Tower
217
+
legacy <i>Strongly recommended</i> and <i>Elective</i> controls
218
+
is given in <ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html.html">Resource
219
+
identifiers for APIs and controls</a> in the <ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html">
202
220
<i>Amazon Web Services Control Tower Controls Reference Guide</i>
203
-
</a>. Remember that <i>Mandatory</i> controls cannot be added or removed.</p>
221
+
</a>. Remember
222
+
that <i>Mandatory</i> controls cannot be added or removed.</p>
<p>You can find the <code>{CONTROL_CATALOG_OPAQUE_ID}</code> in the <ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/all-global-identifiers.html">
250
+
<i>Amazon Web Services Control Tower Controls Reference
251
+
Guide</i>
252
+
</a>, or in the Amazon Web Services Control Tower console, on the
253
+
<b>Control details</b> page.</p>
254
+
<p>The Amazon Web Services Control Tower APIs for enabled controls, such as
255
+
<code>GetEnabledControl</code> and <code>ListEnabledControls</code> always return an
256
+
ARN of the same type given when the control was enabled.</p>
215
257
</note>
216
258
<p>
217
259
<b>To get the <code>targetIdentifier</code>:</b>
218
260
</p>
219
261
<p>The <code>targetIdentifier</code> is the ARN for an OU.</p>
220
-
<p>In the Amazon Web Services Organizations console, you can find the ARN for the OU on the <b>Organizational unit details</b> page associated with that OU.</p>
262
+
<p>In the Amazon Web Services Organizations console, you can find the ARN for the OU on the
263
+
<b>Organizational unit details</b> page associated with that
264
+
OU.</p>
221
265
<note>
222
266
<p>
223
267
<b>OU ARN format:</b>
@@ -229,14 +273,46 @@ APIs and controls</a> in the <a href="https://docs.aws.amazon.com/controltower/l
229
273
<p>
230
274
<b> About landing zone APIs</b>
231
275
</p>
232
-
<p>You can configure and launch an Amazon Web Services Control Tower landing zone with APIs. For an introduction and steps, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/getting-started-apis.html">Getting started with Amazon Web Services Control Tower using APIs</a>.</p>
233
-
<p>For an overview of landing zone API operations, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/2023-all.html#landing-zone-apis"> Amazon Web Services Control Tower supports landing zone APIs</a>. The individual API operations for landing zones are detailed in this document, the <ahref="https://docs.aws.amazon.com/controltower/latest/APIReference/API_Operations.html">API reference manual</a>, in the "Actions" section.</p>
276
+
<p>You can configure and launch an Amazon Web Services Control Tower landing zone with APIs.
277
+
For an introduction and steps, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/getting-started-apis.html">Getting started with
278
+
Amazon Web Services Control Tower using APIs</a>.</p>
279
+
<p>For an overview of landing zone API operations, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/2023-all.html#landing-zone-apis">
280
+
Amazon Web Services Control Tower supports landing zone APIs</a>. The individual API
281
+
operations for landing zones are detailed in this document, the <ahref="https://docs.aws.amazon.com/controltower/latest/APIReference/API_Operations.html">API reference
282
+
manual</a>, in the "Actions" section.</p>
234
283
<p>
235
284
<b>About baseline APIs</b>
236
285
</p>
237
-
<p>You can apply the <code>AWSControlTowerBaseline</code> baseline to an organizational unit (OU) as a way to register the OU with Amazon Web Services Control Tower, programmatically. For a general overview of this capability, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/2024-all.html#baseline-apis">Amazon Web Services Control Tower supports APIs for OU registration and configuration with baselines</a>.</p>
238
-
<p>You can call the baseline API operations to view the baselines that Amazon Web Services Control Tower enables for your landing zone, on your behalf, when setting up the landing zone. These baselines are read-only baselines.</p>
239
-
<p>The individual API operations for baselines are detailed in this document, the <ahref="https://docs.aws.amazon.com/controltower/latest/APIReference/API_Operations.html">API reference manual</a>, in the "Actions" section. For usage examples, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html">Baseline API input and output examples with CLI</a>.</p>
286
+
<p>You can apply the <code>AWSControlTowerBaseline</code> baseline to an organizational
287
+
unit (OU) as a way to register the OU with Amazon Web Services Control Tower,
288
+
programmatically. For a general overview of this capability, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/2024-all.html#baseline-apis">Amazon Web Services Control Tower supports APIs for OU registration and configuration
289
+
with baselines</a>.</p>
290
+
<p>You can call the baseline API operations to view the baselines that Amazon Web Services
291
+
Control Tower enables for your landing zone, on your behalf, when setting up the landing
292
+
zone. These baselines are read-only baselines.</p>
293
+
<p>The individual API operations for baselines are detailed in this document, the <ahref="https://docs.aws.amazon.com/controltower/latest/APIReference/API_Operations.html">API
294
+
reference manual</a>, in the "Actions" section. For usage examples, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html">Baseline API input and output examples with CLI</a>.</p>
295
+
<p>
296
+
<b> About Amazon Web Services Control Catalog identifiers</b>
297
+
</p>
298
+
<ul>
299
+
<li>
300
+
<p>The <code>EnableControl</code> and <code>DisableControl</code> API operations can
301
+
be called by specifying either the Amazon Web Services Control Tower identifer or the
302
+
Amazon Web Services Control Catalog identifier. The API response returns the same
303
+
type of identifier that you specified when calling the API.</p>
304
+
</li>
305
+
<li>
306
+
<p>If you use an Amazon Web Services Control Tower identifier to call the
307
+
<code>EnableControl</code> API, and then call <code>EnableControl</code> again
308
+
with an Amazon Web Services Control Catalog identifier, Amazon Web Services Control
309
+
Tower returns an error message stating that the control is already enabled. Similar
310
+
behavior applies to the <code>DisableControl</code> API operation. </p>
311
+
</li>
312
+
<li>
313
+
<p>Mandatory controls and the landing-zone-level Region deny control have Amazon Web Services Control Tower identifiers only.</p>
314
+
</li>
315
+
</ul>
240
316
<pclass="title">
241
317
<b>Details and examples</b>
242
318
</p>
@@ -248,47 +324,56 @@ APIs and controls</a> in the <a href="https://docs.aws.amazon.com/controltower/l
248
324
</li>
249
325
<li>
250
326
<p>
251
-
<ahref="https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html">Baseline API input and output examples with CLI</a>
327
+
<ahref="https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html">Baseline API input
328
+
and output examples with CLI</a>
252
329
</p>
253
330
</li>
254
331
<li>
255
332
<p>
256
-
<ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/enable-controls.html">Enable controls with CloudFormation</a>
<ahref="https://docs.aws.amazon.com/controltower/latest/controlreference/control-region-tables.html">Control availability by Region tables (large page)</a>
<ahref="https://docs.aws.amazon.com/controltower/latest/userguide/creating-resources-with-cloudformation.html">Creating Amazon Web Services Control Tower resources with Amazon Web Services CloudFormation</a>
375
+
<ahref="https://docs.aws.amazon.com/controltower/latest/userguide/creating-resources-with-cloudformation.html">Creating Amazon Web Services Control Tower resources with Amazon Web Services
376
+
CloudFormation</a>
292
377
</p>
293
378
</li>
294
379
</ul>
@@ -297,13 +382,14 @@ APIs and controls</a> in the <a href="https://docs.aws.amazon.com/controltower/l
297
382
<p>
298
383
<b>Recording API Requests</b>
299
384
</p>
300
-
<p>Amazon Web Services Control Tower supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your
301
-
Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected by
302
-
CloudTrail, you can determine which requests the Amazon Web Services Control Tower service received, who made
303
-
the request and when, and so on. For more about Amazon Web Services Control Tower and its support for
304
-
CloudTrail, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/logging-using-cloudtrail.html">Logging Amazon Web Services Control Tower
305
-
Actions with Amazon Web Services CloudTrail</a> in the Amazon Web Services Control Tower User Guide. To learn more about
306
-
CloudTrail, including how to turn it on and find your log files, see the Amazon Web Services CloudTrail User
385
+
<p>Amazon Web Services Control Tower supports Amazon Web Services CloudTrail, a service that
386
+
records Amazon Web Services API calls for your Amazon Web Services account and delivers log
387
+
files to an Amazon S3 bucket. By using information collected by CloudTrail, you can
388
+
determine which requests the Amazon Web Services Control Tower service received, who made
389
+
the request and when, and so on. For more about Amazon Web Services Control Tower and its
390
+
support for CloudTrail, see <ahref="https://docs.aws.amazon.com/controltower/latest/userguide/logging-using-cloudtrail.html">Logging Amazon Web Services Control Tower Actions with Amazon Web Services CloudTrail</a> in the
391
+
Amazon Web Services Control Tower User Guide. To learn more about CloudTrail, including
392
+
how to turn it on and find your log files, see the Amazon Web Services CloudTrail User
0 commit comments