1. Packages
  2. AWS Classic
  3. API Docs
  4. sns
  5. PlatformApplication

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.4.0 published on Tuesday, Oct 3, 2023 by Pulumi

aws.sns.PlatformApplication

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.4.0 published on Tuesday, Oct 3, 2023 by Pulumi

    Provides an SNS platform application resource

    Example Usage

    Apple Push Notification Service (APNS) using certificate-based authentication

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var apnsApplication = new Aws.Sns.PlatformApplication("apnsApplication", new()
        {
            Platform = "APNS",
            PlatformCredential = "<APNS PRIVATE KEY>",
            PlatformPrincipal = "<APNS CERTIFICATE>",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sns.NewPlatformApplication(ctx, "apnsApplication", &sns.PlatformApplicationArgs{
    			Platform:           pulumi.String("APNS"),
    			PlatformCredential: pulumi.String("<APNS PRIVATE KEY>"),
    			PlatformPrincipal:  pulumi.String("<APNS CERTIFICATE>"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.sns.PlatformApplication;
    import com.pulumi.aws.sns.PlatformApplicationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var apnsApplication = new PlatformApplication("apnsApplication", PlatformApplicationArgs.builder()        
                .platform("APNS")
                .platformCredential("<APNS PRIVATE KEY>")
                .platformPrincipal("<APNS CERTIFICATE>")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    apns_application = aws.sns.PlatformApplication("apnsApplication",
        platform="APNS",
        platform_credential="<APNS PRIVATE KEY>",
        platform_principal="<APNS CERTIFICATE>")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const apnsApplication = new aws.sns.PlatformApplication("apnsApplication", {
        platform: "APNS",
        platformCredential: "<APNS PRIVATE KEY>",
        platformPrincipal: "<APNS CERTIFICATE>",
    });
    
    resources:
      apnsApplication:
        type: aws:sns:PlatformApplication
        properties:
          platform: APNS
          platformCredential: <APNS PRIVATE KEY>
          platformPrincipal: <APNS CERTIFICATE>
    

    Apple Push Notification Service (APNS) using token-based authentication

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var apnsApplication = new Aws.Sns.PlatformApplication("apnsApplication", new()
        {
            ApplePlatformBundleId = "<APPLE BUNDLE ID>",
            ApplePlatformTeamId = "<APPLE TEAM ID>",
            Platform = "APNS",
            PlatformCredential = "<APNS SIGNING KEY>",
            PlatformPrincipal = "<APNS SIGNING KEY ID>",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sns.NewPlatformApplication(ctx, "apnsApplication", &sns.PlatformApplicationArgs{
    			ApplePlatformBundleId: pulumi.String("<APPLE BUNDLE ID>"),
    			ApplePlatformTeamId:   pulumi.String("<APPLE TEAM ID>"),
    			Platform:              pulumi.String("APNS"),
    			PlatformCredential:    pulumi.String("<APNS SIGNING KEY>"),
    			PlatformPrincipal:     pulumi.String("<APNS SIGNING KEY ID>"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.sns.PlatformApplication;
    import com.pulumi.aws.sns.PlatformApplicationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var apnsApplication = new PlatformApplication("apnsApplication", PlatformApplicationArgs.builder()        
                .applePlatformBundleId("<APPLE BUNDLE ID>")
                .applePlatformTeamId("<APPLE TEAM ID>")
                .platform("APNS")
                .platformCredential("<APNS SIGNING KEY>")
                .platformPrincipal("<APNS SIGNING KEY ID>")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    apns_application = aws.sns.PlatformApplication("apnsApplication",
        apple_platform_bundle_id="<APPLE BUNDLE ID>",
        apple_platform_team_id="<APPLE TEAM ID>",
        platform="APNS",
        platform_credential="<APNS SIGNING KEY>",
        platform_principal="<APNS SIGNING KEY ID>")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const apnsApplication = new aws.sns.PlatformApplication("apnsApplication", {
        applePlatformBundleId: "<APPLE BUNDLE ID>",
        applePlatformTeamId: "<APPLE TEAM ID>",
        platform: "APNS",
        platformCredential: "<APNS SIGNING KEY>",
        platformPrincipal: "<APNS SIGNING KEY ID>",
    });
    
    resources:
      apnsApplication:
        type: aws:sns:PlatformApplication
        properties:
          applePlatformBundleId: <APPLE BUNDLE ID>
          applePlatformTeamId: <APPLE TEAM ID>
          platform: APNS
          platformCredential: <APNS SIGNING KEY>
          platformPrincipal: <APNS SIGNING KEY ID>
    

    Google Cloud Messaging (GCM)

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var gcmApplication = new Aws.Sns.PlatformApplication("gcmApplication", new()
        {
            Platform = "GCM",
            PlatformCredential = "<GCM API KEY>",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sns.NewPlatformApplication(ctx, "gcmApplication", &sns.PlatformApplicationArgs{
    			Platform:           pulumi.String("GCM"),
    			PlatformCredential: pulumi.String("<GCM API KEY>"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.sns.PlatformApplication;
    import com.pulumi.aws.sns.PlatformApplicationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var gcmApplication = new PlatformApplication("gcmApplication", PlatformApplicationArgs.builder()        
                .platform("GCM")
                .platformCredential("<GCM API KEY>")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    gcm_application = aws.sns.PlatformApplication("gcmApplication",
        platform="GCM",
        platform_credential="<GCM API KEY>")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const gcmApplication = new aws.sns.PlatformApplication("gcmApplication", {
        platform: "GCM",
        platformCredential: "<GCM API KEY>",
    });
    
    resources:
      gcmApplication:
        type: aws:sns:PlatformApplication
        properties:
          platform: GCM
          platformCredential: <GCM API KEY>
    

    Create PlatformApplication Resource

    new PlatformApplication(name: string, args: PlatformApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def PlatformApplication(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            apple_platform_bundle_id: Optional[str] = None,
                            apple_platform_team_id: Optional[str] = None,
                            event_delivery_failure_topic_arn: Optional[str] = None,
                            event_endpoint_created_topic_arn: Optional[str] = None,
                            event_endpoint_deleted_topic_arn: Optional[str] = None,
                            event_endpoint_updated_topic_arn: Optional[str] = None,
                            failure_feedback_role_arn: Optional[str] = None,
                            name: Optional[str] = None,
                            platform: Optional[str] = None,
                            platform_credential: Optional[str] = None,
                            platform_principal: Optional[str] = None,
                            success_feedback_role_arn: Optional[str] = None,
                            success_feedback_sample_rate: Optional[str] = None)
    @overload
    def PlatformApplication(resource_name: str,
                            args: PlatformApplicationArgs,
                            opts: Optional[ResourceOptions] = None)
    func NewPlatformApplication(ctx *Context, name string, args PlatformApplicationArgs, opts ...ResourceOption) (*PlatformApplication, error)
    public PlatformApplication(string name, PlatformApplicationArgs args, CustomResourceOptions? opts = null)
    public PlatformApplication(String name, PlatformApplicationArgs args)
    public PlatformApplication(String name, PlatformApplicationArgs args, CustomResourceOptions options)
    
    type: aws:sns:PlatformApplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args PlatformApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PlatformApplicationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PlatformApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PlatformApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PlatformApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PlatformApplication Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PlatformApplication resource accepts the following input properties:

    Platform string

    The platform that the app is registered with. See Platform for supported platforms.

    PlatformCredential string

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    ApplePlatformBundleId string

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    ApplePlatformTeamId string

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    EventDeliveryFailureTopicArn string

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    EventEndpointCreatedTopicArn string

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    EventEndpointDeletedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    EventEndpointUpdatedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    FailureFeedbackRoleArn string

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    Name string

    The friendly name for the SNS platform application

    PlatformPrincipal string

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    SuccessFeedbackRoleArn string

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    SuccessFeedbackSampleRate string

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    Platform string

    The platform that the app is registered with. See Platform for supported platforms.

    PlatformCredential string

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    ApplePlatformBundleId string

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    ApplePlatformTeamId string

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    EventDeliveryFailureTopicArn string

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    EventEndpointCreatedTopicArn string

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    EventEndpointDeletedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    EventEndpointUpdatedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    FailureFeedbackRoleArn string

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    Name string

    The friendly name for the SNS platform application

    PlatformPrincipal string

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    SuccessFeedbackRoleArn string

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    SuccessFeedbackSampleRate string

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    platform String

    The platform that the app is registered with. See Platform for supported platforms.

    platformCredential String

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    applePlatformBundleId String

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    applePlatformTeamId String

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    eventDeliveryFailureTopicArn String

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    eventEndpointCreatedTopicArn String

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    eventEndpointDeletedTopicArn String

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    eventEndpointUpdatedTopicArn String

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    failureFeedbackRoleArn String

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    name String

    The friendly name for the SNS platform application

    platformPrincipal String

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    successFeedbackRoleArn String

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    successFeedbackSampleRate String

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    platform string

    The platform that the app is registered with. See Platform for supported platforms.

    platformCredential string

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    applePlatformBundleId string

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    applePlatformTeamId string

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    eventDeliveryFailureTopicArn string

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    eventEndpointCreatedTopicArn string

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    eventEndpointDeletedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    eventEndpointUpdatedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    failureFeedbackRoleArn string

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    name string

    The friendly name for the SNS platform application

    platformPrincipal string

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    successFeedbackRoleArn string

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    successFeedbackSampleRate string

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    platform str

    The platform that the app is registered with. See Platform for supported platforms.

    platform_credential str

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    apple_platform_bundle_id str

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    apple_platform_team_id str

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    event_delivery_failure_topic_arn str

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    event_endpoint_created_topic_arn str

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    event_endpoint_deleted_topic_arn str

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    event_endpoint_updated_topic_arn str

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    failure_feedback_role_arn str

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    name str

    The friendly name for the SNS platform application

    platform_principal str

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    success_feedback_role_arn str

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    success_feedback_sample_rate str

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    platform String

    The platform that the app is registered with. See Platform for supported platforms.

    platformCredential String

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    applePlatformBundleId String

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    applePlatformTeamId String

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    eventDeliveryFailureTopicArn String

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    eventEndpointCreatedTopicArn String

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    eventEndpointDeletedTopicArn String

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    eventEndpointUpdatedTopicArn String

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    failureFeedbackRoleArn String

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    name String

    The friendly name for the SNS platform application

    platformPrincipal String

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    successFeedbackRoleArn String

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    successFeedbackSampleRate String

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PlatformApplication resource produces the following output properties:

    Arn string

    The ARN of the SNS platform application

    Id string

    The provider-assigned unique ID for this managed resource.

    Arn string

    The ARN of the SNS platform application

    Id string

    The provider-assigned unique ID for this managed resource.

    arn String

    The ARN of the SNS platform application

    id String

    The provider-assigned unique ID for this managed resource.

    arn string

    The ARN of the SNS platform application

    id string

    The provider-assigned unique ID for this managed resource.

    arn str

    The ARN of the SNS platform application

    id str

    The provider-assigned unique ID for this managed resource.

    arn String

    The ARN of the SNS platform application

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing PlatformApplication Resource

    Get an existing PlatformApplication resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PlatformApplicationState, opts?: CustomResourceOptions): PlatformApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            apple_platform_bundle_id: Optional[str] = None,
            apple_platform_team_id: Optional[str] = None,
            arn: Optional[str] = None,
            event_delivery_failure_topic_arn: Optional[str] = None,
            event_endpoint_created_topic_arn: Optional[str] = None,
            event_endpoint_deleted_topic_arn: Optional[str] = None,
            event_endpoint_updated_topic_arn: Optional[str] = None,
            failure_feedback_role_arn: Optional[str] = None,
            name: Optional[str] = None,
            platform: Optional[str] = None,
            platform_credential: Optional[str] = None,
            platform_principal: Optional[str] = None,
            success_feedback_role_arn: Optional[str] = None,
            success_feedback_sample_rate: Optional[str] = None) -> PlatformApplication
    func GetPlatformApplication(ctx *Context, name string, id IDInput, state *PlatformApplicationState, opts ...ResourceOption) (*PlatformApplication, error)
    public static PlatformApplication Get(string name, Input<string> id, PlatformApplicationState? state, CustomResourceOptions? opts = null)
    public static PlatformApplication get(String name, Output<String> id, PlatformApplicationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApplePlatformBundleId string

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    ApplePlatformTeamId string

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    Arn string

    The ARN of the SNS platform application

    EventDeliveryFailureTopicArn string

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    EventEndpointCreatedTopicArn string

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    EventEndpointDeletedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    EventEndpointUpdatedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    FailureFeedbackRoleArn string

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    Name string

    The friendly name for the SNS platform application

    Platform string

    The platform that the app is registered with. See Platform for supported platforms.

    PlatformCredential string

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    PlatformPrincipal string

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    SuccessFeedbackRoleArn string

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    SuccessFeedbackSampleRate string

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    ApplePlatformBundleId string

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    ApplePlatformTeamId string

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    Arn string

    The ARN of the SNS platform application

    EventDeliveryFailureTopicArn string

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    EventEndpointCreatedTopicArn string

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    EventEndpointDeletedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    EventEndpointUpdatedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    FailureFeedbackRoleArn string

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    Name string

    The friendly name for the SNS platform application

    Platform string

    The platform that the app is registered with. See Platform for supported platforms.

    PlatformCredential string

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    PlatformPrincipal string

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    SuccessFeedbackRoleArn string

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    SuccessFeedbackSampleRate string

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    applePlatformBundleId String

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    applePlatformTeamId String

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    arn String

    The ARN of the SNS platform application

    eventDeliveryFailureTopicArn String

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    eventEndpointCreatedTopicArn String

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    eventEndpointDeletedTopicArn String

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    eventEndpointUpdatedTopicArn String

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    failureFeedbackRoleArn String

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    name String

    The friendly name for the SNS platform application

    platform String

    The platform that the app is registered with. See Platform for supported platforms.

    platformCredential String

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    platformPrincipal String

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    successFeedbackRoleArn String

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    successFeedbackSampleRate String

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    applePlatformBundleId string

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    applePlatformTeamId string

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    arn string

    The ARN of the SNS platform application

    eventDeliveryFailureTopicArn string

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    eventEndpointCreatedTopicArn string

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    eventEndpointDeletedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    eventEndpointUpdatedTopicArn string

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    failureFeedbackRoleArn string

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    name string

    The friendly name for the SNS platform application

    platform string

    The platform that the app is registered with. See Platform for supported platforms.

    platformCredential string

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    platformPrincipal string

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    successFeedbackRoleArn string

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    successFeedbackSampleRate string

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    apple_platform_bundle_id str

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    apple_platform_team_id str

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    arn str

    The ARN of the SNS platform application

    event_delivery_failure_topic_arn str

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    event_endpoint_created_topic_arn str

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    event_endpoint_deleted_topic_arn str

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    event_endpoint_updated_topic_arn str

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    failure_feedback_role_arn str

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    name str

    The friendly name for the SNS platform application

    platform str

    The platform that the app is registered with. See Platform for supported platforms.

    platform_credential str

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    platform_principal str

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    success_feedback_role_arn str

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    success_feedback_sample_rate str

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    applePlatformBundleId String

    The bundle identifier that's assigned to your iOS app. May only include alphanumeric characters, hyphens (-), and periods (.).

    applePlatformTeamId String

    The identifier that's assigned to your Apple developer account team. Must be 10 alphanumeric characters.

    arn String

    The ARN of the SNS platform application

    eventDeliveryFailureTopicArn String

    The ARN of the SNS Topic triggered when a delivery to any of the platform endpoints associated with your platform application encounters a permanent failure.

    eventEndpointCreatedTopicArn String

    The ARN of the SNS Topic triggered when a new platform endpoint is added to your platform application.

    eventEndpointDeletedTopicArn String

    The ARN of the SNS Topic triggered when an existing platform endpoint is deleted from your platform application.

    eventEndpointUpdatedTopicArn String

    The ARN of the SNS Topic triggered when an existing platform endpoint is changed from your platform application.

    failureFeedbackRoleArn String

    The IAM role ARN permitted to receive failure feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    name String

    The friendly name for the SNS platform application

    platform String

    The platform that the app is registered with. See Platform for supported platforms.

    platformCredential String

    Application Platform credential. See Credential for type of credential required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    platformPrincipal String

    Application Platform principal. See Principal for type of principal required for platform. The value of this attribute when stored into the state is only a hash of the real value, so therefore it is not practical to use this as an attribute for other resources.

    successFeedbackRoleArn String

    The IAM role ARN permitted to receive success feedback for this application and give SNS write access to use CloudWatch logs on your behalf.

    successFeedbackSampleRate String

    The sample rate percentage (0-100) of successfully delivered messages.

    The following attributes are needed only when using APNS token credentials:

    Import

    Using pulumi import, import SNS platform applications using the ARN. For example:

     $ pulumi import aws:sns/platformApplication:PlatformApplication gcm_application arn:aws:sns:us-west-2:0123456789012:app/GCM/gcm_application
    

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the aws Terraform Provider.

    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.4.0 published on Tuesday, Oct 3, 2023 by Pulumi