IRandomGenerator

class aws_cdk.aws_autoscaling_common.IRandomGenerator(*args, **kwargs)

Bases: typing_extensions.Protocol

stability :stability: experimental

__init__(*args, **kwargs)

Methods

next_boolean()

stability :stability: experimental

Return type

bool

next_int(min, max)
Parameters
  • min (Union[int, float]) –

  • max (Union[int, float]) –

stability :stability: experimental

Return type

Union[int, float]