1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Hello.
"startOnCreation" is a setting to automatically start when creating a trigger.
Changing this setting to "false" for an existing trigger will not disable the trigger.
So, how about stopping it from the AWS CLI or management console?
https://docs.aws.amazon.com/glue/latest/dg/activate-triggers.html
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- ¿Cómo puedo hacer una llamada al SDK de AWS desde un proyecto de CDK mediante la interfaz AWSdkCall?OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace un año
I am looking for a solution to do this through cdk.
As far as I know, CDK does not allow you to stop Glue triggers. So, how about creating a custom resource with CDK and creating a Lambda that executes the "stop_trigger" API? If it is a custom resource, I think it can be controlled with CDK. https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib-readme.html#custom-resources https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue/client/stop_trigger.html#