class_docstr: Collection type and its configuration.
  
  This initiates a collectiontype object where CollectionType is a subclass of Config.
  
  Attributes:
      collection_type (CollectionTypeEnum): The type of the collection
      collection_config (Dict[str, Any]): The configuration for the collection.
class_docstr_tok: ["Collection","type","and","its","configuration",".","This","initiates","a","collectiontype","object","where","CollectionType","is","a","subclass","of","Config",".","Attributes",":","collection_type","(","CollectionTypeEnum",")",":","The","type","of","the","collection","collection_config","(","Dict","[","str",",","Any","]",")",":","The","configuration","for","the","collection","."]
docstr: Construct a dictionary based on each attribute.
docstr_tok: ["Construct","a","dictionary","based","on","each","attribute","."]
code: def to_dict(self) -> Dict[str, Any]:
      """Construct a dictionary based on each attribute."""
      return Config.construct_dict(
          CollectionType=self.collection_type.value,
          CollectionConfig=self.collection_config,
      )
  
imports: from __future__ import absolute_import
  from enum import Enum
  from typing import Dict, Any
  import attr
  from sagemaker.feature_store.inputs import Config
label_desc: Use image node_id 1 for calling the CollectionType obj's underlying member method code with example usage: obj.to_dict() and returns: Config