Skip to content
v2.278.0

RefreshScheduleProperty Struct ​

The schedule for a dashboard refresh.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudtrail as cloudtrail } from 'aws-cdk-lib';
const refreshScheduleProperty: cloudtrail.CfnDashboard.RefreshScheduleProperty = {
  frequency: {
    unit: 'unit',
    value: 123,
  },
  status: 'status',
  timeOfDay: 'timeOfDay',
};
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_cloudtrail as cloudtrail

refresh_schedule_property = cloudtrail.CfnDashboard.RefreshScheduleProperty(
    frequency=cloudtrail.CfnDashboard.FrequencyProperty(
        unit="unit",
        value=123
    ),
    status="status",
    time_of_day="timeOfDay"
)
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.cloudtrail.*;

RefreshScheduleProperty refreshScheduleProperty = RefreshScheduleProperty.builder()
        .frequency(FrequencyProperty.builder()
                .unit("unit")
                .value(123)
                .build())
        .status("status")
        .timeOfDay("timeOfDay")
        .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.CloudTrail;

var refreshScheduleProperty = new RefreshScheduleProperty {
    Frequency = new FrequencyProperty {
        Unit = "unit",
        Value = 123
    },
    Status = "status",
    TimeOfDay = "timeOfDay"
};
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"

refreshScheduleProperty := &RefreshScheduleProperty{
	Frequency: &FrequencyProperty{
		Unit: jsii.String("unit"),
		Value: jsii.Number(123),
	},
	Status: jsii.String("status"),
	TimeOfDay: jsii.String("timeOfDay"),
}

Properties ​

frequencyoptionalIResolvable | CfnDashboard.FrequencyPropertyfrequencyoptionaltyping.Union[IResolvable, FrequencyProperty]frequencyoptionalIResolvableFrequencyoptionalIResolvableFrequencyoptionalinterface{} #
The frequency at which you want the dashboard refreshed.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #
Specifies whether the refresh schedule is enabled.

Set the value to ENABLED to enable the refresh schedule, or to DISABLED to turn off the refresh schedule.

timeOfDayoptionalstringtime_of_dayoptionalstrtimeOfDayoptionalStringTimeOfDayoptionalstringTimeOfDayoptional*string #
The time of day in UTC to run the schedule;

for hourly only refer to minutes; default is 00:00.