interface TrainingJobDefinition
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/events#SageMakerHyperParameterTuningJobStateChange_TrainingJobDefinition |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition |
Python | aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition |
TypeScript | @aws-cdk/mixins-preview ยป aws_sagemaker ยป events ยป SageMakerHyperParameterTuningJobStateChange ยป TrainingJobDefinition |
Type definition for TrainingJobDefinition.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as sagemaker_events } from '@aws-cdk/mixins-preview/aws-sagemaker';
const trainingJobDefinition: sagemaker_events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition = {
algorithmSpecification: {
metricDefinitions: [{
name: ['name'],
regex: ['regex'],
}],
trainingImage: ['trainingImage'],
trainingInputMode: ['trainingInputMode'],
},
inputDataConfig: [{
channelName: ['channelName'],
compressionType: ['compressionType'],
contentType: ['contentType'],
dataSource: {
s3DataSource: {
s3DataDistributionType: ['s3DataDistributionType'],
s3DataType: ['s3DataType'],
s3Uri: ['s3Uri'],
},
},
recordWrapperType: ['recordWrapperType'],
}],
outputDataConfig: {
kmsKeyId: ['kmsKeyId'],
s3OutputPath: ['s3OutputPath'],
},
resourceConfig: {
instanceCount: ['instanceCount'],
instanceType: ['instanceType'],
volumeKmsKeyId: ['volumeKmsKeyId'],
volumeSizeInGb: ['volumeSizeInGb'],
},
roleArn: ['roleArn'],
staticHyperParameters: {
key: ['key'],
value: ['value'],
},
stoppingCondition: {
maxRuntimeInSeconds: ['maxRuntimeInSeconds'],
},
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| algorithm | Algorithm | AlgorithmSpecification property. |
| input | Training[] | InputDataConfig property. |
| output | Output | OutputDataConfig property. |
| resource | Resource | ResourceConfig property. |
| role | string[] | RoleArn property. |
| static | Tags | StaticHyperParameters property. |
| stopping | Stopping | StoppingCondition property. |
| vpc | Vpc | VpcConfig property. |
algorithmSpecification?
Type:
Algorithm
(optional, default: Do not filter on this field)
AlgorithmSpecification property.
Specify an array of string values to match this event if the actual value of AlgorithmSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
inputDataConfig?
Type:
Training[]
(optional, default: Do not filter on this field)
InputDataConfig property.
Specify an array of string values to match this event if the actual value of InputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
outputDataConfig?
Type:
Output
(optional, default: Do not filter on this field)
OutputDataConfig property.
Specify an array of string values to match this event if the actual value of OutputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
resourceConfig?
Type:
Resource
(optional, default: Do not filter on this field)
ResourceConfig property.
Specify an array of string values to match this event if the actual value of ResourceConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
roleArn?
Type:
string[]
(optional, default: Do not filter on this field)
RoleArn property.
Specify an array of string values to match this event if the actual value of RoleArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
staticHyperParameters?
Type:
Tags
(optional, default: Do not filter on this field)
StaticHyperParameters property.
Specify an array of string values to match this event if the actual value of StaticHyperParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
stoppingCondition?
Type:
Stopping
(optional, default: Do not filter on this field)
StoppingCondition property.
Specify an array of string values to match this event if the actual value of StoppingCondition is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
vpcConfig?
Type:
Vpc
(optional, default: Do not filter on this field)
VpcConfig property.
Specify an array of string values to match this event if the actual value of VpcConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript