cdk notices - AWS Cloud Development Kit (AWS CDK) v2

AWS CDK v2 개발자 안내서입니다. 구형 CDK v1은 2022년 6월 1일에 유지 보수에 들어갔고 2023년 6월 1일에 지원이 종료되었습니다.

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

cdk notices

CDK 애플리케이션에 대한 알림 표시.

알림에는 보안 취약성, 회귀, 지원되지 않는 버전 사용에 관한 중요 메시지가 포함될 수 있습니다.

이 명령은 승인 여부에 관계없이 관련 알림을 표시합니다. 기본적으로 모든 명령 뒤에 관련 알림이 표시될 수도 있습니다.

다음과 같은 방법으로 알림을 숨길 수 있습니다.

  • 명령 옵션을 통해 다음은 그 예제입니다.

    $ cdk deploy --no-notices
  • 프로젝트 파일의 컨텍스트를 통해 모든 알림을 무기한 숨기세요. cdk.json

    { "notices": false, "context": { // ... } }
  • 명령을 사용하여 각 알림을 확인합니다. cdk acknowledge

사용량

$ cdk notices <options>

옵션

모든 CDK CLI 명령에 사용할 수 있는 글로벌 옵션 목록은 을 참조하십시오글로벌 옵션.

--help, -h BOOLEAN

명령에 대한 명령 참조 정보를 표시합니다. cdk notices

예제

cdk deploy 명령 실행 후 표시되는 기본 알림의 예

$ cdk deploy ... # Normal output of the command NOTICES 16603 Toggling off auto_delete_objects for Bucket empties the bucket Overview: If a stack is deployed with an S3 bucket with auto_delete_objects=True, and then re-deployed with auto_delete_objects=False, all the objects in the bucket will be deleted. Affected versions: <1.126.0. More information at: https://github.com/aws/aws-cdk/issues/16603 17061 Error when building EKS cluster with monocdk import Overview: When using monocdk/aws-eks to build a stack containing an EKS cluster, error is thrown about missing lambda-layer-node-proxy-agent/layer/package.json. Affected versions: >=1.126.0 <=1.130.0. More information at: https://github.com/aws/aws-cdk/issues/17061 If you don’t want to see an notice anymore, use "cdk acknowledge ID". For example, "cdk acknowledge 16603"

cdk notices 명령어 실행의 간단한 예

$ cdk notices NOTICES 16603 Toggling off auto_delete_objects for Bucket empties the bucket Overview: if a stack is deployed with an S3 bucket with auto_delete_objects=True, and then re-deployed with auto_delete_objects=False, all the objects in the bucket will be deleted. Affected versions: framework: <=2.15.0 >=2.10.0 More information at: https://github.com/aws/aws-cdk/issues/16603 If you don’t want to see a notice anymore, use "cdk acknowledge <id>". For example, "cdk acknowledge 16603"