class CfnWorkteamLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnWorkteamLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnWorkteamLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnWorkteamLogsMixin |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnWorkteamLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnWorkteamLogsMixin |
Implements
IMixin
Extends
Mixin
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.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from '@aws-cdk/mixins-preview';
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
declare const logsDelivery: logs.ILogsDelivery;
const cfnWorkteamLogsMixin = new sagemaker_mixins.CfnWorkteamLogsMixin('logType', logsDelivery);
Initializer
new CfnWorkteamLogsMixin(logType: string, logDelivery: ILogsDelivery)
Parameters
- logType
string— Type of logs that are getting vended. - logDelivery
ILogs— Object in charge of setting up the delivery source, delivery destination, and delivery connection.Delivery
Create a mixin to enable vended logs for AWS::SageMaker::Workteam.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static ACTIVITY_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static ACTIVITY_LOGS
Type:
Cfn
Methods
| Name | Description |
|---|---|
| apply | Apply vended logs configuration to the construct. |
| supports(construct) | Check if this mixin supports the given construct (has vendedLogs property). |
applyTo(resource)
public applyTo(resource: IConstruct): IConstruct
Parameters
- resource
IConstruct
Returns
Apply vended logs configuration to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct (has vendedLogs property).

.NET
Go
Java
Python
TypeScript