class DailyAutomaticBackupStartTime
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FSx.DailyAutomaticBackupStartTime |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsfsx#DailyAutomaticBackupStartTime |
Java | software.amazon.awscdk.services.fsx.DailyAutomaticBackupStartTime |
Python | aws_cdk.aws_fsx.DailyAutomaticBackupStartTime |
TypeScript (source) | aws-cdk-lib » aws_fsx » DailyAutomaticBackupStartTime |
Class for scheduling a daily automatic backup time.
Example
import * as cdk from 'aws-cdk-lib';
const lustreConfiguration = {
// ...
automaticBackupRetention: cdk.Duration.days(3), // backup retention
copyTagsToBackups: true, // if true, tags are copied to backups
dailyAutomaticBackupStartTime: new fsx.DailyAutomaticBackupStartTime({ hour: 11, minute: 30 }), // backup window
// ...
}
Initializer
new DailyAutomaticBackupStartTime(props: DailyAutomaticBackupStartTimeProps)
Parameters
Methods
Name | Description |
---|---|
to | Converts an hour, and minute into HH:MM string. |
Timestamp()
topublic toTimestamp(): string
Returns
string
Converts an hour, and minute into HH:MM string.