code: def _generate_autoscaling_metadata(self, cls, args):
          
          assert isinstance(args, Mapping)
          init_config = self._create_instance(
              cloudformation.InitConfig,
              args['AWS::CloudFormation::Init']['config'])
          init = self._create_instance(
              cloudformation.Init, {'config': init_config})
          auth = None
          if 'AWS::CloudFormation::Authentication' in args:
              auth_blocks = {}
              for k in args['AWS::CloudFormation::Authentication']:
                  auth_blocks[k] = self._create_instance(
                      cloudformation.AuthenticationBlock,
                      args['AWS::CloudFormation::Authentication'][k],
                      k)
              auth = self._create_instance(
                  cloudformation.Authentication, auth_blocks)
  
          return cls(init, auth)
docs: Provides special handling for the autoscaling.Metadata object