Resource: awsPinpointApp
Provides a Pinpoint App resource.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.pinpointApp.PinpointApp(this, "example", {
limits: {
maximumDuration: 600,
},
name: "test-app",
quietTime: {
end: "06:00",
start: "00:00",
},
});
Argument Reference
The following arguments are supported:
name
- (Optional) The application name. By default generated by TerraformnamePrefix
- (Optional) The name of the Pinpoint application. Conflicts withname
campaignHook
- (Optional) Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaignlimits
- (Optional) The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its ownquietTime
- (Optional) The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its owntags
- (Optional) Key-value map of resource tags. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
campaignHook
supports the following:
lambdaFunctionName
- (Optional) Lambda function name or ARN to be called for delivery. Conflicts withwebUrl
mode
- (Required iflambdaFunctionName
orwebUrl
are provided) What mode Lambda should be invoked in. Valid values for this parameter aredelivery
,filter
.webUrl
- (Optional) Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request. Conflicts withlambdaFunctionName
limits
supports the following:
daily
- (Optional) The maximum number of messages that the campaign can send daily.maximumDuration
- (Optional) The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60.messagesPerSecond
- (Optional) The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000.total
- (Optional) The maximum total number of messages that the campaign can send.
quietTime
supports the following:
end
- (Optional) The default end time for quiet time in ISO 8601 format. Required ifstart
is setstart
- (Optional) The default start time for quiet time in ISO 8601 format. Required ifend
is set
Attributes Reference
In addition to all arguments above, the following attributes are exported:
applicationId
- The Application ID of the Pinpoint App.arn
- Amazon Resource Name (ARN) of the PinPoint ApplicationtagsAll
- A map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
Pinpoint App can be imported using the applicationId
, e.g.,