aws-cdk-lib.aws_autoscaling_common.IRandomGenerator

interface IRandomGenerator

LanguageType name
.NETAmazon.CDK.AWS.AutoScaling.Common.IRandomGenerator
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsautoscalingcommon#IRandomGenerator
Javasoftware.amazon.awscdk.services.autoscaling.common.IRandomGenerator
Pythonaws_cdk.aws_autoscaling_common.IRandomGenerator
TypeScript (source)aws-cdk-lib » aws_autoscaling_common » IRandomGenerator

Methods

NameDescription
nextBoolean()
nextInt(min, max)

nextBoolean()

public nextBoolean(): boolean

Returns

  • boolean

nextInt(min, max)

public nextInt(min: number, max: number): number

Parameters

  • min number
  • max number

Returns

  • number