Docs Menu

Docs HomeAtlas Command Line Interface

atlas privateEndpoints dataLakes aws create

On this page

  • Syntax
  • Options
  • Inherited Options
  • Output

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.

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

atlas privateEndpoints dataLakes 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 22-character alphanumeric string that identifies the AWS PrivateLink connection in AWS. You can find this value on the AWS VPC Dashboard under Endpoints > VPC ID.
--projectId
string
false
Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable.
Name
Type
Required
Description
-P, --profile
string
false
Human-readable label that identifies 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. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file.

If the command succeeds, the CLI returns output similar to the following sample. Values in brackets represent your values.

Data Lake private endpoint '{{ (index .Results 0).EndpointID >' created.
←  atlas privateEndpoints dataLakes awsatlas privateEndpoints dataLakes aws delete →

Specify your version