CfnWorkteamProps

class aws_cdk.aws_sagemaker.CfnWorkteamProps(*, description=None, member_definitions=None, notification_configuration=None, tags=None, workforce_name=None, workteam_name=None)

Bases: object

Properties for defining a CfnWorkteam.

Parameters:
  • description (Optional[str]) – A description of the work team.

  • member_definitions (Union[IResolvable, Sequence[Union[IResolvable, MemberDefinitionProperty, Dict[str, Any]]], None]) – 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 .

  • notification_configuration (Union[IResolvable, NotificationConfigurationProperty, Dict[str, Any], None]) – Configures SNS notifications of available or expiring work items for work teams.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs.

  • workforce_name (Optional[str]) – The name of the workforce.

  • workteam_name (Optional[str]) – The name of the work team.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

cfn_workteam_props = sagemaker.CfnWorkteamProps(
    description="description",
    member_definitions=[sagemaker.CfnWorkteam.MemberDefinitionProperty(
        cognito_member_definition=sagemaker.CfnWorkteam.CognitoMemberDefinitionProperty(
            cognito_client_id="cognitoClientId",
            cognito_user_group="cognitoUserGroup",
            cognito_user_pool="cognitoUserPool"
        ),
        oidc_member_definition=sagemaker.CfnWorkteam.OidcMemberDefinitionProperty(
            oidc_groups=["oidcGroups"]
        )
    )],
    notification_configuration=sagemaker.CfnWorkteam.NotificationConfigurationProperty(
        notification_topic_arn="notificationTopicArn"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    workforce_name="workforceName",
    workteam_name="workteamName"
)

Attributes

description

A description of the work team.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-description

member_definitions

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-memberdefinitions

notification_configuration

Configures SNS notifications of available or expiring work items for work teams.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-notificationconfiguration

tags

An array of key-value pairs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-tags

workforce_name

The name of the workforce.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-workforcename

workteam_name

The name of the work team.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-workteamname