Configuration class for MRDataplane Construct.

Hierarchy (View Summary)

Constructors

Properties

BUILD_FROM_SOURCE: boolean

Whether to build container resources from source.

"false"
CONTAINER_BUILD_PATH: string

The path for the Model Runner container to build from when building from source.

"lib/osml-model-runner"
CONTAINER_BUILD_TARGET: string

The target for the Model Runner Dockerfile container build.

"model_runner"
CONTAINER_DOCKERFILE: string

The relative Dockerfile to use to build the Model Runner container.

"Dockerfile"
CONTAINER_URI: string

The default container image to import when not building from source.

"awsosml/osml-model-runner:latest"
CW_METRICS_NAMESPACE: string

The namespace for metrics.

"OSML"
DDB_ENDPOINT_PROCESSING_TABLE: string

The name of the DynamoDB table for endpoint processing statistics.

"EndpointProcessingStatistics"
DDB_FEATURES_TABLE: string

The name of the DynamoDB table for image processing features.

"ImageProcessingFeatures"
DDB_JOB_STATUS_TABLE: string

The name of the DynamoDB table for job status.

"ImageProcessingJobStatus"
DDB_REGION_REQUEST_TABLE: string

The name of the DynamoDB table for region request status.

"RegionProcessingJobStatus"
DDB_TTL_ATTRIBUTE: string

The attribute name for expiration time in DynamoDB.

"expire_time"
ECS_AUTOSCALING_TASK_IN_COOLDOWN: number

The cooldown period (in minutes) after scaling in tasks.

1
ECS_AUTOSCALING_TASK_IN_INCREMENT: number

The number of tasks to increment when scaling in.

8
ECS_AUTOSCALING_TASK_MAX_COUNT: number

The maximum number of tasks allowed in the cluster.

40
ECS_AUTOSCALING_TASK_MIN_COUNT: number

The minimum number of tasks required in the cluster.

3
ECS_AUTOSCALING_TASK_OUT_COOLDOWN: number

The cooldown period (in minutes) after scaling out tasks.

3
ECS_AUTOSCALING_TASK_OUT_INCREMENT: number

The number of tasks to increment when scaling out.

8
ECS_CLUSTER_NAME: string

The name to assign the Model Runner ECS cluster.

"OSMLCluster"
ECS_CONTAINER_CPU: number

The CPU configuration for MR containers.

8192
ECS_CONTAINER_MEMORY: number

The memory configuration for MR containers.

16384
ECS_CONTAINER_NAME: string

The name to assign the Model Runner ECS container.

"OSMLModelRunnerContainer"
ECS_DEFAULT_DESIRE_COUNT: number

The desired number of tasks to use for the service.

1
ECS_EXECUTION_ROLE_NAME?: string

The name of the MR ECS execution role to import.

undefined
ECS_SECURITY_GROUP_ID?: string

The security group ID to use for the ECS Fargate service.

undefined
ECS_TASK_CPU: number

The CPU configuration for MR tasks.

8192
ECS_TASK_MEMORY: number

The memory configuration for MR tasks.

16384
ECS_TASK_ROLE_NAME?: string

The name of the MR ECS task role to import.

undefined
MR_ENABLE_IMAGE_STATUS: boolean

Whether to deploy image status messages.

true
MR_ENABLE_KINESIS_SINK: boolean

Whether to deploy a kinesis output sink stream.

true
MR_ENABLE_MONITORING: boolean

Whether to deploy a monitoring dashboard for model runner.

true
MR_ENABLE_REGION_STATUS: boolean

Whether to deploy region status messages.

false
MR_ENABLE_S3_SINK: boolean

Whether to deploy a s3 output sink bucket.

true
MR_KINESIS_SINK_STREAM_PREFIX: string

The prefix to assign the deployed Kinesis stream output sink.

"mr-stream-sink"
MR_REGION_SIZE: string

The size of MR regions in the format "(width, height)".

"(8192, 8192)"
MR_TERRAIN_URI?: string

The URI for the terrain to use for geolocation.

undefined
MR_WORKERS_PER_CPU: number

The number of workers per CPU.

2
S3_SINK_BUCKET_PREFIX: string

The prefix to assign the deployed S3 bucket output sink.

"mr-bucket-sink"
SNS_IMAGE_STATUS_TOPIC: string

The name of the SNS topic for image status.

"ImageStatusTopic"
SNS_IMAGE_STATUS_TOPIC_ARN?: string

The ARN of the Image Status Topic to be imported

undefined
SNS_REGION_STATUS_TOPIC: string

The name of the SNS topic for region status.

"RegionStatusTopic"
SNS_REGION_STATUS_TOPIC_ARN?: string

The ARN of the Image Region Topic to be imported

undefined
SQS_IMAGE_REQUEST_QUEUE: string

The name of the SQS queue for image requests.

"ImageRequestQueue"
SQS_IMAGE_STATUS_QUEUE: string

The name of the SQS queue for image status.

"ImageStatusQueue"
SQS_REGION_REQUEST_QUEUE: string

The name of the SQS queue for region requests.

"RegionRequestQueue"
SQS_REGION_STATUS_QUEUE: string

The name of the SQS queue for region status.

"RegionStatusQueue"