Interface SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Jsii$Proxy
- Enclosing class:
SageMakerHyperParameterTuningJobStateChange
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.sagemaker.events.*;
TrainingJobDefinition trainingJobDefinition = TrainingJobDefinition.builder()
.algorithmSpecification(AlgorithmSpecification.builder()
.metricDefinitions(List.of(AlgorithmSpecificationItem.builder()
.name(List.of("name"))
.regex(List.of("regex"))
.build()))
.trainingImage(List.of("trainingImage"))
.trainingInputMode(List.of("trainingInputMode"))
.build())
.inputDataConfig(List.of(TrainingJobDefinitionItem.builder()
.channelName(List.of("channelName"))
.compressionType(List.of("compressionType"))
.contentType(List.of("contentType"))
.dataSource(DataSource.builder()
.s3DataSource(S3DataSource.builder()
.s3DataDistributionType(List.of("s3DataDistributionType"))
.s3DataType(List.of("s3DataType"))
.s3Uri(List.of("s3Uri"))
.build())
.build())
.recordWrapperType(List.of("recordWrapperType"))
.build()))
.outputDataConfig(OutputDataConfig.builder()
.kmsKeyId(List.of("kmsKeyId"))
.s3OutputPath(List.of("s3OutputPath"))
.build())
.resourceConfig(ResourceConfig.builder()
.instanceCount(List.of("instanceCount"))
.instanceType(List.of("instanceType"))
.volumeKmsKeyId(List.of("volumeKmsKeyId"))
.volumeSizeInGb(List.of("volumeSizeInGb"))
.build())
.roleArn(List.of("roleArn"))
.staticHyperParameters(Tags.builder()
.key(List.of("key"))
.value(List.of("value"))
.build())
.stoppingCondition(StoppingCondition.builder()
.maxRuntimeInSeconds(List.of("maxRuntimeInSeconds"))
.build())
.vpcConfig(VpcConfig.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forSageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) AlgorithmSpecification property.(experimental) InputDataConfig property.(experimental) OutputDataConfig property.(experimental) ResourceConfig property.(experimental) RoleArn property.(experimental) StaticHyperParameters property.(experimental) StoppingCondition property.(experimental) VpcConfig property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlgorithmSpecification
@Stability(Experimental) @Nullable default SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification getAlgorithmSpecification()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getInputDataConfig
@Stability(Experimental) @Nullable default List<SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinitionItem> getInputDataConfig()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getOutputDataConfig
@Stability(Experimental) @Nullable default SageMakerHyperParameterTuningJobStateChange.OutputDataConfig getOutputDataConfig()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getResourceConfig
@Stability(Experimental) @Nullable default SageMakerHyperParameterTuningJobStateChange.ResourceConfig getResourceConfig()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getRoleArn
(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getStaticHyperParameters
@Stability(Experimental) @Nullable default SageMakerHyperParameterTuningJobStateChange.Tags getStaticHyperParameters()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getStoppingCondition
@Stability(Experimental) @Nullable default SageMakerHyperParameterTuningJobStateChange.StoppingCondition getStoppingCondition()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getVpcConfig
@Stability(Experimental) @Nullable default SageMakerHyperParameterTuningJobStateChange.VpcConfig getVpcConfig()(experimental) 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder builder()
-