class LustreMaintenanceTime
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FSx.LustreMaintenanceTime |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsfsx#LustreMaintenanceTime |
Java | software.amazon.awscdk.services.fsx.LustreMaintenanceTime |
Python | aws_cdk.aws_fsx.LustreMaintenanceTime |
TypeScript (source) | aws-cdk-lib » aws_fsx » LustreMaintenanceTime |
Class for scheduling a weekly maintenance 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
Methods
Name | Description |
---|---|
to | 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.