SizeConversionOptions

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

Bases: object

__init__(*, rounding=None)

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

Return type

None

Attributes

rounding

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

default :default: SizeRoundingBehavior.FAIL

Return type

Optional[SizeRoundingBehavior]