AWS code-library documentation change
Summary
Added PowerShell V5 example for DescribeCluster operation with sample output
Security assessment
Information retrieval example showing cluster details, not related to security configuration or vulnerabilities.
Diff
diff --git a/code-library/latest/ug/eks_example_eks_DescribeCluster_section.md b/code-library/latest/ug/eks_example_eks_DescribeCluster_section.md index 6b1f98b40..2e11ebc60 100644 --- a//code-library/latest/ug/eks_example_eks_DescribeCluster_section.md +++ b//code-library/latest/ug/eks_example_eks_DescribeCluster_section.md @@ -146,0 +147,32 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This cmdlet returns descriptive information about an Amazon EKS cluster.** + + + Get-EKSCluster -Name "PROD" + + +**Output:** + + + Arn : arn:aws:eks:us-west-2:012345678912:cluster/PROD + CertificateAuthority : Amazon.EKS.Model.Certificate + ClientRequestToken : + CreatedAt : 12/25/2019 6:46:17 AM + Endpoint : https://669608765450FBBE54D1D78A3D71B72C.gr8.us-west-2.eks.amazonaws.com + Identity : Amazon.EKS.Model.Identity + Logging : Amazon.EKS.Model.Logging + Name : PROD + PlatformVersion : eks.7 + ResourcesVpcConfig : Amazon.EKS.Model.VpcConfigResponse + RoleArn : arn:aws:iam::012345678912:role/eks-iam-role + Status : ACTIVE + Tags : {} + Version : 1.14 + + * For API details, see [DescribeCluster](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +