Sélectionner vos préférences de cookies

Nous utilisons des cookies essentiels et des outils similaires qui sont nécessaires au fonctionnement de notre site et à la fourniture de nos services. Nous utilisons des cookies de performance pour collecter des statistiques anonymes afin de comprendre comment les clients utilisent notre site et d’apporter des améliorations. Les cookies essentiels ne peuvent pas être désactivés, mais vous pouvez cliquer sur « Personnaliser » ou « Refuser » pour refuser les cookies de performance.

Si vous êtes d’accord, AWS et les tiers approuvés utiliseront également des cookies pour fournir des fonctionnalités utiles au site, mémoriser vos préférences et afficher du contenu pertinent, y compris des publicités pertinentes. Pour accepter ou refuser tous les cookies non essentiels, cliquez sur « Accepter » ou « Refuser ». Pour effectuer des choix plus détaillés, cliquez sur « Personnaliser ».

Automating DataBrew with CloudWatch Events - AWS Glue DataBrew
Cette page n'a pas été traduite dans votre langue. Demande de traduction

Automating DataBrew with CloudWatch Events

Amazon CloudWatch Events enables you to automate your AWS services and respond automatically to system events such as application availability issues or resource changes. Events from AWS services are delivered to CloudWatch Events in near-real time. You can write simple rules to indicate which events are of interest to you, and what automated actions to take when an event matches a rule. The actions that can be automatically triggered include the following:

  • Invoking the Amazon EC2 run command

  • Relaying the event to Amazon Kinesis Data Streams

  • Activating an AWS Step Functions state machine

  • Notifying an Amazon SNS topic or an Amazon SQS queue

DataBrew reports an event to CloudWatch Events whenever the state of a resource in your AWS account changes. Events are emitted on a best effort basis.

Following are examples of several events, showing various states of a DataBrew job: SUCCEEDED, FAILED, TIMEOUT, and STOPPED.

{ "version": "0", "id": "abcdef00-1234-5678-9abc-def012345678", "detail-type": "DataBrew Job State Change", "source": "aws.databrew", "account": "123456789012", "time": "2017-09-07T18:57:21Z", "region": "us-west-2", "resources": [], "detail": { "jobName": "MyJob", "severity": "INFO", "state": "SUCCEEDED", "jobRunId": "db_abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789", "message": "Job run succeeded" } } { "version": "0", "id": "abcdef01-1234-5678-9abc-def012345678", "detail-type": "DataBrew Job State Change", "source": "aws.databrew", "account": "123456789012", "time": "2017-09-07T06:02:03Z", "region": "us-west-2", "resources": [], "detail": { "jobName": "MyJob", "severity": "ERROR", "state": "FAILED", "jobRunId": "db_0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef", "message": "AnalysisException: 'Path does not exist: s3://MyBucket/MyFile;'" } } { "version": "0", "id": "abcdef00-1234-5678-9abc-def012345678", "detail-type": "DataBrew Job State Change", "source": "aws.databrew", "account": "123456789012", "time": "2017-11-20T20:22:06Z", "region": "us-east-2", "resources": [], "detail": { "jobName": "MyJob", "severity": "WARN", "state": "TIMEOUT", "jobRunId": "db_abc0123456789abcdef0123456789abcdef0123456789abcdef0123456789def", "message": "Job run timed out" } } { "version": "0", "id": "abcdef00-1234-5678-9abc-def012345678", "detail-type": "DataBrew Job State Change", "source": "aws.databrew", "account": "123456789012", "time": "2017-11-20T20:22:06Z", "region": "us-east-2", "resources": [], "detail": { "jobName": "MyJob", "severity": "INFO", "state": "STOPPED", "jobRunId": "db_abc0123456789abcdef0123456789abcdef0123456789abcdef0123456789def", "message": "Job run stopped" } }

For more information, see the Amazon CloudWatch Events User Guide.

ConfidentialitéConditions d'utilisation du sitePréférences de cookies
© 2025, Amazon Web Services, Inc. ou ses affiliés. Tous droits réservés.