TimeConversionOptions
- class aws_cdk.core.TimeConversionOptions(*, integral=None)
- Bases: - object- Options for how to convert time to a different unit. - Parameters:
- integral ( - Optional[- bool]) – If- true, conversions into a larger time unit (e.g.- Secondsto- Minutes) will fail if the result is not an integer. Default: true
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.core as cdk time_conversion_options = cdk.TimeConversionOptions( integral=False ) - Attributes - integral
- If - true, conversions into a larger time unit (e.g.- Secondsto- Minutes) will fail if the result is not an integer.- Default:
- true