Skip to content

Commit

Permalink
Add autoDelete, fix name conflicts in integ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
biffgaut committed Nov 19, 2023
1 parent 630a57a commit 9892363
Show file tree
Hide file tree
Showing 77 changed files with 3,048 additions and 713 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@ const app = new App();
// Empty arguments
const stack = new Stack(app, generateIntegStackName(__filename));

new EventbridgeToKinesisFirehoseToS3(stack, 'test-kinesisfirehose-s3', {
new EventbridgeToKinesisFirehoseToS3(stack, 'evtfhss3-custom-log-bucket', {
eventRuleProps: {
schedule: events.Schedule.rate(Duration.minutes(5))
},
bucketProps: {
removalPolicy: RemovalPolicy.DESTROY,
autoDeleteObjects: true,
},
loggingBucketProps: {
removalPolicy: RemovalPolicy.DESTROY,
autoDeleteObjects: true,
bucketName: 'custom-logging-bucket',
bucketName: `${generateIntegStackName(__filename).toLowerCase()}-custom-logging-bucket`,
encryption: s3.BucketEncryption.S3_MANAGED,
versioned: true
},
Expand Down
Loading

0 comments on commit 9892363

Please sign in to comment.