class CfnWorkteamActivityLogs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnWorkteamActivityLogs |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnWorkteamActivityLogs |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnWorkteamActivityLogs |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnWorkteamActivityLogs |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnWorkteamActivityLogs |
Builder for CfnWorkteamLogsMixin to generate ACTIVITY_LOGS for CfnWorkteam.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const cfnWorkteamActivityLogs = new sagemaker_mixins.CfnWorkteamActivityLogs();
Initializer
new CfnWorkteamActivityLogs()
Methods
| Name | Description |
|---|---|
| to | Delivers logs to a pre-created delivery destination. |
| to | Send logs to a CloudWatch Log Group. |
| to | Send logs to an S3 Bucket. |
toDestination(destination)
public toDestination(destination: IDeliveryDestinationRef): CfnWorkteamLogsMixin
Parameters
- destination
IDeliveryDestination Ref
Returns
Delivers logs to a pre-created delivery destination.
Supported destinations are S3, CWL You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
toLogGroup(logGroup, props?)
public toLogGroup(logGroup: ILogGroupRef, props?: CfnWorkteamActivityLogsLogGroupProps): CfnWorkteamLogsMixin
Parameters
- logGroup
ILogGroup Ref - props
Cfn— Additional properties that are optionally used in log delivery for Log Group destinations.Workteam Activity Logs Log Group Props
Returns
Send logs to a CloudWatch Log Group.
toS3(bucket, props?)
public toS3(bucket: IBucketRef, props?: CfnWorkteamActivityLogsS3Props): CfnWorkteamLogsMixin
Parameters
- bucket
IBucketRef - props
Cfn— Additional properties that are optionally used in log delivery for S3 destinations.Workteam Activity Logs S3 Props
Returns
Send logs to an S3 Bucket.

.NET
Go
Java
Python
TypeScript