AWS systems-manager documentation change
Summary
Modified Java code example to use hardcoded values instead of args parameters and removed credentials provider line
Security assessment
Changes appear to simplify example code by removing dynamic parameters and implicit credentials handling, but no security advisories or vulnerability mitigations are mentioned.
Diff
diff --git a/systems-manager/latest/userguide/example_ssm_Scenario_section.md b/systems-manager/latest/userguide/example_ssm_Scenario_section.md index 58c45f85f..c2ed135c2 100644 --- a//systems-manager/latest/userguide/example_ssm_Scenario_section.md +++ b//systems-manager/latest/userguide/example_ssm_Scenario_section.md @@ -67,4 +67,4 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - String title = args[1]; - String source = args[2]; - String category = args[3]; - String severity = args[4]; + String title = "Disk Space Alert" ; + String source = "EC2" ; + String category = "Availability" ; + String severity = "2" ; @@ -316 +315,0 @@ A wrapper class for Systems Manager SDK methods. - .credentialsProvider(EnvironmentVariableCredentialsProvider.create())