AWS Amazon Pinpoint APNS Voip Sandbox Channel
This page shows how to write Terraform and CloudFormation for Amazon Pinpoint APNS Voip Sandbox Channel and write them securely.
aws_pinpoint_apns_voip_sandbox_channel (Terraform)
The APNS Voip Sandbox Channel in Amazon Pinpoint can be configured in Terraform with the resource name aws_pinpoint_apns_voip_sandbox_channel
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_pinpoint_apns_voip_sandbox_channel" "this" {
application_id = var.application_id
bundle_id = var.bundle_id
certificate = var.certificate
default_authentication_method = var.default_authentication_method
enabled = var.enabled
Parameters
-
application_id
required - string -
bundle_id
optional - string -
certificate
optional - string -
default_authentication_method
optional - string -
enabled
optional - bool -
id
optional computed - string -
private_key
optional - string -
team_id
optional - string -
token_key
optional - string -
token_key_id
optional - string
Explanation in Terraform Registry
Provides a Pinpoint APNs VoIP Sandbox Channel resource.
Note: All arguments, including certificates and tokens, will be stored in the raw state as plain-text. Read more about sensitive data in state.
AWS::Pinpoint::APNSVoipSandboxChannel (CloudFormation)
The APNSVoipSandboxChannel in Pinpoint can be configured in CloudFormation with the resource name AWS::Pinpoint::APNSVoipSandboxChannel
. The following sections describe 9 examples of how to use the resource and its parameters.
Example Usage from GitHub
Type: AWS::Pinpoint::APNSVoipSandboxChannel
Properties:
ApplicationId: !Ref applicationid
Type: AWS::Pinpoint::APNSVoipSandboxChannel
Properties:
ApplicationId: !Ref PinpointApp
Type: AWS::Pinpoint::APNSVoipSandboxChannel
Properties:
PrivateKey: b@d0@u7H70K3n
ApplicationId: !Ref PinpointApp
Type: AWS::Pinpoint::APNSVoipSandboxChannel
Properties:
ApplicationId: !Ref PinpointApp
Type: AWS::Pinpoint::APNSVoipSandboxChannel
Properties:
TokenKey: b@d0@u7H70K3n
ApplicationId: !Ref PinpointApp
"resourceType": "AWS::Pinpoint::APNSVoipSandboxChannel",
"filePath": null
},
{
"resourceType": "AWS::Pinpoint::APNSVoipChannel",
"filePath": null
"AWS::Pinpoint::APNSVoipSandboxChannel": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html",
"Properties": {
"BundleId": {
"Required": false,
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-bundleid",
"AWS::Pinpoint::APNSVoipSandboxChannel": {
"Type": "AWS::Pinpoint::APNSVoipSandboxChannel",
"Properties": {}
},
"AWS::ServiceCatalog::Portfolio": {
"Type": "AWS::ServiceCatalog::Portfolio",
"Type": "AWS::Pinpoint::APNSVoipSandboxChannel",
"Properties": {
"PrivateKey": {
"Ref": "TestParameter"
},
"TokenKey": {
Parameters
ApplicationId
The unique identifier for the application that the APNs VoIP sandbox channel applies to.
Required: Yes
Type: String
Update requires: Replacement
BundleId
The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
Required: No
Type: String
Update requires: No interruption
Certificate
The APNs client certificate that you received from Apple. Specify this value if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using an APNs certificate.
Required: No
Type: String
Update requires: No interruption
DefaultAuthenticationMethod
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs. Valid options are key
or certificate
.
Required: No
Type: String
Update requires: No interruption
Enabled
Specifies whether the APNs VoIP sandbox channel is enabled for the application.
Required: No
Type: Boolean
Update requires: No interruption
PrivateKey
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.
Required: No
Type: String
Update requires: No interruption
TeamId
The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
Required: No
Type: String
Update requires: No interruption
TokenKey
The authentication key to use for APNs tokens.
Required: No
Type: String
Update requires: No interruption
TokenKeyId
The key identifier that's assigned to your APNs signing key. Specify this value if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs tokens.
Required: No
Type: String
Update requires: No interruption
Explanation in CloudFormation Registry
A channel is a type of platform that you can deliver messages to. You can use the APNs VoIP sandbox channel to send VoIP notification messages to the sandbox environment of the Apple Push Notification service (APNs). Before you can use Amazon Pinpoint to send VoIP notifications to the APNs sandbox environment, you have to enable the APNs VoIP sandbox channel for an Amazon Pinpoint application.
The APNSVoipSandboxChannel resource represents the status and authentication settings of the APNs VoIP sandbox channel for an application.
Frequently asked questions
What is AWS Amazon Pinpoint APNS Voip Sandbox Channel?
AWS Amazon Pinpoint APNS Voip Sandbox Channel is a resource for Amazon Pinpoint of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS Amazon Pinpoint APNS Voip Sandbox Channel?
For Terraform, the niveklabs/aws source code example is useful. See the Terraform Example section for further details.
For CloudFormation, the rubyonrails3/cfn-rules, stelligent/cfn_nag and stelligent/cfn_nag source code examples are useful. See the CloudFormation Example section for further details.