Skip to content

Commit

Permalink
Move tests to separate files, minimize permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
msambol committed Nov 17, 2024
1 parent 2d4ea38 commit 0aca775
Show file tree
Hide file tree
Showing 23 changed files with 34,031 additions and 1,742 deletions.
10 changes: 5 additions & 5 deletions packages/@aws-cdk/aws-pipes-alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,16 @@ Messages from the source are put into the body of the target message.

## Source

A source is a AWS Service that is polled. The following Sources are
possible:
A source is a AWS Service that is polled. The following sources are possible:

- [Amazon DynamoDB stream](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-dynamodb.html)
- [Amazon Kinesis stream](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kinesis.html)
- [Amazon MQ broker](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-mq.html)
- [Amazon MSK stream](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-msk.html)
- [Self managed Apache Kafka stream](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kafka.html)
- [Amazon SQS queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-sqs.html)
- [Apache Kafka stream](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kafka.html)

Currently, DynamoDB, Kinesis, and SQS are supported. Others will be added in the future.

### Example source

Expand Down Expand Up @@ -260,8 +261,7 @@ This transformation forwards the static text to the target.

## Enrichment

In the enrichment step the (un)filtered payloads from the source can be used to
invoke one of the following services
In the enrichment step the (un)filtered payloads from the source can be used to invoke one of the following services:

- API destination
- Amazon API Gateway
Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-pipes-alpha/lib/logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export interface S3LogDestinationProps {
* The format for the log records.
*
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-s3logdestination.html#cfn-pipes-pipe-s3logdestination-outputformat
* @default `S3OutputFormat.PLAIN`
* @default `S3OutputFormat.JSON`
*/
readonly outputFormat?: S3OutputFormat;
/**
Expand Down Expand Up @@ -228,6 +228,6 @@ export class S3LogDestination implements ILogDestination {
}

grantPush(pipeRole: IRole): void {
this.parameters.bucket.grantWrite(pipeRole);
this.parameters.bucket.grantPut(pipeRole);
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0aca775

Please sign in to comment.