Skip to content
v2.274.0

TrainedModelsConfigurationPolicyProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanroomsml as cleanroomsml } from 'aws-cdk-lib';
const trainedModelsConfigurationPolicyProperty: cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelsConfigurationPolicyProperty = {
  containerLogs: [{
    allowedAccountIds: ['allowedAccountIds'],

    // the properties below are optional
    filterPattern: 'filterPattern',
    logRedactionConfiguration: {
      entitiesToRedact: ['entitiesToRedact'],

      // the properties below are optional
      customEntityConfig: {
        customDataIdentifiers: ['customDataIdentifiers'],
      },
    },
    logType: 'logType',
  }],
  containerMetrics: {
    noiseLevel: 'noiseLevel',
  },
  maxArtifactSize: {
    unit: 'unit',
    value: 123,
  },
};

Properties ​

containerLogsIResolvable | IResolvable | CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty[]container_logstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, LogsConfigurationPolicyProperty]]]containerLogsIResolvableContainerLogsIResolvableContainerLogsinterface{}#
containerMetricsIResolvable | CfnConfiguredModelAlgorithmAssociation.MetricsConfigurationPolicyPropertycontainer_metricstyping.Union[IResolvable, MetricsConfigurationPolicyProperty]containerMetricsIResolvableContainerMetricsIResolvableContainerMetricsinterface{}#
maxArtifactSizeIResolvable | CfnConfiguredModelAlgorithmAssociation.TrainedModelArtifactMaxSizePropertymax_artifact_sizetyping.Union[IResolvable, TrainedModelArtifactMaxSizeProperty]maxArtifactSizeIResolvableMaxArtifactSizeIResolvableMaxArtifactSizeinterface{}#