Skip to content

Commit d324ea9

Browse files
committed
updated scenario
1 parent 133f023 commit d324ea9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

javav2/example_code/controltower/src/main/java/com/example/controltower/scenario/ControlTowerScenario.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,22 @@
1414
import static java.lang.System.in;
1515
import static java.lang.System.out;
1616

17+
18+
/**
19+
* Before running this Java V2 code example, set up your development
20+
* environment, including your credentials.
21+
*
22+
* For more information, see the following documentation topic:
23+
*
24+
* https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/get-started.html
25+
*
26+
* Use the AWS SDK for Java (v2) to create an AWS Control Tower client
27+
* and list all available baselines.
28+
* This example uses the default settings specified in your shared credentials
29+
* and config files.
30+
*/
31+
32+
// snippet-start:[controltower.java2.controltower_scenario.main]
1733
public class ControlTowerScenario {
1834

1935
public static final String DASHES = new String(new char[80]).replace("\0", "-");
@@ -259,3 +275,4 @@ private static void waitForInputToContinue(Scanner sc) {
259275
}
260276
}
261277
}
278+
// snippet-end:[controltower.java2.controltower_scenario.main]

0 commit comments

Comments
 (0)