Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / / / /

mongocli atlas privateEndpoints onlineArchive aws create

On this page

  • Syntax
  • Options
  • Inherited Options

Create a new Data Lake private endpoint for your project.

When you run this command: - If the endpoint ID already exists and there is no change to the associated comment, Atlas Data Lake makes no change to the endpoint ID list. - If the endpoint ID already exists and there is a change to the associated comment, Atlas Data Lake updates the comment value only in the endpoint ID list. - If the endpoint ID doesn't exist, Atlas Data Lake appends the new endpoint to the list of endpoints in the endpoint ID list. Your API key must have the GROUP_ATLAS_ADMIN (Project Owner) role to create a private endpoint.

mongocli atlas privateEndpoints onlineArchive aws create [options]
Name
Type
Required
Description
--comment
string
false
Optional description or comment for the entry.
-h, --help
false
help for create
-o, --output
string
false
Output format. Valid values are json, json-path, go-template, or go-template-file.
--privateEndpointId
string
true
Unique identifier of the AWS PrivateLink connection.
--projectId
string
false
Project ID to use. Overrides the settings in the configuration file or environment variable.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Back

aws