New-PodeLogAwsOverride
SYNOPSIS
Creates a new set of override options for the AWS Log Method.
SYNTAX
New-PodeLogAwsOverride [[-Id] <String>] [[-Source] <String>] [[-SourceType] <String>] [[-Index] <String>]
[-Ignore] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Creates a new set of override options for the AWS Log Method.
EXAMPLES
EXAMPLE 1
$override = New-PodeLogAwsOverride -Source 'my_source' -SourceType 'syslog' -Index 'main'
EXAMPLE 2
$override = New-PodeLogAwsOverride -Id 'AwsMethod' -Ignore
PARAMETERS
-Id
An optional ID to assign to the Log Method to override. (Default: 'AWS')
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Ignore
Whether to ignore the AWS Log Method when writing log items.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Index
An optional index to override the index of the AWS Log Method.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Source
An optional source to override the source of the AWS Log Method.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SourceType
An optional source type to override the source type of the AWS Log Method.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
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.