AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added PowerShell V5 example for Get-CFCloudFrontOriginAccessIdentity cmdlet

Security assessment

Shows how to retrieve origin access identity details which are security-related resources, but does not indicate any security fixes

Diff

diff --git a/code-library/latest/ug/cloudfront_example_cloudfront_GetCloudFrontOriginAccessIdentity_section.md b/code-library/latest/ug/cloudfront_example_cloudfront_GetCloudFrontOriginAccessIdentity_section.md
index 97df8b6f2..d4dd78cc8 100644
--- a//code-library/latest/ug/cloudfront_example_cloudfront_GetCloudFrontOriginAccessIdentity_section.md
+++ b//code-library/latest/ug/cloudfront_example_cloudfront_GetCloudFrontOriginAccessIdentity_section.md
@@ -68,0 +69,21 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example returns a specific Amazon CloudFront origin access identity, specified by the -Id parameter. Although the -Id parameter is not required, if you do not specify it, no results are returned.**
+    
+    
+    Get-CFCloudFrontOriginAccessIdentity -Id E3XXXXXXXXXXRT
+    
+
+**Output:**
+    
+    
+          CloudFrontOriginAccessIdentityConfig    Id                                      S3CanonicalUserId
+          ------------------------------------    --                                      -----------------
+          Amazon.CloudFront.Model.CloudFrontOr... E3XXXXXXXXXXRT                          4b6e...
+
+  * For API details, see [GetCloudFrontOriginAccessIdentity](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+