AWS Security ChangesHomeSearch

AWS IAM: Fix broken AWS SDK links in Java/Ruby examples

Service: IAM · 2026-08-19 · Documentation low

File: IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.md

Summary

Corrected URLs for AWS SDK documentation links by removing incorrect prefix.

Security assessment

Change fixes broken external links; no security impact or vulnerability addressed.

Evidence

+The following example shows how to use Java to programmatically construct a URL that gives users direct access to the AWS Management Console. The following code snippet uses the [AWS SDK for Java](http://aws.amazon.com/documentation/sdkforjava/).

Diff

diff --git a/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.md b/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.md
index 1f3bd51b0..3aa7ca38e 100644
--- a//IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.md
+++ b//IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.md
@@ -355 +355 @@ Do not include `SessionDuration` if your `AssumeRoleSession` credentials are fro
-The following example shows how to use Java to programmatically construct a URL that gives users direct access to the AWS Management Console. The following code snippet uses the [AWS SDK for Java](https://docs.aws.amazon.com/http://aws.amazon.com/documentation/sdkforjava/).
+The following example shows how to use Java to programmatically construct a URL that gives users direct access to the AWS Management Console. The following code snippet uses the [AWS SDK for Java](http://aws.amazon.com/documentation/sdkforjava/).
@@ -458 +458 @@ The following example shows how to use Java to programmatically construct a URL
-The following example shows how to use Ruby to programmatically construct a URL that gives users direct access to the AWS Management Console. This code snippet uses the [AWS SDK for Ruby](https://docs.aws.amazon.com/http://aws.amazon.com/documentation/sdkforruby/). 
+The following example shows how to use Ruby to programmatically construct a URL that gives users direct access to the AWS Management Console. This code snippet uses the [AWS SDK for Ruby](http://aws.amazon.com/documentation/sdkforruby/).