I am trying to write a CloudFormation template that creates an S3 bucket with triggers to a Lambda function that gets created in CodePipeline. But I am not sure how to accom