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

v AWS CDK 2 개발자 안내서입니다. 이전 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"