interface CfnApplicationSettingsProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Pinpoint.CfnApplicationSettingsProps | 
|  Java | software.amazon.awscdk.services.pinpoint.CfnApplicationSettingsProps | 
|  Python | aws_cdk.aws_pinpoint.CfnApplicationSettingsProps | 
|  TypeScript | @aws-cdk/aws-pinpoint»CfnApplicationSettingsProps | 
Properties for defining a CfnApplicationSettings.
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 cfnApplicationSettingsProps: pinpoint.CfnApplicationSettingsProps = {
  applicationId: 'applicationId',
  // the properties below are optional
  campaignHook: {
    lambdaFunctionName: 'lambdaFunctionName',
    mode: 'mode',
    webUrl: 'webUrl',
  },
  cloudWatchMetricsEnabled: false,
  limits: {
    daily: 123,
    maximumDuration: 123,
    messagesPerSecond: 123,
    total: 123,
  },
  quietTime: {
    end: 'end',
    start: 'start',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| application | string | The unique identifier for the Amazon Pinpoint application. | 
| campaign | IResolvable | Campaign | The settings for the Lambda function to use by default as a code hook for campaigns in the application. | 
| cloud | boolean | IResolvable | Specifies whether to enable application-related alarms in Amazon CloudWatch. | 
| limits? | IResolvable | Limits | The default sending limits for campaigns in the application. | 
| quiet | IResolvable | Quiet | The default quiet time for campaigns in the application. | 
applicationId
Type:
string
The unique identifier for the Amazon Pinpoint application.
campaignHook?
Type:
IResolvable | Campaign
(optional)
The settings for the Lambda function to use by default as a code hook for campaigns in the application.
To override these settings for a specific campaign, use the Campaign resource to define custom Lambda function settings for the campaign.
cloudWatchMetricsEnabled?
Type:
boolean | IResolvable
(optional)
Specifies whether to enable application-related alarms in Amazon CloudWatch.
limits?
Type:
IResolvable | Limits
(optional)
The default sending limits for campaigns in the application.
To override these limits for a specific campaign, use the Campaign resource to define custom limits for the campaign.
quietTime?
Type:
IResolvable | Quiet
(optional)
The default quiet time for campaigns in the application.
Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
- The - EndpointDemographic.Timezoneproperty of the endpoint is set to a valid value.
- The current time in the endpoint's time zone is later than or equal to the time specified by the - QuietTime.Startproperty for the application (or a campaign that has custom quiet time settings).
- The current time in the endpoint's time zone is earlier than or equal to the time specified by the - QuietTime.Endproperty for the application (or a campaign that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
