Class CfnWorkteam
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
AWS::SageMaker::Workteam
.
Creates a new work team for labeling your data. A work team is defined by one or more Amazon Cognito user pools. You must first create the user pools before you can create a work team.
You cannot create more than 25 work teams in an account and region.
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.*; CfnWorkteam cfnWorkteam = CfnWorkteam.Builder.create(this, "MyCfnWorkteam") .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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnWorkteam
.static interface
Identifies a Amazon Cognito user group.static interface
Defines an Amazon Cognito or your own OIDC IdP user group that is part of a work team.static interface
Configures Amazon SNS notifications of available or expiring work items for work teams.static interface
A list of user groups that exist in your OIDC Identity Provider (IdP).Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnWorkteam
(Construct scope, String id) Create a newAWS::SageMaker::Workteam
.CfnWorkteam
(Construct scope, String id, CfnWorkteamProps props) Create a newAWS::SageMaker::Workteam
.protected
CfnWorkteam
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnWorkteam
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe name of the work team.A description of the work team.A list ofMemberDefinition
objects that contains objects that identify the workers that make up the work team.Configures SNS notifications of available or expiring work items for work teams.getTags()
An array of key-value pairs.AWS::SageMaker::Workteam.WorkforceName
.The name of the work team.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) A description of the work team.void
setMemberDefinitions
(List<Object> value) A list ofMemberDefinition
objects that contains objects that identify the workers that make up the work team.void
setMemberDefinitions
(IResolvable value) A list ofMemberDefinition
objects that contains objects that identify the workers that make up the work team.void
Configures SNS notifications of available or expiring work items for work teams.void
Configures SNS notifications of available or expiring work items for work teams.void
setWorkforceName
(String value) AWS::SageMaker::Workteam.WorkforceName
.void
setWorkteamName
(String value) The name of the work team.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnWorkteam
protected CfnWorkteam(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWorkteam
protected CfnWorkteam(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWorkteam
@Stability(Stable) public CfnWorkteam(@NotNull Construct scope, @NotNull String id, @Nullable CfnWorkteamProps props) Create a newAWS::SageMaker::Workteam
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
CfnWorkteam
Create a newAWS::SageMaker::Workteam
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrWorkteamName
The name of the work team. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
An array of key-value pairs. -
getDescription
A description of the work team. -
setDescription
A description of the work team. -
getMemberDefinitions
A list ofMemberDefinition
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) useOidcMemberDefinition
. -
setMemberDefinitions
A list ofMemberDefinition
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) useOidcMemberDefinition
. -
setMemberDefinitions
A list ofMemberDefinition
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) useOidcMemberDefinition
. -
getNotificationConfiguration
Configures SNS notifications of available or expiring work items for work teams. -
setNotificationConfiguration
Configures SNS notifications of available or expiring work items for work teams. -
setNotificationConfiguration
@Stability(Stable) public void setNotificationConfiguration(@Nullable CfnWorkteam.NotificationConfigurationProperty value) Configures SNS notifications of available or expiring work items for work teams. -
getWorkforceName
AWS::SageMaker::Workteam.WorkforceName
. -
setWorkforceName
AWS::SageMaker::Workteam.WorkforceName
. -
getWorkteamName
The name of the work team. -
setWorkteamName
The name of the work team.
-