CLI로 DeregisterPatchBaselineForPatchGroup 사용 - AWS Systems Manager

CLI로 DeregisterPatchBaselineForPatchGroup 사용

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

CLI
AWS CLI

패치 기준에서 패치 그룹을 등록 취소하는 방법

다음 deregister-patch-baseline-for-patch-group 예제에서는 지정된 패치 기준에서 지정된 패치 그룹을 등록 취소합니다.

aws ssm deregister-patch-baseline-for-patch-group \ --patch-group "Production" \ --baseline-id "pb-0ca44a362fEXAMPLE"

출력:

{ "PatchGroup":"Production", "BaselineId":"pb-0ca44a362fEXAMPLE" }

자세한 내용은 AWS Systems Manager 사용 설명서의 패치 기준에 패치 그룹 추가를 참조하세요.

PowerShell
Tools for PowerShell V4

예제 1: 이 예제에서는 패치 기준에서 패치 그룹을 등록 취소합니다.

Unregister-SSMPatchBaselineForPatchGroup -BaselineId "pb-045f10b4f382baeda" -PatchGroup "Production"

출력:

BaselineId PatchGroup ---------- ---------- pb-045f10b4f382baeda Production
Tools for PowerShell V5

예제 1: 이 예제에서는 패치 기준에서 패치 그룹을 등록 취소합니다.

Unregister-SSMPatchBaselineForPatchGroup -BaselineId "pb-045f10b4f382baeda" -PatchGroup "Production"

출력:

BaselineId PatchGroup ---------- ---------- pb-045f10b4f382baeda Production

AWS SDK 개발자 가이드 및 코드 예시의 전체 목록은 AWS SDK와 함께 이 서비스 사용 섹션을 참조하세요. 이 주제에는 시작하기에 대한 정보와 이전 SDK 버전에 대한 세부 정보도 포함되어 있습니다.