Checks/Aws/Test-SagemakerEndpointConfigProdVariantInstances.ps1
|
function Test-SagemakerEndpointConfigProdVariantInstances { <# .SYNOPSIS SageMaker endpoint configuration has all production variants with at least two initial instances .DESCRIPTION Amazon SageMaker endpoint configurations are evaluated to ensure each production variant uses an **initial instance count** of at least two. Variants with `InitialInstanceCount` less than two in instance-based endpoints are identified, indicating no built-in multi-AZ redundancy. .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: sagemaker_endpoint_config_prod_variant_instances [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check sagemaker_endpoint_config_prod_variant_instances for reference.', 'N/A', 'sagemaker Resources') } |