@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.198Z") @Stability(value=Stable) public interface CfnApplicationSettingsProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplicationSettingsProps.Builder
A builder for
CfnApplicationSettingsProps |
static class |
CfnApplicationSettingsProps.Jsii$Proxy
An implementation for
CfnApplicationSettingsProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplicationSettingsProps.Builder |
builder() |
String |
getApplicationId()
The unique identifier for the Amazon Pinpoint application.
|
default Object |
getCampaignHook()
The settings for the Lambda function to use by default as a code hook for campaigns in the application.
|
default Object |
getCloudWatchMetricsEnabled()
Specifies whether to enable application-related alarms in Amazon CloudWatch.
|
default Object |
getLimits()
The default sending limits for campaigns in the application.
|
default Object |
getQuietTime()
The default quiet time for campaigns in the application.
|
@Stability(value=Stable) @NotNull String getApplicationId()
@Stability(value=Stable) @Nullable default Object getCampaignHook()
To override these settings for a specific campaign, use the Campaign resource to define custom Lambda function settings for the campaign.
@Stability(value=Stable) @Nullable default Object getCloudWatchMetricsEnabled()
@Stability(value=Stable) @Nullable default Object getLimits()
To override these limits for a specific campaign, use the Campaign resource to define custom limits for the campaign.
@Stability(value=Stable) @Nullable default Object getQuietTime()
Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
EndpointDemographic.Timezone property of the endpoint is set to a valid value.QuietTime.Start property for the application (or a campaign that has custom quiet time settings).QuietTime.End property 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.
@Stability(value=Stable) static CfnApplicationSettingsProps.Builder builder()
Copyright © 2022. All rights reserved.