Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--mongodb-atlas-customdbrole.json
Parent schema serverless-framework-configuration
Type: object

Returns, adds, edits, and removes custom database user privilege roles.. Source:- No source definition found, add manually please

Properties

ProjectId string | Aws_CF_FunctionString required

Unique 24-hexadecimal digit string that identifies your project.

RoleName string | Aws_CF_FunctionString required

Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project.

Actions Action[]

List of the individual privilege actions that the role grants.

InheritedRoles InheritedRole[]

List of the built-in roles that this custom role inherits.

Profile string | Aws_CF_FunctionString

The profile is defined in AWS Secret manager. See Secret Manager Profile setup.

Definitions

InheritedRole object
Db string | Aws_CF_FunctionString
Role string | Aws_CF_FunctionString
Resource object

List of resources on which you grant the action.

Collection string | Aws_CF_FunctionString

Human-readable label that identifies the collection on which you grant the action to one MongoDB user. If you don't set this parameter, you grant the action to all collections in the database specified in the actions.resources.db parameter. If you set "actions.resources.cluster" : true, MongoDB Cloud ignores this parameter.

DB string | Aws_CF_FunctionString

Human-readable label that identifies the database on which you grant the action to one MongoDB user. If you set "actions.resources.cluster" : true, MongoDB Cloud ignores this parameter.

Cluster boolean

Flag that indicates whether to grant the action on the cluster resource. If true, MongoDB Cloud ignores the actions.resources.collection and actions.resources.db parameters.

Action object
Action string | Aws_CF_FunctionString

Human-readable label that identifies the privilege action.

Resources Resource[]

List of resources on which you grant the action.