Interface CfnApplicationSettingsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationSettingsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.755Z")
@Stability(Stable)
public interface CfnApplicationSettingsProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.pinpoint.*;
CfnApplicationSettingsProps cfnApplicationSettingsProps = CfnApplicationSettingsProps.builder()
.applicationId("applicationId")
// the properties below are optional
.campaignHook(CampaignHookProperty.builder()
.lambdaFunctionName("lambdaFunctionName")
.mode("mode")
.webUrl("webUrl")
.build())
.cloudWatchMetricsEnabled(false)
.limits(LimitsProperty.builder()
.daily(123)
.maximumDuration(123)
.messagesPerSecond(123)
.total(123)
.build())
.quietTime(QuietTimeProperty.builder()
.end("end")
.start("start")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationSettingsPropsstatic final classAn implementation forCfnApplicationSettingsProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The unique identifier for the Amazon Pinpoint application.default ObjectThe settings for the Lambda function to use by default as a code hook for campaigns in the application.default ObjectSpecifies whether to enable application-related alarms in Amazon CloudWatch.default ObjectThe default sending limits for campaigns in the application.default ObjectThe default quiet time for campaigns in the application.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationId
The unique identifier for the Amazon Pinpoint application. -
getCampaignHook
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.
-
getCloudWatchMetricsEnabled
Specifies whether to enable application-related alarms in Amazon CloudWatch. -
getLimits
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.
-
getQuietTime
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.
- The
-
builder
-