Represents the MRDataplane construct responsible for managing the data plane of the model runner application. It handles various AWS resources and configurations required for the application's operation.

The scope/stack in which to define this construct.

The id of this construct within the current scope.

The properties of this construct.

  • The MRDataplane construct.

Hierarchy

  • Construct
    • MRDataplane

Constructors

Properties

cluster: Cluster

The ECS cluster for running tasks.

The configuration for the MRDataplane.

containerDefinition: ContainerDefinition

The container definition for the MR service.

endpointStatisticsTable: OSMLTable

The DynamoDB table for endpoint statistics.

executionRole: IRole

The IAM role for the ECS task execution.

fargateService: FargateService

The Fargate service for the MR container.

featureTable: OSMLTable

The DynamoDB table for feature data.

imageRequestQueue: OSMLQueue

The SQS queue for image processing requests.

imageStatusQueue?: OSMLQueue

The SQS queue for image status updates.

imageStatusTopic: ITopic

The SNS topic for image status notifications.

jobStatusTable: OSMLTable

The DynamoDB table for job status.

logGroup: LogGroup

The log group for the MR service.

monitoring?: MRMonitoring

The monitoring configuration for the MR service.

mrContainer: OSMLContainer

The container for the MR service.

node: Node

The tree node.

regionalS3Endpoint: string

The regional S3 endpoint.

regionRequestQueue: OSMLQueue

The SQS queue for region processing requests.

regionRequestTable: OSMLTable

The DynamoDB table for region request status.

regionStatusQueue?: OSMLQueue

The SQS queue for region status updates.

regionStatusTopic: ITopic

The SNS topic for region status notifications.

removalPolicy: RemovalPolicy

The removal policy for resources created by this construct.

securityGroups?: [ISecurityGroup]

The security groups for the Fargate service.

serviceAutoscaler?: EcsIsoServiceAutoscaler

The autoscaler for the Fargate service.

sinkBucket?: OSMLBucket

The S3 bucket output sink

sinkStream?: Stream

The Kinesis stream output sink

taskDefinition: TaskDefinition

The ECS task definition.

taskRole: IRole

The IAM role for the ECS task.

Methods

  • Returns a string representation of this construct.

    Returns string

  • Checks if x is a construct.

    Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

    Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

    Parameters

    • x: any

      Any object

    Returns x is Construct

    true if x is an object created from a class which extends Construct.