aws-cdk-lib.aws_fsx.LustreMaintenanceTime

class LustreMaintenanceTime

LanguageType name
.NETAmazon.CDK.AWS.FSx.LustreMaintenanceTime
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsfsx#LustreMaintenanceTime
Javasoftware.amazon.awscdk.services.fsx.LustreMaintenanceTime
Pythonaws_cdk.aws_fsx.LustreMaintenanceTime
TypeScript (source)aws-cdk-lib » aws_fsx » LustreMaintenanceTime

Class for scheduling a weekly manitenance time.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fsx as fsx } from 'aws-cdk-lib';
const lustreMaintenanceTime = new fsx.LustreMaintenanceTime({
  day: fsx.Weekday.MONDAY,
  hour: 123,
  minute: 123,
});

Initializer

new LustreMaintenanceTime(props: LustreMaintenanceTimeProps)

Parameters

  • props LustreMaintenanceTimeProps

Methods

NameDescription
toTimestamp()Converts a day, hour, and minute into a timestamp as used by FSx for Lustre's weeklyMaintenanceStartTime field.

toTimestamp()

public toTimestamp(): string

Returns

  • string

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