Skip to content

Commit

Permalink
added exactly_one_of to each ingestion data source
Browse files Browse the repository at this point in the history
  • Loading branch information
andreigurau committed Sep 24, 2024
1 parent b144e91 commit 62a3bd7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mmv1/products/pubsub/Topic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ properties:
name: 'awsKinesis'
description: |
Settings for ingestion from Amazon Kinesis Data Streams.
exactly_one_of:
- aws_kinesis
- cloud_storage
properties:
- !ruby/object:Api::Type::String
name: 'streamArn'
Expand Down Expand Up @@ -197,6 +200,9 @@ properties:
- !ruby/object:Api::Type::NestedObject
name: 'cloudStorage'
description: Settings for ingestion from Cloud Storage.
exactly_one_of:
- aws_kinesis
- cloud_storage
properties:
- !ruby/object:Api::Type::String
name: 'bucket'
Expand Down

0 comments on commit 62a3bd7

Please sign in to comment.