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?

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions