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 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南