interface LimitsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pinpoint.CfnCampaign.LimitsProperty |
Java | software.amazon.awscdk.services.pinpoint.CfnCampaign.LimitsProperty |
Python | aws_cdk.aws_pinpoint.CfnCampaign.LimitsProperty |
TypeScript | @aws-cdk/aws-pinpoint » CfnCampaign » LimitsProperty |
Specifies the limits on the messages that a campaign can send.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pinpoint from '@aws-cdk/aws-pinpoint';
const limitsProperty: pinpoint.CfnCampaign.LimitsProperty = {
daily: 123,
maximumDuration: 123,
messagesPerSecond: 123,
session: 123,
total: 123,
};
Properties
Name | Type | Description |
---|---|---|
daily? | number | The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. |
maximum | number | The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign. |
messages | number | The maximum number of messages that a campaign can send each second. |
session? | number | CfnCampaign.LimitsProperty.Session . |
total? | number | The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. |
daily?
Type:
number
(optional)
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period.
The maximum value is 100.
maximumDuration?
Type:
number
(optional)
The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign.
The minimum value is 60 seconds.
messagesPerSecond?
Type:
number
(optional)
The maximum number of messages that a campaign can send each second.
The minimum value is 1. The maximum value is 20,000.
session?
Type:
number
(optional)
CfnCampaign.LimitsProperty.Session
.
total?
Type:
number
(optional)
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign.
The maximum value is 100.