AWS Security ChangesHomeSearch

AWS cdk documentation change

Service: cdk · 2026-01-16 · Documentation low

File: cdk/v2/guide/hello-world.md

Summary

Replaced 'AWS' references with placeholder in CloudFormation examples and code samples

Security assessment

Consistent branding/placeholder substitutions in template examples without security implications

Diff

diff --git a/cdk/v2/guide/hello-world.md b/cdk/v2/guide/hello-world.md
index 399c4a453..5828fde96 100644
--- a//cdk/v2/guide/hello-world.md
+++ b//cdk/v2/guide/hello-world.md
@@ -783 +783 @@ Located in `src/main/java/…​/HelloCdkStack.java`:
-    using Amazon.CDK.AWS.Lambda;
+    using Amazon.CDK.<shared id="AWS"/>.Lambda;
@@ -1109 +1109 @@ The following is an example output of the CloudFormation template:
-        Type: AWS::IAM::Role
+        Type: <shared id="AWS"/>::IAM::Role
@@ -1122 +1122 @@ The following is an example output of the CloudFormation template:
-                  - Ref: AWS::Partition
+                  - Ref: <shared id="AWS"/>::Partition
@@ -1127 +1127 @@ The following is an example output of the CloudFormation template:
-        Type: AWS::Lambda::Function
+        Type: <shared id="AWS"/>::Lambda::Function
@@ -1156 +1156 @@ The following is an example output of the CloudFormation template:
-        Type: AWS::Lambda::Url
+        Type: <shared id="AWS"/>::Lambda::Url
@@ -1166 +1166 @@ The following is an example output of the CloudFormation template:
-        Type: AWS::Lambda::Permission
+        Type: <shared id="AWS"/>::Lambda::Permission
@@ -1178 +1178 @@ The following is an example output of the CloudFormation template:
-        Type: AWS::CDK::Metadata
+        Type: <shared id="AWS"/>::CDK::Metadata
@@ -1192 +1192 @@ The following is an example output of the CloudFormation template:
-        Type: AWS::SSM::Parameter::Value<String>
+        Type: <shared id="AWS"/>::SSM::Parameter::Value<String>
@@ -1245 +1245 @@ From the root of your project, run the following. Confirm changes if prompted:
-    │ + │ ${HelloWorldFunction/ServiceRole} │ arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole │
+    │ + │ ${HelloWorldFunction/ServiceRole} │ arn:${<shared id="AWS"/>::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole │
@@ -1493 +1493 @@ To preview your changes, run the `cdk diff` command. The following is an example
-    [~] AWS::Lambda::Function HelloWorldFunction HelloWorldFunction<unique-identifier>
+    [~] <shared id="AWS"/>::Lambda::Function HelloWorldFunction HelloWorldFunction<unique-identifier>