AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/eks_example_eks_CreateCluster_section.md

Summary

Added PowerShell V5 example for EKS cluster creation with security group configuration

Security assessment

The example demonstrates security group configuration which is a security feature, but doesn't address any specific security vulnerability. It documents proper security group usage for cluster creation.

Diff

diff --git a/code-library/latest/ug/eks_example_eks_CreateCluster_section.md b/code-library/latest/ug/eks_example_eks_CreateCluster_section.md
index a97e2dd47..b83129bd6 100644
--- a//code-library/latest/ug/eks_example_eks_CreateCluster_section.md
+++ b//code-library/latest/ug/eks_example_eks_CreateCluster_section.md
@@ -149,0 +150,29 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example creates a new cluster called 'prod'.**
+    
+    
+    New-EKSCluster -Name prod -ResourcesVpcConfig @{SubnetIds=@("subnet-0a1b2c3d","subnet-3a2b1c0d");SecurityGroupIds="sg-6979fe18"} -RoleArn "arn:aws:iam::012345678901:role/eks-service-role"
+    
+
+**Output:**
+    
+    
+    Arn                  : arn:aws:eks:us-west-2:012345678901:cluster/prod
+    CertificateAuthority : Amazon.EKS.Model.Certificate
+    ClientRequestToken   :
+    CreatedAt            : 12/10/2018 9:25:31 PM
+    Endpoint             :
+    Name                 : prod
+    PlatformVersion      : eks.3
+    ResourcesVpcConfig   : Amazon.EKS.Model.VpcConfigResponse
+    RoleArn              : arn:aws:iam::012345678901:role/eks-service-role
+    Status               : CREATING
+    Version              : 1.10
+
+  * For API details, see [CreateCluster](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+