CodePipeline integration

Lambda can be invoked as part of CodePipeline to automatically clear cache after deployment:

Name: "ClearCache"
Actions:
    -
        Name: "Lambda"
        ActionTypeId:
            Category: "Invoke"
            Owner: "AWS"
            Provider: "Lambda"
            Version: "1"
        Configuration:
            FunctionName: "myLambdaFunction"
            UserParameters: "distributionId"