AWS::SageMaker::Workforce

SageMaker Workforce

Resource Type definition for AWS::SageMaker::Workforce. Use to create a private workforce that you can use to label your training data using Amazon SageMaker Ground Truth.

Properties

7 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
WorkforceName
string
RequiredCreate-only
CognitoConfig
CognitoConfig
Create-only
IpAddressType
string
OidcConfig
OidcConfig
SourceIpConfig
SourceIpConfig
Tags
Array<Tag>
WorkforceVpcConfig
WorkforceVpcConfigRequest

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
SubDomainstringThe subdomain for your OIDC Identity Provider.
WorkforceArnstringThe Amazon Resource Name (ARN) of the private workforce.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SageMaker::Workforce

Resources:
  MyResource:
    Type: AWS::SageMaker::Workforce
    Properties:
      WorkforceName: "my-workforcename"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

sagemaker:CreateWorkforcesagemaker:DescribeWorkforcesagemaker:AddTagssagemaker:ListTagscognito-idp:DescribeUserPoolcognito-idp:DescribeUserPoolClientcognito-idp:DescribeUserPoolDomaincognito-idp:ListGroupscognito-idp:ListUserscognito-idp:UpdateUserPoolcognito-idp:UpdateUserPoolClientec2:CreateVpcEndpointec2:DescribeVpcEndpointsec2:DeleteVpcEndpointsec2:DescribeSecurityGroupsec2:DescribeSubnetsec2:DescribeVpcs

read

sagemaker:DescribeWorkforcesagemaker:ListTags

update

sagemaker:UpdateWorkforcesagemaker:DescribeWorkforcesagemaker:AddTagssagemaker:DeleteTagssagemaker:ListTagsec2:CreateVpcEndpointec2:DescribeVpcEndpointsec2:DeleteVpcEndpointsec2:ModifyVpcEndpointec2:DescribeSecurityGroupsec2:DescribeSubnetsec2:DescribeVpcs

delete

sagemaker:DeleteWorkforcesagemaker:DescribeWorkforcesagemaker:ListTagsec2:DeleteVpcEndpointsec2:DescribeVpcEndpoints

list

sagemaker:ListWorkforces

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceSageMaker
Properties9
Required1
TaggingSupported
Primary IDWorkforceArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

WorkforceNameCognitoConfig

External Links