Docs Menu

Docs HomeLaunch & Manage MongoDBAtlas CLI

atlas dataLakePipelines create

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options
  • Examples

Creates a new Data Lake Pipeline.

To use this command, you must authenticate with a user account or an API key with the Project Owner role.

Command Syntax
atlas dataLakePipelines create <pipelineName> [options]
Name
Type
Required
Description
pipelineName
string
true
Label that identifies the pipeline
Name
Type
Required
Description
-f, --file
string
false

Name of the JSON data lake pipeline configuration file to use.

Mutually exclusive with --sinkType, --sinkMetadataProvider, --sinkMetadataRegion, --sinkPartitionField, --sourceType, --sourceClusterName, --sourceCollectionName, --sourceDatabaseName, --sourcePolicyItemId, --transform.

-h, --help
false
help for create
-o, --output
string
false
Output format. Valid values are json, json-path, go-template, or go-template-file. To see the full output, use the -o json option.
--projectId
string
false
Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable.
--sinkMetadataProvider
string
false

Target cloud provider for this data lake pipeline.

Mutually exclusive with --file.

--sinkMetadataRegion
string
false

Target cloud provider region for this data lake pipeline.

Mutually exclusive with --file.

--sinkPartitionField
strings
false

Ordered fields used to physically organize data in the destination.

Mutually exclusive with --file.

--sinkType
string
false

Type of ingestion destination for this data lake pipeline.

Mutually exclusive with --file.

--sourceClusterName
string
false

Human-readable label that identifies the source cluster.

Mutually exclusive with --file.

--sourceCollectionName
string
false

Human-readable label that identifies the source collection.

Mutually exclusive with --file.

--sourceDatabaseName
string
false

Human-readable label that identifies the source database.

Mutually exclusive with --file.

--sourcePolicyItemId
string
false

Human-readable label that identifies the policy item.

Mutually exclusive with --file.

--sourceType
string
false

Type of ingestion source for this data lake pipeline.

Mutually exclusive with --file.

--transform
strings
false

Fields to exclude for this data lake pipeline.

Mutually exclusive with --file.

Name
Type
Required
Description
-P, --profile
string
false
Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.
# create data lake pipeline:
atlas dataLakePipelines create Pipeline1 --sinkType CPS --sinkMetadataProvider AWS --sinkMetadataRegion us-east-1 --sinkPartitionField name:0,summary:1 --sourceType PERIODIC_CPS --sourceClusterName Cluster1 --sourceDatabaseName sample_airbnb --sourceCollectionName listingsAndReviews --sourcePolicyItemId 507f1f77bcf86cd799439011 --transform EXCLUDE:space,EXCLUDE:notes
← atlas dataLakePipelines availableSnapshots list