CustomModelArgs constructor
- required Input<
String> baseModelIdentifier, - Input<
String?> ? customModelKmsKeyId, - required Input<
String> customModelName, - Input<
String?> ? customizationType, - required Input<
Map< hyperparameters,String, String> > - required Input<
String> jobName, - required Input<
CustomModelOutputDataConfig> outputDataConfig, - Input<
String?> ? region, - required Input<
String> roleArn, - Input<
Map< ? tags,String, String> ?> - Input<
CustomModelTimeouts?> ? timeouts, - required Input<
CustomModelTrainingDataConfig> trainingDataConfig, - Input<
CustomModelValidationDataConfig?> ? validationDataConfig, - Input<
CustomModelVpcConfig?> ? vpcConfig,
Creates a new CustomModelArgs.
baseModelIdentifier ARN of the base model.
customModelKmsKeyId The custom model is encrypted at rest using this key. Specify the key ARN.
customModelName Name for the custom model.
customizationType The customization type. Valid values: FINE_TUNING, CONTINUED_PRE_TRAINING.
hyperparameters Parameters related to tuning the model.
jobName A name for the customization job.
outputDataConfig S3 location for the output data.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
roleArn ARN of an IAM role that Bedrock can assume to perform tasks on your behalf.
tags A map of tags to assign to the customization job and custom model. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts Optional.
trainingDataConfig Information about the training dataset.
validationDataConfig Information about the validation dataset.
vpcConfig Configuration parameters for the private VPC that contains the resources you are using for this job.
Implementation
const CustomModelArgs({
required this.baseModelIdentifier,
this.customModelKmsKeyId,
required this.customModelName,
this.customizationType,
required this.hyperparameters,
required this.jobName,
required this.outputDataConfig,
this.region,
required this.roleArn,
this.tags,
this.timeouts,
required this.trainingDataConfig,
this.validationDataConfig,
this.vpcConfig,
});