Interface CfnWorkteamProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkteamProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:29.889Z")
@Stability(Stable)
public interface CfnWorkteamProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnWorkteam.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
CfnWorkteamProps cfnWorkteamProps = CfnWorkteamProps.builder()
.description("description")
.memberDefinitions(List.of(MemberDefinitionProperty.builder()
.cognitoMemberDefinition(CognitoMemberDefinitionProperty.builder()
.cognitoClientId("cognitoClientId")
.cognitoUserGroup("cognitoUserGroup")
.cognitoUserPool("cognitoUserPool")
.build())
.oidcMemberDefinition(OidcMemberDefinitionProperty.builder()
.oidcGroups(List.of("oidcGroups"))
.build())
.build()))
.notificationConfiguration(NotificationConfigurationProperty.builder()
.notificationTopicArn("notificationTopicArn")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.workforceName("workforceName")
.workteamName("workteamName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkteamPropsstatic final classAn implementation forCfnWorkteamProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnWorkteamProps.Builderbuilder()default StringA description of the work team.default ObjectA list ofMemberDefinitionobjects that contains objects that identify the workers that make up the work team.default ObjectConfigures SNS notifications of available or expiring work items for work teams.getTags()An array of key-value pairs.default StringThe name of the workforce.default StringThe name of the work team.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
A description of the work team.- See Also:
-
getMemberDefinitions
A list ofMemberDefinitionobjects 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) useOidcMemberDefinition.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkteam.MemberDefinitionProperty>- See Also:
-
getNotificationConfiguration
Configures SNS notifications of available or expiring work items for work teams.Returns union: either
IResolvableorCfnWorkteam.NotificationConfigurationProperty- See Also:
-
getTags
An array of key-value pairs.- See Also:
-
getWorkforceName
The name of the workforce.- See Also:
-
getWorkteamName
The name of the work team.- See Also:
-
builder
- Returns:
- a
CfnWorkteamProps.BuilderofCfnWorkteamProps
-