MongoDbPostInstallSetupProps
- class aws_rfdk.MongoDbPostInstallSetupProps(*, mongo_db, users, vpc, vpc_subnets=None)
Bases:
objectInput properties for MongoDbPostInstallSetup.
- Parameters:
mongo_db (
IMongoDb) – The MongoDB that we will connect to to perform the post-installation steps upon.users (
Union[MongoDbUsers,Dict[str,Any]]) – The Users that should be created in the MongoDB database. This construct will create these users only if they do not already exist. If a user does already exist, then it will not be modified.vpc (
IVpc) – The VPC in which to create the network endpoint for the lambda function that is created by this construct.vpc_subnets (
Union[SubnetSelection,Dict[str,Any],None]) – Where within the VPC to place the lambda function’s endpoint. Default: The instance is placed within a Private subnet.
Attributes
- mongo_db
The MongoDB that we will connect to to perform the post-installation steps upon.
- users
The Users that should be created in the MongoDB database.
This construct will create these users only if they do not already exist. If a user does already exist, then it will not be modified.
- vpc
The VPC in which to create the network endpoint for the lambda function that is created by this construct.
- vpc_subnets
Where within the VPC to place the lambda function’s endpoint.
- Default:
The instance is placed within a Private subnet.