Class CfnConfiguredModelAlgorithmAssociation

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.cleanroomsml.CfnConfiguredModelAlgorithmAssociation
All Implemented Interfaces:
IInspectable, IConfiguredModelAlgorithmAssociationRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-27T13:11:55.544Z") @Stability(Stable) public class CfnConfiguredModelAlgorithmAssociation extends CfnResource implements IInspectable, IConfiguredModelAlgorithmAssociationRef, ITaggableV2
Definition of AWS::CleanRoomsML::ConfiguredModelAlgorithmAssociation Resource Type.

Example:

 // 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.*;
 CfnConfiguredModelAlgorithmAssociation cfnConfiguredModelAlgorithmAssociation = CfnConfiguredModelAlgorithmAssociation.Builder.create(this, "MyCfnConfiguredModelAlgorithmAssociation")
         .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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnConfiguredModelAlgorithmAssociation

      protected CfnConfiguredModelAlgorithmAssociation(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnConfiguredModelAlgorithmAssociation

      protected CfnConfiguredModelAlgorithmAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnConfiguredModelAlgorithmAssociation

      @Stability(Stable) public CfnConfiguredModelAlgorithmAssociation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnConfiguredModelAlgorithmAssociationProps props)
      Create a new AWS::CleanRoomsML::ConfiguredModelAlgorithmAssociation.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForConfiguredModelAlgorithmAssociation

      @Stability(Stable) @NotNull public static String arnForConfiguredModelAlgorithmAssociation(@NotNull IConfiguredModelAlgorithmAssociationRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnConfiguredModelAlgorithmAssociation

      @Stability(Stable) @NotNull public static Boolean isCfnConfiguredModelAlgorithmAssociation(@NotNull Object x)
      Checks whether the given object is a CfnConfiguredModelAlgorithmAssociation.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCollaborationIdentifier

      @Stability(Stable) @NotNull public String getAttrCollaborationIdentifier()
    • getAttrConfiguredModelAlgorithmAssociationArn

      @Stability(Stable) @NotNull public String getAttrConfiguredModelAlgorithmAssociationArn()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getConfiguredModelAlgorithmAssociationRef

      @Stability(Stable) @NotNull public ConfiguredModelAlgorithmAssociationReference getConfiguredModelAlgorithmAssociationRef()
      A reference to a ConfiguredModelAlgorithmAssociation resource.
      Specified by:
      getConfiguredModelAlgorithmAssociationRef in interface IConfiguredModelAlgorithmAssociationRef
    • getConfiguredModelAlgorithmArn

      @Stability(Stable) @NotNull public String getConfiguredModelAlgorithmArn()
    • setConfiguredModelAlgorithmArn

      @Stability(Stable) public void setConfiguredModelAlgorithmArn(@NotNull String value)
    • getMembershipIdentifier

      @Stability(Stable) @NotNull public String getMembershipIdentifier()
    • setMembershipIdentifier

      @Stability(Stable) public void setMembershipIdentifier(@NotNull String value)
    • getName

      @Stability(Stable) @NotNull public String getName()
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
    • getPrivacyConfiguration

      @Stability(Stable) @Nullable public Object getPrivacyConfiguration()
    • setPrivacyConfiguration

      @Stability(Stable) public void setPrivacyConfiguration(@Nullable IResolvable value)
    • setPrivacyConfiguration

      @Stability(Stable) public void setPrivacyConfiguration(@Nullable CfnConfiguredModelAlgorithmAssociation.PrivacyConfigurationProperty value)
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An arbitrary set of tags (key-value pairs) for this cleanrooms-ml configured model algorithm association.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An arbitrary set of tags (key-value pairs) for this cleanrooms-ml configured model algorithm association.