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

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.

security-icon

Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.