Class MRModelEndpointsConfig

Configuration class for defining endpoints for OSML model endpoints.

Constructors

  • Constructor for MRModelEndpointsConfig.

    Parameters

    • SM_CENTER_POINT_MODEL: string = "centerpoint"

      The name of the SageMaker endpoint for the centerpoint model.

    • SM_FLOOD_MODEL: string = "flood"

      The name of the SageMaker endpoint for the flood model.

    • SM_AIRCRAFT_MODEL: string = "aircraft"

      The name of the SageMaker endpoint for the aircraft model.

    • SM_ROLE_NAME: string = "OSMLSageMakerRole"

      The name of the SageMaker execution role.

    • SM_INITIAL_INSTANCE_COUNT: number = 1

      The initial number of SageMaker instances.

    • SM_INITIAL_VARIANT_WEIGHT: number = 1

      The initial weight for the SageMaker variant.

    • SM_VARIANT_NAME: string = "AllTraffic"

      The name of the SageMaker variant.

    • SM_CPU_INSTANCE_TYPE: string = "ml.m5.xlarge"

      The SageMaker CPU instance type.

    • SM_GPU_INSTANCE_TYPE: string = "ml.p3.2xlarge"

      The SageMaker GPU instance type.

    • SM_REPOSITORY_ACCESS_MODE: string = "Platform"

      The repository access mode for SageMaker.

    • HTTP_ENDPOINT_NAME: string = "HTTPModelCluster"

      The name of the HTTP endpoint cluster.

    • HTTP_ENDPOINT_ROLE_NAME: string = "HTTPEndpointRole"

      The name of the HTTP endpoint execution role.

    • HTTP_ENDPOINT_HOST_PORT: number = 8080

      The host port for the HTTP endpoint.

    • HTTP_ENDPOINT_CONTAINER_PORT: number = 8080

      The container port for the HTTP endpoint.

    • HTTP_ENDPOINT_MEMORY: number = 16384

      The memory allocation for the HTTP endpoint.

    • HTTP_ENDPOINT_CPU: number = 4096

      The CPU allocation for the HTTP endpoint.

    • HTTP_ENDPOINT_HEALTHCHECK_PATH: string = "/ping"

      The health check path for the HTTP endpoint.

    • HTTP_ENDPOINT_DOMAIN_NAME: string = "test-http-model-endpoint"

      The domain name for the HTTP endpoint.

    Returns MRModelEndpointsConfig

Properties

HTTP_ENDPOINT_CONTAINER_PORT: number = 8080

The container port for the HTTP endpoint.

HTTP_ENDPOINT_CPU: number = 4096

The CPU allocation for the HTTP endpoint.

HTTP_ENDPOINT_DOMAIN_NAME: string = "test-http-model-endpoint"

The domain name for the HTTP endpoint.

HTTP_ENDPOINT_HEALTHCHECK_PATH: string = "/ping"

The health check path for the HTTP endpoint.

HTTP_ENDPOINT_HOST_PORT: number = 8080

The host port for the HTTP endpoint.

HTTP_ENDPOINT_MEMORY: number = 16384

The memory allocation for the HTTP endpoint.

HTTP_ENDPOINT_NAME: string = "HTTPModelCluster"

The name of the HTTP endpoint cluster.

HTTP_ENDPOINT_ROLE_NAME: string = "HTTPEndpointRole"

The name of the HTTP endpoint execution role.

SM_AIRCRAFT_MODEL: string = "aircraft"

The name of the SageMaker endpoint for the aircraft model.

SM_CENTER_POINT_MODEL: string = "centerpoint"

The name of the SageMaker endpoint for the centerpoint model.

SM_CPU_INSTANCE_TYPE: string = "ml.m5.xlarge"

The SageMaker CPU instance type.

SM_FLOOD_MODEL: string = "flood"

The name of the SageMaker endpoint for the flood model.

SM_GPU_INSTANCE_TYPE: string = "ml.p3.2xlarge"

The SageMaker GPU instance type.

SM_INITIAL_INSTANCE_COUNT: number = 1

The initial number of SageMaker instances.

SM_INITIAL_VARIANT_WEIGHT: number = 1

The initial weight for the SageMaker variant.

SM_REPOSITORY_ACCESS_MODE: string = "Platform"

The repository access mode for SageMaker.

SM_ROLE_NAME: string = "OSMLSageMakerRole"

The name of the SageMaker execution role.

SM_VARIANT_NAME: string = "AllTraffic"

The name of the SageMaker variant.

Generated using TypeDoc