Skip to content
v2.275.0

PrivacyConfigurationProperty 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 privacyConfigurationProperty: cleanroomsml.CfnConfiguredModelAlgorithmAssociation.PrivacyConfigurationProperty = {
  policies: {
    trainedModelExports: {
      filesToExport: ['filesToExport'],
      maxSize: {
        unit: 'unit',
        value: 123,
      },
    },
    trainedModelInferenceJobs: {
      containerLogs: [{
        allowedAccountIds: ['allowedAccountIds'],

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

          // the properties below are optional
          customEntityConfig: {
            customDataIdentifiers: ['customDataIdentifiers'],
          },
        },
        logType: 'logType',
      }],
      maxOutputSize: {
        unit: 'unit',
        value: 123,
      },
    },
    trainedModels: {
      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 ​