LustreMaintenanceTime

class aws_cdk.aws_fsx.LustreMaintenanceTime(*, day, hour, minute)

Bases: object

Class for scheduling a weekly maintenance time.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_fsx as fsx

lustre_maintenance_time = fsx.LustreMaintenanceTime(
    day=fsx.Weekday.MONDAY,
    hour=123,
    minute=123
)
Parameters:
  • day (Weekday) – The day of the week for maintenance to be performed.

  • hour (Union[int, float]) – The hour of the day (from 0-23) for maintenance to be performed.

  • minute (Union[int, float]) – The minute of the hour (from 0-59) for maintenance to be performed.

Methods

to_timestamp()

Converts a day, hour, and minute into a timestamp as used by FSx for Lustre’s weeklyMaintenanceStartTime field.

Return type:

str