Checks/Aws/Test-AwslambdaFunctionVpcMultiAz.ps1
|
function Test-AwslambdaFunctionVpcMultiAz { <# .SYNOPSIS Lambda function is configured with VPC subnets in at least two Availability Zones .DESCRIPTION **AWS Lambda** functions attached to a VPC use subnets that span at least the required number of **Availability Zones** (`2` by default). The evaluation counts the unique AZs of the function's configured subnets. .PARAMETER Check CIEMCheck object containing check metadata. #> [CmdletBinding()] [OutputType([PSCustomObject[]])] param( [Parameter(Mandatory)] [CIEMCheck]$Check ) $ErrorActionPreference = 'Stop' # TODO: Implement check logic based on Prowler check: awslambda_function_vpc_multi_az [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check awslambda_function_vpc_multi_az for reference.', 'N/A', 'awslambda Resources') } |