interface MongoDbInstanceProps
Language | Type name |
---|---|
![]() | aws_rfdk.MongoDbInstanceProps |
![]() | aws-rfdk » MongoDbInstanceProps |
Properties for a newly created {@link MongoDbInstance}.
Properties
Name | Type | Description |
---|---|---|
mongo | Mongo | Properties for the MongoDB application that will be running on the instance. |
vpc | IVpc | The VPC in which to create the MongoDbInstance. |
instance | Instance | The type of instance to launch. |
key | string | Name of the EC2 SSH keypair to grant access to the instance. |
log | Log | Properties for setting up the MongoDB Instance's LogGroup in CloudWatch. |
role? | IRole | An IAM role to associate with the instance profile that is assigned to this instance. |
security | ISecurity | The security group to assign to this instance. |
vpc | Subnet | Where to place the instance within the VPC. |
mongoDb
Type:
Mongo
Properties for the MongoDB application that will be running on the instance.
vpc
Type:
IVpc
The VPC in which to create the MongoDbInstance.
instanceType?
Type:
Instance
(optional, default: r5.large)
The type of instance to launch.
Note that this must be an x86-64 instance type.
keyName?
Type:
string
(optional, default: No SSH access will be possible.)
Name of the EC2 SSH keypair to grant access to the instance.
logGroupProps?
Type:
Log
(optional, default: LogGroup will be created with all properties' default values to the LogGroup: /renderfarm/
Properties for setting up the MongoDB Instance's LogGroup in CloudWatch.
role?
Type:
IRole
(optional, default: A role will automatically be created, it can be accessed via the role
property.)
An IAM role to associate with the instance profile that is assigned to this instance.
The role must be assumable by the service principal ec2.amazonaws.com
securityGroup?
Type:
ISecurity
(optional, default: A new security group is created for this instance.)
The security group to assign to this instance.
vpcSubnets?
Type:
Subnet
(optional, default: The instance is placed within a Private subnet.)
Where to place the instance within the VPC.