Metadata-Version: 2.1
Name: aws-cdk.aws-lambda-destinations
Version: 1.20.0
Summary: CDK Destinations Constructs for AWS Lambda
Home-page: https://github.com/aws/aws-cdk
Author: Amazon Web Services
License: Apache-2.0
Project-URL: Source, https://github.com/aws/aws-cdk.git
Description: ## Amazon Lambda Destinations Library
        
        <!--BEGIN STABILITY BANNER-->---
        
        
        ![Stability: Stable](https://img.shields.io/badge/stability-Stable-success.svg?style=for-the-badge)
        
        ---
        <!--END STABILITY BANNER-->
        
        This library provides constructs for adding destinations to a Lambda function.
        Destinations can be added by specifying the `onFailure` or `onSuccess` props when creating a function or alias.
        
        ## Destinations
        
        The following destinations are supported
        
        * Lambda function
        * SQS queue
        * SNS topic
        * EventBridge event bus
        
        Example with a SNS topic for sucessful invocations:
        
        ```python
        # Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
        import aws_cdk.aws_lambda as lambda
        import aws_cdk.aws_lambda_destinations as destinations
        import aws_cdk.aws_sns as sns
        
        my_topic = sns.Topic(self, "Topic")
        
        my_fn = lambda.Function(self, "Fn",
            # other props
            on_success=destinations.SnsDestionation(my_topic)
        )
        ```
        
        See also [Configuring Destinations for Asynchronous Invocation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations).
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Typing :: Typed
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved
Requires-Python: >=3.6
Description-Content-Type: text/markdown
