Interface CfnDashboard.FrequencyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDashboard.FrequencyProperty.Jsii$Proxy
- Enclosing class:
CfnDashboard
@Stability(Stable)
public static interface CfnDashboard.FrequencyProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the frequency for a dashboard refresh schedule.
For a custom dashboard, you can schedule a refresh for every 1, 6, 12, or 24 hours, or every day.
Example:
// 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.*;
FrequencyProperty frequencyProperty = FrequencyProperty.builder()
.unit("unit")
.value(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDashboard.FrequencyPropertystatic final classAn implementation forCfnDashboard.FrequencyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUnit
The unit to use for the refresh.For custom dashboards, the unit can be
HOURSorDAYS.For the Highlights dashboard, the
Unitmust beHOURS.- See Also:
-
getValue
The value for the refresh schedule.For custom dashboards, the following values are valid when the unit is
HOURS:1,6,12,24For custom dashboards, the only valid value when the unit is
DAYSis1.For the Highlights dashboard, the
Valuemust be6.- See Also:
-
builder
-