interface IRandomGenerator
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AutoScaling.Common.IRandomGenerator |
Java | software.amazon.awscdk.services.autoscaling.common.IRandomGenerator |
Python | aws_cdk.aws_autoscaling_common.IRandomGenerator |
TypeScript (source) | @aws-cdk/aws-autoscaling-common » IRandomGenerator |
Methods
Name | Description |
---|---|
next | |
next |
Boolean()
nextpublic nextBoolean(): boolean
Returns
boolean
Int(min, max)
nextpublic nextInt(min: number, max: number): number
Parameters
- min
number
- max
number
Returns
number