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

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

CLI로 CancelUpdateStack 사용

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

CLI
AWS CLI

진행 중인 스택 업데이트를 취소하는 방법

다음 cancel-update-stack 명령은 myteststack 스택의 스택 업데이트를 취소합니다.

aws cloudformation cancel-update-stack --stack-name myteststack
  • API 세부 정보는 AWS CLI 명령 참조CancelUpdateStack 섹션을 참조하세요.

PowerShell
Tools for PowerShell V4

예 1: 지정된 스택에 대한 업데이트를 취소합니다.

Stop-CFNUpdateStack -StackName "myStack"
  • API 세부 정보는 AWS Tools for PowerShell Cmdlet 참조(V4)CancelUpdateStack을 참조하세요.

Tools for PowerShell V5

예 1: 지정된 스택에 대한 업데이트를 취소합니다.

Stop-CFNUpdateStack -StackName "myStack"
  • API 세부 정보는 AWS Tools for PowerShell Cmdlet 참조(V5)CancelUpdateStack을 참조하세요.