Event Targets for Amazon EventBridge
---This library contains integration classes to send Amazon EventBridge to any
number of supported AWS Services. Instances of these classes should be passed
to the rule.addTarget() method.
Currently supported are:
- Start a CodeBuild build
- Start a CodePipeline pipeline
- Run an ECS task
- Invoke a Lambda function
- Publish a message to an SNS topic
- Send a message to an SQS queue
- Start a StepFunctions state machine
- Queue a Batch job
- Make an AWS API call
- Put a record to a Kinesis stream
- Log an event into a LogGroup
- Put a record to a Kinesis Data Firehose stream
See the README of the @aws-cdk/aws-events library for more information on
EventBridge.
LogGroup
Use the LogGroup target to log your events in a CloudWatch LogGroup.
For example, the following code snippet creates an event rule with a CloudWatch LogGroup as a target.
Every events sent from the aws.ec2 source will be sent to the CloudWatch LogGroup.
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
import aws_cdk.aws_logs as logs
import aws_cdk.aws_events as events
import aws_cdk.aws_events_targets as targets
log_group = logs.LogGroup(self, "MyLogGroup",
log_group_name="MyLogGroup"
)
rule = events.Rule(self, "rule",
event_pattern=EventPattern(
source=["aws.ec2"]
)
)
rule.add_target(targets.CloudWatchLogGroup(log_group))
Metadata
Release files for aws-cdk.aws-events-targets 1.90.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aws-cdk.aws-events-targets-1.90.1.tar.gz | 72.8 kB | Without provenance | Details for aws-cdk.aws-events-targets-1.90.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aws_cdk.aws_events_targets-1.90.1-py3-none-any.whl | Python 3 | none | any | Details for aws_cdk.aws_events_targets-1.90.1-py3-none-any.whl |
Total release size: 144.1 kB
Release files / aws-cdk.aws-events-targets-1.90.1.tar.gz
| Download URL | aws-cdk.aws-events-targets-1.90.1.tar.gz |
|---|---|
| Size | 72.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e39fd4e5bacba2e0e42e1192d282a8dbc547861a605f32f10f9345fb4e95799e
|
|
BLAKE2b-256 checksum How to use checksums |
7d2a46523d22a2c825cd013e6fde4296933d5b15c66e5934cb18ab65ada318fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.5
|
Release files / aws_cdk.aws_events_targets-1.90.1-py3-none-any.whl
| Download URL | aws_cdk.aws_events_targets-1.90.1-py3-none-any.whl |
|---|---|
| Size | 71.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1860babcf384c46822d002a55937cc4fa4a08dbf82e098a9e825835b25342ee8
|
|
BLAKE2b-256 checksum How to use checksums |
5d5883f67b92ed554d03bebe56fd467fcc2f799971df5a0fe2408da2862cef2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.5
|
Security for aws-cdk.aws-events-targets 1.90.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.