Add-SAMEventSource

Add-SAMEventSource

SYNOPSIS

Adds a Serverless Application Model Event Source

SYNTAX

Add-SAMEventSource [-LogicalId] <String> -Type <String> [-Properties <Hashtable>] [<CommonParameters>]

DESCRIPTION

Adds a Serverless Application Model Event Source

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

-Type

Required. Event type.

Type: String
Parameter Sets: (All)
Aliases:

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

-Properties

Required. Hashtable describing properties of this event mapping. Must conform to the defined Type

Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
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

NOTES

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