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?

Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande