LustreMaintenanceTime Class
Class for scheduling a weekly maintenance time.
Example
ts
// 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,
});
python
# 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
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fsx.*;
LustreMaintenanceTime lustreMaintenanceTime = LustreMaintenanceTime.Builder.create()
.day(Weekday.MONDAY)
.hour(123)
.minute(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FSx;
var lustreMaintenanceTime = new LustreMaintenanceTime(new LustreMaintenanceTimeProps {
Day = Weekday.MONDAY,
Hour = 123,
Minute = 123
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
lustreMaintenanceTime := awscdk.Aws_fsx.NewLustreMaintenanceTime(&LustreMaintenanceTimeProps{
Day: awscdk.*Aws_fsx.Weekday_MONDAY,
Hour: jsii.Number(123),
Minute: jsii.Number(123),
})
Initializer
ts
new LustreMaintenanceTime(props: LustreMaintenanceTimeProps)
python
LustreMaintenanceTime(props: LustreMaintenanceTimeProps)
java
new LustreMaintenanceTime(LustreMaintenanceTimeProps props)
csharp
new LustreMaintenanceTime(LustreMaintenanceTimeProps props)
go
NewLustreMaintenanceTime(Props LustreMaintenanceTimeProps)
Methods
toTimestamp(): stringdef to_timestamp(self, ) -> strpublic String toTimestamp()public string ToTimestamp()func ToTimestamp() *string#Converts a day, hour, and minute into a timestamp as used by FSx for Lustre's weeklyMaintenanceStartTime field.