CLI로 DeleteEnvironmentMembership 사용 - AWS SDK 코드 예제

AWS SDK 예제 GitHub 리포지토리에 더 많은 AWS문서 SDK 예제가 있습니다.

CLI로 DeleteEnvironmentMembership 사용

다음 코드 예시는 DeleteEnvironmentMembership의 사용 방법을 보여 줍니다.

CLI
AWS CLI

AWS Cloud9 개발 환경에서 환경 멤버를 삭제하는 방법

이 예제에서는 지정된 환경 멤버를 지정된 AWS Cloud9 개발 환경에서 삭제합니다.

명령:

aws cloud9 delete-environment-membership --environment-id 8a34f51ce1e04a08882f1e811bd706EX --user-arn arn:aws:iam::123456789012:user/AnotherDemoUser

출력:

None.
PowerShell
Tools for PowerShell V4

예제 1: 이 예제에서는 지정된 환경 멤버를 지정된 AWS Cloud9 개발 환경에서 삭제합니다.

Remove-C9EnvironmentMembership -UserArn arn:aws:iam::123456789012:user/AnotherDemoUser -EnvironmentId ffd88420d4824eeeaeaa8a04bfde8cEX
Tools for PowerShell V5

예제 1: 이 예제에서는 지정된 환경 멤버를 지정된 AWS Cloud9 개발 환경에서 삭제합니다.

Remove-C9EnvironmentMembership -UserArn arn:aws:iam::123456789012:user/AnotherDemoUser -EnvironmentId ffd88420d4824eeeaeaa8a04bfde8cEX