File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
javav2/example_code/stepfunctions/src/main/java/com/example/stepfunctions Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -80,15 +80,15 @@ public static void main(String[] args) throws Exception {
8080 jsonFile - The location of the chat_sfn_state_machine.json file. You can located it in resources/sample_files.
8181 """ ;
8282
83- // if (args.length != 3 ) {
84- // System.out.println(usage);
85- // System.exit(1);
86- // }
87-
88- String roleName = "stepFunctionsRole380" ; // args[0];
89- String activityName = "ScottActivity" ; // args[1];
90- String stateMachineName = "Scott670Machine" ; // args[2];
91- String jsonFile = "C: \\ AWS \\ chat.json" ;
83+ if (args .length != 4 ) {
84+ System .out .println (usage );
85+ System .exit (1 );
86+ }
87+
88+ String roleName = args [0 ];
89+ String activityName = args [1 ];
90+ String stateMachineName = args [2 ];
91+ String jsonFile = args [ 3 ] ;
9292 String polJSON = "{\n " +
9393 " \" Version\" : \" 2012-10-17\" ,\n " +
9494 " \" Statement\" : [\n " +
You can’t perform that action at this time.
0 commit comments