Class CfnApplicationSettings

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:46.898Z") @Stability(Stable) public class CfnApplicationSettings extends CfnResource implements IInspectable
Specifies the settings for an Amazon Pinpoint application.

In Amazon Pinpoint, an application (also referred to as an app or project ) is a collection of related settings, customer information, segments, and campaigns, and other types of Amazon Pinpoint resources.

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.*;
 CfnApplicationSettings cfnApplicationSettings = CfnApplicationSettings.Builder.create(this, "MyCfnApplicationSettings")
         .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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnApplicationSettings

      protected CfnApplicationSettings(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnApplicationSettings

      protected CfnApplicationSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnApplicationSettings

      @Stability(Stable) public CfnApplicationSettings(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationSettingsProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getApplicationId

      @Stability(Stable) @NotNull public String getApplicationId()
      The unique identifier for the Amazon Pinpoint application.
    • setApplicationId

      @Stability(Stable) public void setApplicationId(@NotNull String value)
      The unique identifier for the Amazon Pinpoint application.
    • getCampaignHook

      @Stability(Stable) @Nullable public Object getCampaignHook()
      The settings for the Lambda function to use by default as a code hook for campaigns in the application.
    • setCampaignHook

      @Stability(Stable) public void setCampaignHook(@Nullable IResolvable value)
      The settings for the Lambda function to use by default as a code hook for campaigns in the application.
    • setCampaignHook

      @Stability(Stable) public void setCampaignHook(@Nullable CfnApplicationSettings.CampaignHookProperty value)
      The settings for the Lambda function to use by default as a code hook for campaigns in the application.
    • getCloudWatchMetricsEnabled

      @Stability(Stable) @Nullable public Object getCloudWatchMetricsEnabled()
    • setCloudWatchMetricsEnabled

      @Stability(Stable) public void setCloudWatchMetricsEnabled(@Nullable Boolean value)
    • setCloudWatchMetricsEnabled

      @Stability(Stable) public void setCloudWatchMetricsEnabled(@Nullable IResolvable value)
    • getLimits

      @Stability(Stable) @Nullable public Object getLimits()
      The default sending limits for campaigns in the application.
    • setLimits

      @Stability(Stable) public void setLimits(@Nullable IResolvable value)
      The default sending limits for campaigns in the application.
    • setLimits

      @Stability(Stable) public void setLimits(@Nullable CfnApplicationSettings.LimitsProperty value)
      The default sending limits for campaigns in the application.
    • getQuietTime

      @Stability(Stable) @Nullable public Object getQuietTime()
      The default quiet time for campaigns in the application.
    • setQuietTime

      @Stability(Stable) public void setQuietTime(@Nullable IResolvable value)
      The default quiet time for campaigns in the application.
    • setQuietTime

      @Stability(Stable) public void setQuietTime(@Nullable CfnApplicationSettings.QuietTimeProperty value)
      The default quiet time for campaigns in the application.