Class CfnCampaign.ScheduleProperty
Specifies the schedule settings for a campaign.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ScheduleProperty : Object, CfnCampaign.IScheduleProperty
Syntax (vb)
Public Class ScheduleProperty
Inherits Object
Implements CfnCampaign.IScheduleProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var attributes;
var metrics;
var scheduleProperty = new ScheduleProperty {
EndTime = "endTime",
EventFilter = new CampaignEventFilterProperty {
Dimensions = new EventDimensionsProperty {
Attributes = attributes,
EventType = new SetDimensionProperty {
DimensionType = "dimensionType",
Values = new [] { "values" }
},
Metrics = metrics
},
FilterType = "filterType"
},
Frequency = "frequency",
IsLocalTime = false,
QuietTime = new QuietTimeProperty {
End = "end",
Start = "start"
},
StartTime = "startTime",
TimeZone = "timeZone"
};
Synopsis
Constructors
ScheduleProperty() |
Properties
EndTime | The scheduled time, in ISO 8601 format, when the campaign ended or will end. |
EventFilter | The type of event that causes the campaign to be sent, if the value of the |
Frequency | Specifies how often the campaign is sent or whether the campaign is sent in response to a specific event. |
IsLocalTime | Specifies whether the start and end times for the campaign schedule use each recipient's local time. |
QuietTime | The default quiet time for the campaign. |
StartTime | The scheduled time when the campaign began or will begin. |
TimeZone | The starting UTC offset for the campaign schedule, if the value of the |
Constructors
ScheduleProperty()
public ScheduleProperty()
Properties
EndTime
The scheduled time, in ISO 8601 format, when the campaign ended or will end.
public string EndTime { get; set; }
Property Value
System.String
Remarks
EventFilter
The type of event that causes the campaign to be sent, if the value of the Frequency
property is EVENT
.
public object EventFilter { get; set; }
Property Value
System.Object
Remarks
Frequency
Specifies how often the campaign is sent or whether the campaign is sent in response to a specific event.
public string Frequency { get; set; }
Property Value
System.String
Remarks
IsLocalTime
Specifies whether the start and end times for the campaign schedule use each recipient's local time.
public object IsLocalTime { get; set; }
Property Value
System.Object
Remarks
To base the schedule on each recipient's local time, set this value to true
.
QuietTime
The default quiet time for the campaign.
public object QuietTime { get; set; }
Property Value
System.Object
Remarks
Quiet time is a specific time range when a campaign doesn't send messages to endpoints, if all the following conditions are met:
If any of the preceding conditions isn't met, the endpoint will receive messages from the campaign, even if quiet time is enabled.
StartTime
The scheduled time when the campaign began or will begin.
public string StartTime { get; set; }
Property Value
System.String
Remarks
Valid values are: IMMEDIATE
, to start the campaign immediately; or, a specific time in ISO 8601 format.
TimeZone
The starting UTC offset for the campaign schedule, if the value of the IsLocalTime
property is true
.
public string TimeZone { get; set; }
Property Value
System.String
Remarks
Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30, UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+09, UTC+09:30, UTC+10, UTC+10:30, UTC+11, UTC+12, UTC+13, UTC-02, UTC-03, UTC-04, UTC-05, UTC-06, UTC-07, UTC-08, UTC-09, UTC-10,
and UTC-11
.