MDAA TS Docs
    Preparing search index...

    Props for the SageMaker Ground Truth L3 Construct

    interface SageMakerGroundTruthL3ConstructProps {
        additionalFeatureDefinitions?: FeatureDefinitionConfig[];
        createOutputs?: boolean;
        createParams?: boolean;
        crossAccountStacks?: { [account: string]: { [region: string]: Stack } };
        groundTruthRole?: MdaaRoleRef;
        jobName: string;
        labelingTaskConfig: GroundTruthLabelingTaskConfig;
        naming: IMdaaResourceNaming;
        roleHelper: MdaaRoleHelper;
        sqsConfig?: GroundTruthSqsConfig;
        tags?: { [key: string]: string };
        taskType: GroundTruthTaskType;
        verification?: GroundTruthVerificationConfig;
        workflowSchedule?: string;
    }

    Hierarchy

    • MdaaL3ConstructProps
      • SageMakerGroundTruthL3ConstructProps
    Index

    Properties

    additionalFeatureDefinitions?: FeatureDefinitionConfig[]

    Additional feature definitions for the Feature Group (beyond defaults)

    createOutputs?: boolean

    Flag controlling CloudFormation output and stack export creation for construct resources

    createParams?: boolean

    Flag controlling SSM parameter creation for construct resource references enabling

    crossAccountStacks?: { [account: string]: { [region: string]: Stack } }
    groundTruthRole?: MdaaRoleRef

    Optional externally-created IAM role for SageMaker Ground Truth labeling jobs. When provided, the construct imports this role and attaches Ground Truth-specific policies (S3, KMS, SageMaker) to it instead of creating a new role.

    Use this when the Ground Truth role needs access to S3 buckets created by other MDAA modules (e.g., datalake). The external module can grant bucket access to this role before the Ground Truth module deploys.

    If omitted, the construct creates a new role with sagemaker.amazonaws.com trust.

    jobName: string

    Job name prefix for the labeling workflow

    labelingTaskConfig: GroundTruthLabelingTaskConfig

    Labeling task configuration

    naming: IMdaaResourceNaming

    MDAA naming implementation for consistent resource naming across all MDAA constructs

    roleHelper: MdaaRoleHelper

    SQS configuration (optional, uses defaults)

    tags?: { [key: string]: string }

    The labeling task type

    Optional verification step configuration

    workflowSchedule?: string

    Cron schedule for the labeling workflow (default: "cron(0 12 * * ? *)")