IMongoDb
- class aws_rfdk.IMongoDb(*args, **kwargs)
Bases:
IConnectable,IConstruct,ProtocolEssential properties of a MongoDB database.
Methods
- add_security_group(*security_groups)
Adds security groups to the database.
- Parameters:
security_groups (
ISecurityGroup) – The security groups to add.- Return type:
None
Attributes
- admin_user
Credentials for the admin user of the database.
This user has database role: [ { role: ‘userAdminAnyDatabase’, db: ‘admin’ }, ‘readWriteAnyDatabase’ ]
- certificate_chain
The certificate chain of trust for the MongoDB application’s server certificate.
The contents of this secret is a single string containing the trust chain in PEM format, and can be saved to a file that is then passed as the –sslCAFile option when connecting to MongoDB using the mongo shell.
- connections
The network connections associated with this resource.
- full_hostname
The full host name that can be used to connect to the MongoDB application running on this instance.
- node
The tree node.
- port
The port to connect to for MongoDB.
- version
The version of MongoDB that is running on this instance.