mongocli atlas privateEndpoints dataLakes aws create
On this page
mongocli atlas
commands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use mongocli atlas
commands until April 30, 2023.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.
Syntax
mongocli atlas privateEndpoints dataLakes aws create [options]
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. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |