Add-SAMSNSEventSource

Add-SAMSNSEventSource

SYNOPSIS

Adds a SNS Event Source to a Serverless Application Model resource

SYNTAX

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

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Vaporshell.Serverless.EventSource.SNS

NOTES

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