Add-SAMSNSEventSource

Add-SAMSNSEventSource

SYNOPSIS

Adds a SNS Event Source to a Serverless Application Model resource

SYNTAX

Add-SAMSNSEventSource [-LogicalId] <String> -Topic <Object>

DESCRIPTION

The object describing an event source with type SNS.

PARAMETERS

-LogicalId

The logical ID must be alphanumeric (A-Za-z0-9) and unique within the template. Use the logical name to reference the resource in other parts of the template.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Topic

Topic ARN.

Type: Object
Parameter Sets: (All)
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

OUTPUTS

VaporShell.Serverless.EventSource.SNS

NOTES

https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#sns