modify imageScan Attribute of ECR in CDK

0

I have a private ECR imported in CDK: import { Repository } from 'aws-cdk-lib/aws-ecr'; const cdkEcrRepo = Repository.fromRepositoryName(this, 'cdkEcrRepo ', 'my_existing_repo');

Now I want to change the attribute imageScanOnPush. Not sure, how I can sett this Attribute to a new value?

質問済み 1年前42ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ