AWS Amazon SNS Platform Application
This page shows how to write Terraform for Amazon SNS Platform Application and write them securely.
aws_sns_platform_application (Terraform)
The Platform Application in Amazon SNS can be configured in Terraform with the resource name aws_sns_platform_application
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
sns.tf#L12
resource "aws_sns_platform_application" "on_call_android" {
name = "sns-app"
platform = "GCM"
failure_feedback_role_arn = aws_iam_role.sns_failure_feedback.arn
success_feedback_role_arn = aws_iam_role.sns_success_feedback.arn
platform_credential = var.sns_platform_credential
Parameters
-
arn
optional computed - string -
event_delivery_failure_topic_arn
optional - string -
event_endpoint_created_topic_arn
optional - string -
event_endpoint_deleted_topic_arn
optional - string -
event_endpoint_updated_topic_arn
optional - string -
failure_feedback_role_arn
optional - string -
id
optional computed - string -
name
required - string -
platform
required - string -
platform_credential
required - string -
platform_principal
optional - string -
success_feedback_role_arn
optional - string -
success_feedback_sample_rate
optional - string
Explanation in Terraform Registry
Provides an SNS platform application resource
CloudFormation Example
CloudFormation code does not have the related resource.
Frequently asked questions
What is AWS Amazon SNS Platform Application?
AWS Amazon SNS Platform Application is a resource for Amazon SNS of Amazon Web Service. Settings can be wrote in Terraform.
Where can I find the example code for the AWS Amazon SNS Platform Application?
For Terraform, the jwoa95/on-call-app-terraform source code example is useful. See the Terraform Example section for further details.