Class SNS

A wrapper for AWS Simple Notification Service.

Constructors

Properties

Methods

Constructors

  • Parameters

    • options: {
          region?: string;
      } = {}
      • Optionalregion?: string

    Returns SNS

Properties

client: SNSClient
logger: LambdaLogger = ...

Methods

  • Create a new endpoint in the SNS platform specified.

    Parameters

    Returns Promise<string>

    platform endpoint ARN

  • Publish a message to a SNS endpoint.

    Parameters

    Returns Promise<PublishCommandOutput>