SizeConversionOptions

class aws_cdk.core.SizeConversionOptions(*, rounding=None)

Bases: object

Options for how to convert time to a different unit.

Parameters

rounding (Optional[SizeRoundingBehavior]) – How conversions should behave when it encounters a non-integer result. Default: SizeRoundingBehavior.FAIL

Attributes

rounding

How conversions should behave when it encounters a non-integer result.

Default

SizeRoundingBehavior.FAIL

Return type

Optional[SizeRoundingBehavior]