Class CfnWorkteam
Creates a new work team for labeling your data.
Inherited Members
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWorkteam : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnWorkteam
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html
CloudformationResource: AWS::SageMaker::Workteam
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var cfnWorkteam = new CfnWorkteam(this, "MyCfnWorkteam", new CfnWorkteamProps {
Description = "description",
MemberDefinitions = new [] { new MemberDefinitionProperty {
CognitoMemberDefinition = new CognitoMemberDefinitionProperty {
CognitoClientId = "cognitoClientId",
CognitoUserGroup = "cognitoUserGroup",
CognitoUserPool = "cognitoUserPool"
},
OidcMemberDefinition = new OidcMemberDefinitionProperty {
OidcGroups = new [] { "oidcGroups" }
}
} },
NotificationConfiguration = new NotificationConfigurationProperty {
NotificationTopicArn = "notificationTopicArn"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
WorkforceName = "workforceName",
WorkteamName = "workteamName"
});
Synopsis
Constructors
CfnWorkteam(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnWorkteam(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnWorkteam(Construct, String, ICfnWorkteamProps) |
Properties
AttrId | |
AttrWorkteamName | The name of the work team. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | A description of the work team. |
MemberDefinitions | A list of |
NotificationConfiguration | Configures SNS notifications of available or expiring work items for work teams. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs. |
WorkforceName | The name of the workforce. |
WorkteamName | The name of the work team. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnWorkteam(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnWorkteam(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnWorkteam(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnWorkteam(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnWorkteam(Construct, String, ICfnWorkteamProps)
public CfnWorkteam(Construct scope, string id, ICfnWorkteamProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnWorkteamProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrWorkteamName
The name of the work team.
public virtual string AttrWorkteamName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: WorkteamName
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
A description of the work team.
public virtual string Description { get; set; }
Property Value
System.String
MemberDefinitions
A list of MemberDefinition
objects that contains objects that identify the workers that make up the work team.
public virtual object MemberDefinitions { get; set; }
Property Value
System.Object
NotificationConfiguration
Configures SNS notifications of available or expiring work items for work teams.
public virtual object NotificationConfiguration { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
WorkforceName
The name of the workforce.
public virtual string WorkforceName { get; set; }
Property Value
System.String
WorkteamName
The name of the work team.
public virtual string WorkteamName { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>