- Newest
- Most votes
- Most comments
As of now, Amazon SageMaker Ground Truth does not have dedicated L2 constructs in the AWS CDK specifically for creating private teams with AWS Cognito or labeling jobs for image classification. However, you can still implement this solution using CDK, albeit with a bit more manual configuration.
To create a private team with AWS Cognito, you would need to use the CDK constructs for Amazon Cognito to set up the user pool and identity pool. You can then use the AWS SDK or custom resources within your CDK stack to configure the SageMaker workforce and work team.
For creating a labeling job for image classification (multi-label), you would likely need to use custom resources or the AWS SDK within your CDK stack. This is because the specific configurations for Ground Truth labeling jobs are not directly exposed through CDK constructs.
Here's a high-level approach you could take:
- Use CDK's Cognito constructs to create the user pool and identity pool for your private workforce.
- Create a custom resource or use the AWS SDK to set up the SageMaker private workforce and work team, linking it to the Cognito user pool.
- Use another custom resource or the AWS SDK to create the labeling job for image classification, specifying all the necessary parameters such as the input/output S3 locations, labeling category configuration, and worker task template.
While this approach requires more manual configuration compared to having dedicated L2 constructs, it allows you to achieve your desired setup using CDK for infrastructure as code. Keep in mind that you'll need to handle the integration between these components carefully to ensure they work together correctly.
As the AWS CDK is continuously evolving, it's worth keeping an eye on future releases for potential additions of more specific constructs for SageMaker Ground Truth. In the meantime, this custom approach should allow you to create your desired solution using CDK.
Sources
Create a Private Workforce (Amazon Cognito) - Amazon SageMaker
Create a Private Workforce (Amazon SageMaker Console) - Amazon SageMaker
Create a data labeling project with Amazon SageMaker Ground Truth Plus | AWS Machine Learning Blog
Relevant content
- asked 2 years ago
- Accepted Answerasked 6 years ago
- asked 5 months ago
- asked 3 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago