# CfnWorkteamProps

Properties for defining a `CfnWorkteam`.

Extends: CfnWorkteamProps
Used as props by: CfnWorkteam

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnWorkteamProps: sagemaker.CfnWorkteamProps = {
  description: 'description',
  memberDefinitions: [{
    cognitoMemberDefinition: {
      cognitoClientId: 'cognitoClientId',
      cognitoUserGroup: 'cognitoUserGroup',
      cognitoUserPool: 'cognitoUserPool',
    },
    oidcMemberDefinition: {
      oidcGroups: ['oidcGroups'],
    },
  }],

  // the properties below are optional
  notificationConfiguration: {
    notificationTopicArn: 'notificationTopicArn',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
  workforceName: 'workforceName',
  workteamName: 'workteamName',
};
```

## Properties

- `description`: string (required) — A description of the work team.

- `memberDefinitions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkteam.MemberDefinitionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnWorkteam.MemberDefinitionProperty.html)[] (required) — A list of `MemberDefinition` objects that contains objects that identify the workers that make up the work team.

  Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). For private workforces created using Amazon Cognito use `CognitoMemberDefinition` . For workforces created using your own OIDC identity provider (IdP) use `OidcMemberDefinition` .

- `notificationConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkteam.NotificationConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnWorkteam.NotificationConfigurationProperty.html) — Configures SNS notifications of available or expiring work items for work teams.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs.

- `workforceName`: string — The name of the workforce.

- `workteamName`: string — The name of the work team.
