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 hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas