AWS code-library documentation change
Summary
Added PowerShell V5 example for DeleteFargateProfile operation with sample output
Security assessment
The change adds a standard operational example for deleting Fargate profiles without any security-specific context or vulnerability mitigation guidance.
Diff
diff --git a/code-library/latest/ug/eks_example_eks_DeleteFargateProfile_section.md b/code-library/latest/ug/eks_example_eks_DeleteFargateProfile_section.md index 2a596533f..d10bb136f 100644 --- a//code-library/latest/ug/eks_example_eks_DeleteFargateProfile_section.md +++ b//code-library/latest/ug/eks_example_eks_DeleteFargateProfile_section.md @@ -96,0 +97,32 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This cmdlet deletes an AWS Fargate profile. When you delete a Fargate profile, any pods running on Fargate that were created with the profile are deleted.** + + + Remove-EKSFargateProfile -FargateProfileName "EKSFargate" -ClusterName "TEST" + + +**Output:** + + + Confirm + Are you sure you want to perform this action? + Performing the operation "Remove-EKSFargateProfile (DeleteFargateProfile)" on target "EKSFargate". + [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y + + ClusterName : TEST + CreatedAt : 12/26/2019 12:34:47 PM + FargateProfileArn : arn:aws:eks:us-east-2:012345678912:fargateprofile/TEST/EKSFargate/42b7a119-e16b-a279-ce97-bdf303adec92 + FargateProfileName : EKSFargate + PodExecutionRoleArn : arn:aws:iam::012345678912:role/AmazonEKSFargatePodExecutionRole + Selectors : {Amazon.EKS.Model.FargateProfileSelector} + Status : DELETING + Subnets : {subnet-0cd976f08d5fbfaae, subnet-02f6ff500ff2067a0} + Tags : {} + + * For API details, see [DeleteFargateProfile](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +