Skip to content

AIRecommendationDeploymentConfiguration

Source code in docs_src/capo_sagemaker/types/ai_recommendation_deployment_configuration.py
class AIRecommendationDeploymentConfiguration(TypedDict, closed=True):
    s3: NotRequired[
        "capo_sagemaker.types.ai_recommendation_deployment_s3_channel_list.AIRecommendationDeploymentS3ChannelList"
    ]
    """<p>The Amazon S3 data channels for the deployment.</p>"""
    image_uri: NotRequired["capo_sagemaker.types.string.String"]
    """<p>The URI of the container image for the deployment.</p>"""
    instance_type: NotRequired[
        "capo_sagemaker.types.ai_recommendation_instance_type.AIRecommendationInstanceType"
    ]
    """<p>The recommended instance type for the deployment.</p>"""
    instance_count: NotRequired[
        "capo_sagemaker.types.ai_recommendation_instance_count.AIRecommendationInstanceCount"
    ]
    """<p>The recommended number of instances for the deployment.</p>"""
    copy_count_per_instance: NotRequired[
        "capo_sagemaker.types.ai_recommendation_copy_count_per_instance.AIRecommendationCopyCountPerInstance"
    ]
    """<p>The number of model copies per instance.</p>"""
    environment_variables: NotRequired[
        "capo_sagemaker.types.environment_map.EnvironmentMap"
    ]
    """<p>The environment variables for the deployment.</p>"""
    min_cpu_memory_required_in_mb: NotRequired[
        "capo_sagemaker.types.ai_recommendation_min_cpu_memory_required_in_mb.AIRecommendationMinCpuMemoryRequiredInMb"
    ]
    """<p>The minimum host (CPU) memory, in MiB, to reserve for each model copy when deploying the recommendation as an Inference Component. This value maps to the Inference Component's <code>ComputeResourceRequirements$MinMemoryRequiredInMb</code> field.</p>"""

copy_count_per_instance instance-attribute

copy_count_per_instance: NotRequired[AIRecommendationCopyCountPerInstance]

The number of model copies per instance.

environment_variables instance-attribute

environment_variables: NotRequired[EnvironmentMap]

The environment variables for the deployment.

image_uri instance-attribute

image_uri: NotRequired[String]

The URI of the container image for the deployment.

instance_count instance-attribute

instance_count: NotRequired[AIRecommendationInstanceCount]

The recommended number of instances for the deployment.

instance_type instance-attribute

instance_type: NotRequired[AIRecommendationInstanceType]

The recommended instance type for the deployment.

min_cpu_memory_required_in_mb instance-attribute

min_cpu_memory_required_in_mb: NotRequired[AIRecommendationMinCpuMemoryRequiredInMb]

The minimum host (CPU) memory, in MiB, to reserve for each model copy when deploying the recommendation as an Inference Component. This value maps to the Inference Component's ComputeResourceRequirements$MinMemoryRequiredInMb field.

s3 instance-attribute

The Amazon S3 data channels for the deployment.