Add-SAMScheduleEventSource

Add-SAMScheduleEventSource

SYNOPSIS

Adds a Schedule Event Source to a Serverless Application Model resource

SYNTAX

Add-SAMScheduleEventSource [-LogicalId] <String> -Schedule <String> [-JSONInput <String>] [<CommonParameters>]

DESCRIPTION

The object describing an event source with type Schedule.

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

-Schedule

Required. Uri Schedule for which this function is invoked. MUST start with /.

Type: String
Parameter Sets: (All)
Aliases:

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

-JSONInput

JSON-formatted string to pass to the function as the event body.

Type: String
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.Schedule

NOTES

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