Skip to content
v2.277.0

CfnConfiguredModelAlgorithmAssociationProps Struct ​

Properties for defining a CfnConfiguredModelAlgorithmAssociation.

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 cfnConfiguredModelAlgorithmAssociationProps: cleanroomsml.CfnConfiguredModelAlgorithmAssociationProps = {
  configuredModelAlgorithmArn: 'configuredModelAlgorithmArn',
  membershipIdentifier: 'membershipIdentifier',
  name: 'name',

  // the properties below are optional
  description: 'description',
  privacyConfiguration: {
    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,
        },
      },
    },
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cleanroomsml as cleanroomsml

cfn_configured_model_algorithm_association_props = cleanroomsml.CfnConfiguredModelAlgorithmAssociationProps(
    configured_model_algorithm_arn="configuredModelAlgorithmArn",
    membership_identifier="membershipIdentifier",
    name="name",

    # the properties below are optional
    description="description",
    privacy_configuration=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.PrivacyConfigurationProperty(
        policies=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.PrivacyConfigurationPoliciesProperty(
            trained_model_exports=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelExportsConfigurationPolicyProperty(
                files_to_export=["filesToExport"],
                max_size=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelExportsMaxSizeProperty(
                    unit="unit",
                    value=123
                )
            ),
            trained_model_inference_jobs=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceJobsConfigurationPolicyProperty(
                container_logs=[cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty(
                    allowed_account_ids=["allowedAccountIds"],

                    # the properties below are optional
                    filter_pattern="filterPattern",
                    log_redaction_configuration=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogRedactionConfigurationProperty(
                        entities_to_redact=["entitiesToRedact"],

                        # the properties below are optional
                        custom_entity_config=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.CustomEntityConfigProperty(
                            custom_data_identifiers=["customDataIdentifiers"]
                        )
                    ),
                    log_type="logType"
                )],
                max_output_size=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty(
                    unit="unit",
                    value=123
                )
            ),
            trained_models=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelsConfigurationPolicyProperty(
                container_logs=[cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogsConfigurationPolicyProperty(
                    allowed_account_ids=["allowedAccountIds"],

                    # the properties below are optional
                    filter_pattern="filterPattern",
                    log_redaction_configuration=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogRedactionConfigurationProperty(
                        entities_to_redact=["entitiesToRedact"],

                        # the properties below are optional
                        custom_entity_config=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.CustomEntityConfigProperty(
                            custom_data_identifiers=["customDataIdentifiers"]
                        )
                    ),
                    log_type="logType"
                )],
                container_metrics=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.MetricsConfigurationPolicyProperty(
                    noise_level="noiseLevel"
                ),
                max_artifact_size=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelArtifactMaxSizeProperty(
                    unit="unit",
                    value=123
                )
            )
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cleanroomsml.*;

CfnConfiguredModelAlgorithmAssociationProps cfnConfiguredModelAlgorithmAssociationProps = CfnConfiguredModelAlgorithmAssociationProps.builder()
        .configuredModelAlgorithmArn("configuredModelAlgorithmArn")
        .membershipIdentifier("membershipIdentifier")
        .name("name")

        // the properties below are optional
        .description("description")
        .privacyConfiguration(PrivacyConfigurationProperty.builder()
                .policies(PrivacyConfigurationPoliciesProperty.builder()
                        .trainedModelExports(TrainedModelExportsConfigurationPolicyProperty.builder()
                                .filesToExport(List.of("filesToExport"))
                                .maxSize(TrainedModelExportsMaxSizeProperty.builder()
                                        .unit("unit")
                                        .value(123)
                                        .build())
                                .build())
                        .trainedModelInferenceJobs(TrainedModelInferenceJobsConfigurationPolicyProperty.builder()
                                .containerLogs(List.of(LogsConfigurationPolicyProperty.builder()
                                        .allowedAccountIds(List.of("allowedAccountIds"))

                                        // the properties below are optional
                                        .filterPattern("filterPattern")
                                        .logRedactionConfiguration(LogRedactionConfigurationProperty.builder()
                                                .entitiesToRedact(List.of("entitiesToRedact"))

                                                // the properties below are optional
                                                .customEntityConfig(CustomEntityConfigProperty.builder()
                                                        .customDataIdentifiers(List.of("customDataIdentifiers"))
                                                        .build())
                                                .build())
                                        .logType("logType")
                                        .build()))
                                .maxOutputSize(TrainedModelInferenceMaxOutputSizeProperty.builder()
                                        .unit("unit")
                                        .value(123)
                                        .build())
                                .build())
                        .trainedModels(TrainedModelsConfigurationPolicyProperty.builder()
                                .containerLogs(List.of(LogsConfigurationPolicyProperty.builder()
                                        .allowedAccountIds(List.of("allowedAccountIds"))

                                        // the properties below are optional
                                        .filterPattern("filterPattern")
                                        .logRedactionConfiguration(LogRedactionConfigurationProperty.builder()
                                                .entitiesToRedact(List.of("entitiesToRedact"))

                                                // the properties below are optional
                                                .customEntityConfig(CustomEntityConfigProperty.builder()
                                                        .customDataIdentifiers(List.of("customDataIdentifiers"))
                                                        .build())
                                                .build())
                                        .logType("logType")
                                        .build()))
                                .containerMetrics(MetricsConfigurationPolicyProperty.builder()
                                        .noiseLevel("noiseLevel")
                                        .build())
                                .maxArtifactSize(TrainedModelArtifactMaxSizeProperty.builder()
                                        .unit("unit")
                                        .value(123)
                                        .build())
                                .build())
                        .build())
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CleanRoomsML;

var cfnConfiguredModelAlgorithmAssociationProps = new CfnConfiguredModelAlgorithmAssociationProps {
    ConfiguredModelAlgorithmArn = "configuredModelAlgorithmArn",
    MembershipIdentifier = "membershipIdentifier",
    Name = "name",

    // the properties below are optional
    Description = "description",
    PrivacyConfiguration = new PrivacyConfigurationProperty {
        Policies = new PrivacyConfigurationPoliciesProperty {
            TrainedModelExports = new TrainedModelExportsConfigurationPolicyProperty {
                FilesToExport = new [] { "filesToExport" },
                MaxSize = new TrainedModelExportsMaxSizeProperty {
                    Unit = "unit",
                    Value = 123
                }
            },
            TrainedModelInferenceJobs = new TrainedModelInferenceJobsConfigurationPolicyProperty {
                ContainerLogs = new [] { new LogsConfigurationPolicyProperty {
                    AllowedAccountIds = new [] { "allowedAccountIds" },

                    // the properties below are optional
                    FilterPattern = "filterPattern",
                    LogRedactionConfiguration = new LogRedactionConfigurationProperty {
                        EntitiesToRedact = new [] { "entitiesToRedact" },

                        // the properties below are optional
                        CustomEntityConfig = new CustomEntityConfigProperty {
                            CustomDataIdentifiers = new [] { "customDataIdentifiers" }
                        }
                    },
                    LogType = "logType"
                } },
                MaxOutputSize = new TrainedModelInferenceMaxOutputSizeProperty {
                    Unit = "unit",
                    Value = 123
                }
            },
            TrainedModels = new TrainedModelsConfigurationPolicyProperty {
                ContainerLogs = new [] { new LogsConfigurationPolicyProperty {
                    AllowedAccountIds = new [] { "allowedAccountIds" },

                    // the properties below are optional
                    FilterPattern = "filterPattern",
                    LogRedactionConfiguration = new LogRedactionConfigurationProperty {
                        EntitiesToRedact = new [] { "entitiesToRedact" },

                        // the properties below are optional
                        CustomEntityConfig = new CustomEntityConfigProperty {
                            CustomDataIdentifiers = new [] { "customDataIdentifiers" }
                        }
                    },
                    LogType = "logType"
                } },
                ContainerMetrics = new MetricsConfigurationPolicyProperty {
                    NoiseLevel = "noiseLevel"
                },
                MaxArtifactSize = new TrainedModelArtifactMaxSizeProperty {
                    Unit = "unit",
                    Value = 123
                }
            }
        }
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnConfiguredModelAlgorithmAssociationProps := &CfnConfiguredModelAlgorithmAssociationProps{
	ConfiguredModelAlgorithmArn: jsii.String("configuredModelAlgorithmArn"),
	MembershipIdentifier: jsii.String("membershipIdentifier"),
	Name: jsii.String("name"),

	// the properties below are optional
	Description: jsii.String("description"),
	PrivacyConfiguration: &PrivacyConfigurationProperty{
		Policies: &PrivacyConfigurationPoliciesProperty{
			TrainedModelExports: &TrainedModelExportsConfigurationPolicyProperty{
				FilesToExport: []*string{
					jsii.String("filesToExport"),
				},
				MaxSize: &TrainedModelExportsMaxSizeProperty{
					Unit: jsii.String("unit"),
					Value: jsii.Number(123),
				},
			},
			TrainedModelInferenceJobs: &TrainedModelInferenceJobsConfigurationPolicyProperty{
				ContainerLogs: []interface{}{
					&LogsConfigurationPolicyProperty{
						AllowedAccountIds: []*string{
							jsii.String("allowedAccountIds"),
						},

						// the properties below are optional
						FilterPattern: jsii.String("filterPattern"),
						LogRedactionConfiguration: &LogRedactionConfigurationProperty{
							EntitiesToRedact: []*string{
								jsii.String("entitiesToRedact"),
							},

							// the properties below are optional
							CustomEntityConfig: &CustomEntityConfigProperty{
								CustomDataIdentifiers: []*string{
									jsii.String("customDataIdentifiers"),
								},
							},
						},
						LogType: jsii.String("logType"),
					},
				},
				MaxOutputSize: &TrainedModelInferenceMaxOutputSizeProperty{
					Unit: jsii.String("unit"),
					Value: jsii.Number(123),
				},
			},
			TrainedModels: &TrainedModelsConfigurationPolicyProperty{
				ContainerLogs: []interface{}{
					&LogsConfigurationPolicyProperty{
						AllowedAccountIds: []*string{
							jsii.String("allowedAccountIds"),
						},

						// the properties below are optional
						FilterPattern: jsii.String("filterPattern"),
						LogRedactionConfiguration: &LogRedactionConfigurationProperty{
							EntitiesToRedact: []*string{
								jsii.String("entitiesToRedact"),
							},

							// the properties below are optional
							CustomEntityConfig: &CustomEntityConfigProperty{
								CustomDataIdentifiers: []*string{
									jsii.String("customDataIdentifiers"),
								},
							},
						},
						LogType: jsii.String("logType"),
					},
				},
				ContainerMetrics: &MetricsConfigurationPolicyProperty{
					NoiseLevel: jsii.String("noiseLevel"),
				},
				MaxArtifactSize: &TrainedModelArtifactMaxSizeProperty{
					Unit: jsii.String("unit"),
					Value: jsii.Number(123),
				},
			},
		},
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

configuredModelAlgorithmArnstringconfigured_model_algorithm_arnstrconfiguredModelAlgorithmArnStringConfiguredModelAlgorithmArnstringConfiguredModelAlgorithmArn*string required #
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
membershipIdentifierstringmembership_identifierstrmembershipIdentifierStringMembershipIdentifierstringMembershipIdentifier*string required #
namestringnamestrnameStringNamestringName*string required #
privacyConfigurationoptionalIResolvable | CfnConfiguredModelAlgorithmAssociation.PrivacyConfigurationPropertyprivacy_configurationoptionaltyping.Union[IResolvable, PrivacyConfigurationProperty]privacyConfigurationoptionalIResolvablePrivacyConfigurationoptionalIResolvablePrivacyConfigurationoptionalinterface{} #
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
An arbitrary set of tags (key-value pairs) for this cleanrooms-ml configured model algorithm association.