aws_bedrock_custom_model

account_id

Type: STRING

base_model_arn

Type: STRING
Provider name: baseModelArn
Description: Amazon Resource Name (ARN) of the base model.

creation_time

Type: TIMESTAMP
Provider name: creationTime
Description: Creation time of the model.

customization_config

Type: STRUCT
Provider name: customizationConfig
Description: The customization configuration for the custom model.

  • distillation_config
    Type: STRUCT
    Provider name: distillationConfig
    Description: The distillation configuration for the custom model.
    • teacher_model_config
      Type: STRUCT
      Provider name: teacherModelConfig
      Description: The teacher model configuration.
      • max_response_length_for_inference
        Type: INT32
        Provider name: maxResponseLengthForInference
        Description: The maximum number of tokens requested when the customization job invokes the teacher model.
      • teacher_model_identifier
        Type: STRING
        Provider name: teacherModelIdentifier
        Description: The identifier of the teacher model.

customization_type

Type: STRING
Provider name: customizationType
Description: The type of model customization.

hyper_parameters

Type: MAP_STRING_STRING
Provider name: hyperParameters
Description: Hyperparameter values associated with this model. For details on the format for different models, see Custom model hyperparameters.

job_arn

Type: STRING
Provider name: jobArn
Description: Job Amazon Resource Name (ARN) associated with this model.

job_name

Type: STRING
Provider name: jobName
Description: Job name associated with this model.

model_arn

Type: STRING
Provider name: modelArn
Description: Amazon Resource Name (ARN) associated with this model.

model_kms_key_arn

Type: STRING
Provider name: modelKmsKeyArn
Description: The custom model is encrypted at rest using this key.

model_name

Type: STRING
Provider name: modelName
Description: Model name associated with this model.

output_data_config

Type: STRUCT
Provider name: outputDataConfig
Description: Output data configuration associated with this custom model.

  • s3_uri
    Type: STRING
    Provider name: s3Uri
    Description: The S3 URI where the output data is stored.

tags

Type: UNORDERED_LIST_STRING

training_data_config

Type: STRUCT
Provider name: trainingDataConfig
Description: Contains information about the training dataset.

  • invocation_logs_config
    Type: STRUCT
    Provider name: invocationLogsConfig
    Description: Settings for using invocation logs to customize a model.
    • invocation_log_source
      Type: STRUCT
      Provider name: invocationLogSource
      Description: The source of the invocation logs.
      • s3_uri
        Type: STRING
        Provider name: s3Uri
        Description: The URI of an invocation log in a bucket.
    • request_metadata_filters
      Type: STRUCT
      Provider name: requestMetadataFilters
      Description: Rules for filtering invocation logs based on request metadata.
      • and_all
        Type: UNORDERED_LIST_STRUCT
        Provider name: andAll
        Description: Include results where all of the based filters match.
        • equals
          Type: MAP_STRING_STRING
          Provider name: equals
          Description: Include results where the key equals the value.
        • not_equals
          Type: MAP_STRING_STRING
          Provider name: notEquals
          Description: Include results where the key does not equal the value.
      • equals
        Type: MAP_STRING_STRING
        Provider name: equals
        Description: Include results where the key equals the value.
      • not_equals
        Type: MAP_STRING_STRING
        Provider name: notEquals
        Description: Include results where the key does not equal the value.
      • or_all
        Type: UNORDERED_LIST_STRUCT
        Provider name: orAll
        Description: Include results where any of the base filters match.
        • equals
          Type: MAP_STRING_STRING
          Provider name: equals
          Description: Include results where the key equals the value.
        • not_equals
          Type: MAP_STRING_STRING
          Provider name: notEquals
          Description: Include results where the key does not equal the value.
    • use_prompt_response
      Type: BOOLEAN
      Provider name: usePromptResponse
      Description: Whether to use the model’s response for training, or just the prompt. The default value is False.
  • s3_uri
    Type: STRING
    Provider name: s3Uri
    Description: The S3 URI where the training data is stored.

training_metrics

Type: STRUCT
Provider name: trainingMetrics
Description: Contains training metrics from the job creation.

  • training_loss
    Type: FLOAT
    Provider name: trainingLoss
    Description: Loss metric associated with the custom job.

validation_data_config

Type: STRUCT
Provider name: validationDataConfig
Description: Contains information about the validation dataset.

  • validators
    Type: UNORDERED_LIST_STRUCT
    Provider name: validators
    Description: Information about the validators.
    • s3_uri
      Type: STRING
      Provider name: s3Uri
      Description: The S3 URI where the validation data is stored.

validation_metrics

Type: UNORDERED_LIST_STRUCT
Provider name: validationMetrics
Description: The validation metrics from the job creation.

  • validation_loss
    Type: FLOAT
    Provider name: validationLoss
    Description: The validation loss associated with this validator.